Hi,

I know there's a SMWRSSResultPrinter class in SMW which uses a custom
made xml/rdf output that represents a RSS feed but I didn't really
understand the logic behind those custom made xml tags referencing to
rdf therefore I left the printer untouched and made another commit [1]
for getting results as RSS/Atmo feed using MW's feed class that
handles all exporting conventions.

The new printer works the same way as any RSS/Atom feed in MW because
it uses the same infrastructure (classes/methods).

## Notes
A subsequent patch will solve the header issue but before that one
needs to adopt Special:Ask because headers are sent from the feed
class directly while SMWAskPage tries to output the header again that
creates conflicts.

>> class SMWAskPage line 324
+ } elseif ( $this->m_params['format'] !== 'feed' ) {

[1] https://gerrit.wikimedia.org/r/#/c/17666/

Cheers

mwjames

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to