Last modified: 2011-03-13 18:05:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8490 - Sending application/rss+xml as mime type, using syntax ctype=application/rss+xml
Sending application/rss+xml as mime type, using syntax ctype=application/rss+xml
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-01-04 19:19 UTC by Bawolff (Brian Wolff)
Modified: 2011-03-13 18:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Bawolff (Brian Wolff) 2007-01-04 19:19:58 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
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)

$allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css',
$allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css',
'application/x-zope-edit', 'application/rss+xml');

Comment 1 Rob Church 2007-01-04 19:21:03 UTC
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.
Comment 2 Bawolff (Brian Wolff) 2007-01-04 19:41:32 UTC
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):
 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.
Comment 3 Brion Vibber 2007-01-05 01:00:43 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.