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.
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
RSS/Atom output and HTML tag support | 11 | 12:48, 13 August 2013 |
Feed format with RSS type does not display images | 3 | 13:53, 21 March 2013 |
RSS feed is not working on Internet Explorer | 3 | 13:39, 21 March 2013 |
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?
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.
[1] https://tools.ietf.org/html/rfc4287#section-1.1
[2] http://cyber.law.harvard.edu/rss/encodingDescriptions.html
[3] http://www.mediawiki.org/w/index.php?title=Special:RecentChanges&feed=rss
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 semantic-mediawiki.org }} · {{#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 semantic-mediawiki.org }}
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.
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.
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 < and is thus not rendered by the browser / feed reader.
I already changed language settings / SMW versions. Any help?? Kaboomki (talk)
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
Pan
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.
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
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.
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
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.
Hello MWJames,
First of all thanks for replying to my post. I have now uploaded a 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