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
Correct feed-folder list, solve datetime keyerror and update beautifulsoup #8
Conversation
jbofill
commented
Nov 21, 2013
- Correct feed-folder.html so it lists feed item's summary, not the body.
- Solve datetime KeyError: u'+0000. due to GMT not especified (see second error in issue Index gets an invalid date when feedItemUpdated date set to October 31 #7). Test example: http://planet.python.org/rss20.xml always has Thu, 14 Nov 2013 22:57:42 +0000. The error appears when you restart your instance.
- Update to beautifulsoup4 and use python's built-in HTML parser (solved errors I hit when the feed had some escape characters in it, but unable to reproduce).
…xample: http://planet.python.org/rss20.xml <pubDate>Thu, 14 Nov 2013 22:57:42 +0000</pubDate>
"getFeedItemUpdated" : date_range_query, | ||
"sort_on" : "getFeedItemUpdated" | ||
}) | ||
items = list(items) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line seems unneeded. The for b in items
in the next line should work just fine on its own.
Thanks for the pull request. Sorry for being late in picking this up. I will consider merging it. But as you see, I have added some remarks, so please have a look at those. Also, please add something to the changelog and add a few lines about the megaclean feature to the readme. |
Correct feed-folder list, solve datetime keyerror and update beautifulsoup