Ikke's Blog

Post details: Wikipedia Article of the day

Jun 16
Wikipedia Article of the day


Today I implemented an idea I had been playing with for some time already: make a daily RSS feed of Wikipedia articles.
Why? If you add this feed to your aggregator, you'll be served a random article every day (or maybe twice a day, still have to decide at which frequency the cronjob should run) to expand your global knowledge, not only regarding tech-stuff ;-)

The blog page is here, you can find links to the RSS/Atom/... feed on the right.

Things could be somewhat buggy for now (there are lots of articles with lots of markups, some of them forbidden by b2evo, so I have to filter them out) but as more articles are aggregated, I'll be able to squash them :-)

I hope you like (and use) the service ;-) Spread the word!


Comment from: RealNitro [Member] Email · http://www.realnitro.be
How long do the articles stay in the mysql database? And is there some code to keep the random selector from posting the same article more then once?
PermalinkPermalink 06/17/05 @ 11:08
Comment from: Ikke [Member] · http://www.eikke.com
They stay in there forever, just like any blog item posted here.
About avoiding dupes: if a priviously-published article is fetched, the query used to add it to the database will fail. There's no code to detect this failure (yet), so if a dupe is fetched, that day there'll be no article published.
PermalinkPermalink 06/17/05 @ 12:26
Comment from: jesse blanton [Visitor] · http://daisylady.bravejournal.com/entry/14579/
a very friendly site. have a nice day! about a year ago i started: http://www.hookt-up.com/wordpress/?p=567 , small ship set out
PermalinkPermalink 10/07/05 @ 18:59

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))


Who's Online?

  • Guest Users: 466


XML Feeds

What is RSS?