Page 1 of 2

Atom feed error

Posted: Tue Nov 11, 2014 7:19 am
by Mc
I would like to use atom instead of rss feed, because it gives better performance, but just now I get an error and the atom feed doesn't work in NewsFox. The Feed Validator gives back:

This feed does not validate.
line 32, column 117: XML parsing error: <unknown>:32:117: duplicate attribute [help]
... el="nofollow external" target="_blank" rel="nofollow" href="http://kb.m ...

Re: Atom feed error

Posted: Tue Nov 11, 2014 10:10 am
by Thrawn
Is this related to NoScript? What happens if you disable NoScript?

What is the URL of the site where you are having trouble?

Re: Atom feed error

Posted: Tue Nov 11, 2014 10:44 am
by Mc
Thrawn wrote:Is this related to NoScript? What happens if you disable NoScript?

What is the URL of the site where you are having trouble?
It's the NoScript forum feed, atom version.

syndication.php?type=atom

Re: Atom feed error

Posted: Tue Nov 11, 2014 2:27 pm
by Mc
The error seems to appear repeatedly, now on another post with a postlink. Again the duplicate attribute (rel=) error:

<a class="postlink" rel="nofollow external" target="_blank" rel="nofollow"...

Re: Atom feed error

Posted: Tue Nov 11, 2014 4:50 pm
by therube
Looks to be working for me.
At least the the "feed" loads & displays as expected.
I have not tried "subscribing" or anything like that.

Try with other extensions disabled.

Re: Atom feed error

Posted: Tue Nov 11, 2014 5:20 pm
by Mc
therube wrote:Looks to be working for me.
At least the the "feed" loads & displays as expected.
I have not tried "subscribing" or anything like that.

Try with other extensions disabled.
No need to do so, because even SeaMonkey shows the feeds different, rss shows all (10) recent posts, whereas atom shows only posts back to the wrong one. If it's the first, it would show nothing.

valid: syndication.php?type=rss
Not valid: syndication.php?type=atom
See here: http://validator.w3.org/feed/check.cgi? ... ype%3Datom

Re: Atom feed error

Posted: Tue Nov 11, 2014 5:23 pm
by barbaz
Confirmed here, Atom feed is blank while RSS works. (this is just in SeaMonkey)

(I'd move this to Metaforum but Mc isn't registered and guests can't post in Metaforum.)

Re: Atom feed error

Posted: Tue Nov 11, 2014 7:53 pm
by therube
> Atom feed is blank

When I looked earlier, I was seeing ~10 posts.
The first of which I though odd, as it listed the entire contents of a

Code: Select all

 post (as it was).

Looking now, I'm only seeing two posts.

Re: Atom feed error

Posted: Fri Nov 14, 2014 5:41 am
by Mc
Is something different now in atom feed?
Today it shows the feeds, seems because this post shows links with only one rel= attribute:
viewtopic.php?p=72901#p72901

The bad site is, that these don't show up as clickable links in NewsFox, as they do in the rss feed there (and in other atom feeds, for example http://planet.mozilla.org/atom.xml , which has a completely different source, though ).

Re: Atom feed error

Posted: Fri Nov 14, 2014 5:48 am
by Mc
Still not solved.
My latest post links lead to a not working atom feed again.

Re: Atom feed error

Posted: Sat Nov 15, 2014 4:41 am
by Mc
The atom feed just works once again, because Giorgio Maone's posted link to the latest development build (in one of the latest posts) doesn't destroy the feed. But that means, that even that essential link appears in one of the most used feed readers, NewsFox, as plain text.

Re: Atom feed error

Posted: Sat Nov 15, 2014 5:32 am
by Mc
Mc wrote: But that means, that even that essential link appears in one of the most used feed readers, NewsFox, as plain text.
Sorry, I found a setting in NewsFox where it would show it as a clickable link in atom feeds. So it's still an issue of the kind of links, one working, one destroying the feed.

Re: Atom feed error

Posted: Sat Nov 15, 2014 8:58 am
by Giorgio Maone
Which post(s) should I look at exactly for the malformed (double rel attribute) link?

Re: Atom feed error

Posted: Sat Nov 15, 2014 11:04 am
by Mc
Giorgio Maone wrote:Which post(s) should I look at exactly for the malformed (double rel attribute) link?
i hope I can produce you one just now inserting links without using (url) (/url).

http://validator.w3.org/feed/check.cgi? ... ype%3Datom

And again an example, where the links work, here using (url)...:
http://planet.mozilla.org/atom.xml

Re: Atom feed error

Posted: Sat Nov 15, 2014 1:49 pm
by Giorgio Maone
The double attribute issue is fixed. I'm not sure whether there's anything else?