Last modified: 2011-03-13 18:05:20 UTC
At wikinews, it would be very much to the site's benifit to be able to make RSS feeds. Currently we use feedburner for are RSS feeds, but it would be nice to be able to make it on wikinews as oposed to some external site. In addition the mechanisms for updating the external RSS feeds sometimes don't work very well making them hard to update on occasion. It would be much better if we could get pages to send out the proper mime type when specified by http://en.wikinews.org/w/index.php?title=foo.rss&action=raw&ctype=application/rss+xml . so we can just make RSS feeds on the wiki I believe for this to work all that would need to be done is modify line 29 of includes/RawPage.php (note I have an older version of Mediawiki so this may not be correct) From: $allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit'); To: $allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit', 'application/rss+xml'); -[[n:user:bawolff]]
It would be much more reliable if we were told what kind of RSS feeds were needed, so we could provide those instead of users having to implement hacks.
Well currently we want feeds for audio wikinews content. Someone records something, lists in on [[N:WN:AW]]. then ideally the RSS feed picks it up. As of right now the external feed for Latest news works ok, its the audio one that doesn't. Other things we may eventually want is individual feeds for each country (RSS DPL's), but we're need to grow bigger before that happens. I think the reliability of a solotion using ctype=application/rss+xml would be fairly good, as it could be all done up using templates, and then protected/semi-protected. A cool solution would be to have iside pages things like DPl's but not visible. like this (on page foo): <RSS> item=foo link=image:blah.jpg </RSS> which are invisible. but if you go through a special page, like special:RSS/foo it'd turn it into an RSS feed based on the <RSS> tags in the page. However that'd proablly be a lot of work to implement.
We definitely will not fulfill this request as it would be a security risk (arbitrary HTML included in the RSS feeds -> JavaScript execution -> XSS security holes). But I would very much support a good mechanism for building RSS/Atom feeds from content under user control.