i checked the ATOM feed with the validator & shortlinks enabled and get then "Self reference doesn't match document location". With shortlinks disabled the feed is valid.
Quote:
Example:
Only registered users can see links on this board! Get registered or login to the forums!
We may need to build some logic into nukeFEED to address shortlinks, but I'm not sure when that will happen.
Not sure why the validator would give a message regarding ATOM for an RSS 2.0 feed. Does that happen with shortlinks off?
Regarding the author section, I'd suggest that changing that would open the door for spam. I believe it's only there for validation, but I haven't tested not using it, either.
Joined: Aug 29, 2004 Posts: 7264 Location: Arizona
Posted:
Sat Apr 12, 2008 9:04 am
Brujo/kguske,
I will look into the ShortLinks aspect of this. I have this working - I think - on my sites so I want to understand better as to what is going on there. I may be able to fix.
@montego - i have rn 2.20.01
if you take a look, i think in nukeFEED.php the $syndicationURL have to be different if shortlinks is enabled
@kguske - missing atom: is independent from shortlinks
i checked it with
Only registered users can see links on this board! Get registered or login to the forums!
& validator.w3.org/feed/ with the same result that indeed the feed is valid but with this recomendation
Quote:
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations. line xy, column 4: Missing atom:link with rel="self"
and i found this:
Only registered users can see links on this board! Get registered or login to the forums!
this code assume that fid=1 is existing and that nobody deleted this feed like i did in the feed module for my OK i fixed that, but as an Idea, Users should not be able to delete Feed 1 or the backend is gone..
Joined: Aug 29, 2004 Posts: 7264 Location: Arizona
Posted:
Fri Apr 25, 2008 1:24 pm
Brujo, btw, I am looking at the ShortLinks issue now and I am pretty sure that I can fix the validation error. It is definitely in the "link rel" at the top.
It does not seem to impact the usability of the feed, but it does affect its validation. I'll let you know what I come up with.
The Atom feed now validates on my own site with this change.
kguske, it was a difference in the use of atom version number being missing in the link rel statement at the top. You use ATOM1.0 in most other places except at the top.
@montego
perfect, works also for me no more validation issue with ATOM
btw. have someone a idea for the RSS recomendation "This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations. line xy, column 4: Missing atom:link with rel="self"
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum