Skip to main content
Topic: Rss broken (Read 2633 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Rss broken

Reply #1

what is broken? I can access it just fine, the formatting is good too.

Re: Rss broken

Reply #2

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?
Bugs creator.
Features destroyer.
Template killer.

Re: Rss broken

Reply #3

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
sorry for my bad english

Re: Rss broken

Reply #4

maybe stupid question, but..

In ElkArte 1.0 RSS feed looks like this:


In 1.1 it should be like this:


?

And there is small issue with urls - for me any url from feed shows only homepage (here on elkarte.net).

Re: Rss broken

Reply #5

@phantom What's the question exactly? :P

Re: Rss broken

Reply #6

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.

Re: Rss broken

Reply #7

But it does? Are you referring to how a particular browser happens to render the XML if you just view it?

Code: [Select]
<?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>

Re: Rss broken

Reply #8

hm.. both my screens were taken on latest Chrome (on Windows 8.1), don't know why they are different

Re: Rss broken

Reply #9

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
Bugs creator.
Features destroyer.
Template killer.

 

Re: Rss broken

Reply #10

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
Bugs creator.
Features destroyer.
Template killer.