09.28.05
RSS Feeds from MediaWiki
As I posted previously, I’ve setup a wiki page for the Daily Source Code shownotes. So far it seems to be working out quite well, however a lot of people are responding that they want the shownotes in the RSS feed. Understandable.
I have been looking into the details of how to do this, and it turns out to be a bit more involved than I had hoped. There is some limited RSS support in MediaWiki for syndicating things like recent changes. I think this functionality could be extended to offer a category-specific RSS feed and probably we could even hack it to include enclosures. Unfortunately that won’t solve the problem.
The great downside of wikis is the same as the great upside. Anyone can edit them. I don’t think it’s practical on the wild and wooly Internet for a podcaster to allow anyone to edit their RSS feed on a whim. No good can come of that.
It’s OK, though. I have another plan. I am working on some utilities to grab the shownotes out of the wiki and parse them and generate the RSS feed independent of MediaWiki. Down the line I suspect other podcasters besides Mr. Curry may want to have this wiki shownotes functionality, so I’m trying to keep an architecture that will be scalable and broadly useful.
One of the roadblocks I’m running into is that it’s hard to find a parser for MediaWiki wikitext. This really surprised me. I figured it would be quite simple to find a little perl script that would parse the wikitext and output HTML. But it’s not. I could write one myself (and I may), but writing a parser is a somewhat involved undertaking.
Of course there is obviously a parser in MediaWiki itself, so it may turn out that I’ll just repurpose that code but again it’s not quite as simple as copy and paste. Still I think that would retain the maximum amount of compatibility, since that way the HTML will render exactly as it does on the wiki page. If anyone has any thoughts or knows of any standalone wikitext paser apps I’m all ears!
Add New Comment
Viewing 3 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)