New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strftime error while importing Atom feed #274
Comments
Does your RSS feed have dates? https://github.com/jekyll/jekyll-import/blob/master/lib/jekyll-import/importers/rss.rb#L40 |
This is a problem about Atom vs RSS. Jekyll itself produces atom.xml, but this cannot parse it. Users can work around it by screwing with the atom file, what kinda worked for me was
I guess it's not hard to fix. But although it produced _posts/ with the content, it was not markupized, just left as html. Being able to recover a Jekyll blog from just the deployed html would be good. This problem the Jekyll importer not being able to eat Jekyll's own atom.xml makes that needlessly painful and mysterious. |
Unfortunately translating HTML to Markdown is not a feature we currently offer. I think however that we should be able to read both regular RSS and Atom feeds. The fact that it appears not to seems like a bug to me! |
Just as a FYI, it seems it is something that people have wanted non-officially and striven to do something about. https://www.npmjs.com/package/jekyll-html-md I'm not sure if I need it or not... what was written will probably almost entirely stay written. But the tags and such did not get reborn (they are not in the html / atom). Anyway I appreciate it could regenerate something useful just from the rendered site. Maybe it's a good general principle though to render ALL the source material into the HTML; when it's directly generated then just the generated will do. But metadata going in a comment wouldn't hurt and would be very useful if you ever found yourself in the situation all you had was the rendered site. |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
I am trying to import my current atom feed but I get an
undefined method
strftime' for nil:NilClass` error.Here is the call with the
--trace
option. It looks similar to #194.The text was updated successfully, but these errors were encountered: