Problem statement: A python script should be created to generate the rss feed of Wikipedia's Featured Articles for several languages.
English rss开发者_如何学C feed exists I need to create similar for other languages. Generation of English rss is pretty easy using the url structure of this type of urls http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_article/August_29%2C_2011
But for the other languages I should scrape the data from Wiki page manually, so how this can be done ? Are there any already existing Wiki Page to RSS feed converters ?
I wouldn't convert the wiki page. I would convert the english rss, take feedparser to get the feed. Convert it with your favorite langauge api then send it back out using twisted to serve the rss feed.
精彩评论