Help talk:Feed format


Talk pages on this wiki should primarily be used to address possible mistakes as well as missing and superseded information in the documentation.
In case you are seeking support concerning individual questions, please have a look at this page. The Semantic MediaWiki user mailing list is always a good idea for seeking help.


Thread titleRepliesLast modified
RSS/Atom output and HTML tag support1113:48, 13 August 2013
Feed format with RSS type does not display images314:53, 21 March 2013
RSS feed is not working on Internet Explorer314:39, 21 March 2013

RSS/Atom output and HTML tag support

It's probably useful that the display of page content is made optional through page=none/full, but this change introduced a major regression I'm afraid. Page content is no longer rendered and what you get instead is a lot of HTML code. Example: RSS feed example (Now the same goes for format=rss)

Maybe we should leave out this option from the documentation until this bug has been fixed?

12:34, 3 February 2013

There is no regression.

This is as it supposed to be because that is what a normal feed program will understand and display. If you are unsure about the HTML tag support in RSS/Atom, please read [1] /[2] also if you look at [3] you can see that the SMW RSS/Atom feed has the same form and output as all other Mediawiki RSS/Atom outputs.




13:08, 3 February 2013

Also if you look in how the ask query is designed on the main page (your cited example) you could see the difference in why the output for RSS and Atom is different because the query is different.

{{#ask:[[News date::+]] [[language code::en]]
| sort=news date
| order=desc
| format=feed
| searchlabel=RSS
| title=Semantic MediaWiki – news
| description=Latest news from
}} · {{#ask:[[News date::+]] [[language code::en]]
| sort=news date
| order=desc
| format=feed
| type=atom
| page=full
| searchlabel=Atom
| title=Semantic MediaWiki – news
| description=Latest news from
13:23, 3 February 2013

Actually, I used to use Google Reader for this (not the web browser directly), but apparently, Google does not support raw RSS outputs, at least not by default - it's quite possible that I've overlooked a setting or Google Reader is simply not the right tool for the job.

18:37, 4 February 2013

The same link now gives a perfectly readable page. It must be something in my browser settings (like a news reader I'm not aware of) or Google Reader, I guess.

13:39, 1 March 2013

Hi, I encountered the same encoding problem.

On the Feed on SMW site < is displayed correctly meanwhile calling the

Feed on my site the < is changed to &lt; and is thus not rendered by the browser / feed reader.

Source Page my site

Source Page SMW

I already changed language settings / SMW versions. Any help?? Kaboomki (talk)

17:27, 9 August 2013

Feed format with RSS type does not display images

Hello there,

For the last few days I have been trying to find a way to display an image via an ASK query without any success. I’ve noticed that the Feed format parameters do not include a field that would be able to hold an image.

I am trying to populate a feed format with type RSS that will also display images.

Would anybody know a way around this problem please?

Many thanks in advance


09:57, 27 February 2013

Images are not parsed (by design) to be explicitly linked as resources and only displayed as potential wiki links. Of course if you need an image display, you are free to copy the resource file create your own result printer and parse images as needed.

17:22, 28 February 2013

Hello MWJames,

Would this mean that I would have to create different version of the "SMWResultPrinter" class which I found in the file called "SMW_ResultPrinter.php"?

Many thanks again

16:53, 20 March 2013

SMWResultPrinter (SMW\ResultPrinter in SMW 1.9) is an abstract class which can't be used directly as a template. If at all you should have a look at SMW\FeedResultPrinter (class in SMW 1.9), it is a final class which means you can't use inheritance, you just have to copy the class and change what ever it is you are looking for.

14:53, 21 March 2013

RSS feed is not working on Internet Explorer

Hello there,

I’ve just noticed that the feed format is not working on Internet Explorer, even the “RSS feed example“ of this page is not working. It works fine on Mozilla Firefox, which I have been using for testing so far, but not on Explorer.

Would anyone please be able to help me?

Many thanks

12:24, 28 February 2013

This seems ought because I just checked with IE 7/9 and there seems to be no problem for the listed examples. Further the output is generated in a similar fashion (using the same methods) as Changes which also does not suggest that the display is browser dependent.

17:15, 28 February 2013

Hello MWJames,

First of all thanks for replying to my post. I have now uploaded a screen shot of a IE8 browser that is displaying the Changes link that you have mentioned on your above reply.

This is how all of the feed format pages from the ASK query with type RSS look like on all of the IE8 browsers. On Firefox everything seem to be displayed fine however with no problems.

Any ideas on this one?

Many thanks

10:55, 21 March 2013

Well, I don't know (I'm not a IE user and I'm not planning to be one) but as long as the W3C validates[1] the RSS feed output as "well-formed XML", it also declares that the output abides the official W3C standard.

[1] feed validation

14:39, 21 March 2013