About the feed generator

The wikipedia today's featured article/picture feed generator does exactly that. Generate a rss/atom feed for the featured article and featured picture.

You can access the feed in the following way:

The code is now available on google code - wp-tfap project on google code.

How it works

The feed generator works by screen scraping the wikipedia main page. It is developed in python using the google app engine and hosted by google's appstore at appspot.com. It uses django templates to generate the feeds. To avoid downloading the main page every time a request is made, the main page is downloaded once per day and stored in the memcache. This results in two requests per day - one for the featured article and one for the featured picture.

Initially I wanted to use a cron like functionality to fetch the main page at midnight UTC, generate and store the xml files for feeds to serve them statically for the rest of the day. But google app engine doesn't seem to such a functionality. Hence the check to see if the feed is more than a day old.

Known issues

Contact

Developer: Balachandra Krishnamurthy (Bala)

Email: bkbsub@d.com (d = gmail).

Changes

Comments

blog comments powered by Disqus