http://www.elkarte.net/community/index.php?action=.xml;type=rss2;limit=5
what is broken? I can access it just fine, the formatting is good too.
The only thing I can't see is the logo, that was using the directory and not the url. Fixed (the atom version too).
The other thing could have been the fact only 5 items are shown even increasing the limit parameter, but that is likely due to the fact it is limited on the admin panel.
Is there anything else broken?
It was the logo I think, I saw some links like /var/www/... but seems OK now
Sorry for not giving more info first, I was in a rush
maybe stupid question, but..
In ElkArte 1.0 RSS feed looks like this:
(http://i.imgur.com/MQD6erf.png)
In 1.1 it should be like this:
(http://i.imgur.com/VIbgZwr.png)
?
And there is small issue with urls - for me any url from feed shows only homepage (here on elkarte.net).
@phantom What's the question exactly? :P
I showed on images: old 1.0 formatting, and 1.1 has nothing - no title, description and other tags.
Second part about not working url is clear I hope.
But it does? Are you referring to how a particular browser happens to render the XML if you just view it?
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en-US">
<channel>
<title>ElkArte Community</title>
<link>http://www.elkarte.net/community/index.php</link>
<description><![CDATA[Live information from ElkArte Community]]></description>
<generator>ElkArte</generator>
<ttl>30</ttl>
<image>
<url>http://www.elkarte.net/community/themes/default/images/_light/logo_elk.png</url>
<title>ElkArte Community</title>
<link>http://www.elkarte.net/community/index.php</link>
</image>
<item>
<title>Re: Rss broken</title>
<link>http://www.elkarte.net/community/index.php/topic,3582.msg25424.html#msg25424</link>
<description>
<![CDATA[I showed on images: old 1.0 formatting, and 1.1 has nothing - no title, description and other tags.<br />Second part about not working url is clear I hope.]]>
</description>
<category><![CDATA[Bug Reports]]></category>
<comments>http://www.elkarte.net/community/index.php?action=post;topic=3582.0</comments>
<pubDate>Sun, 24 Apr 2016 12:59:36 GMT</pubDate>
<guid>http://www.elkarte.net/community/index.php/topic,3582.msg25424.html#msg25424</guid>
<dc:creator>phantom</dc:creator>
</item>
hm.. both my screens were taken on latest Chrome (on Windows 8.1), don't know why they are different
hmm... I'd say 1.1 sends a wrong type in the header (i.e. html), so chrome wraps everything into an html tag.
That sounds like another bug, good catch both of you! :D
Now it should be working fine.
The problem was that the Content-Type header was sent twice and Chrome apparently picks the last sent.
Fixed in 5a4ebeb0020c71a4d0949ea80b801b9e8aff5577