I'm trying to pull data from one of the boards using a RSS Feed to display it on the front page, but all I get is "Invalid feed."
So I ran the link though https://www.feedvalidator.org and get the following error
Missing atom:link with rel="self"
If I click on Help there I get the following:
QuoteMessage
Missing atom:link with rel="self"
Explanation
According to the RSS Advisory Board (http://www.rssboard.org/charter)'s Best Practices Profile (http://www.rssboard.org/rss-profile-1#namespace-elements-atom-link), identifying a feed's URL within the feed makes it more portable, self-contained, and easier to cache. For these reasons, a feed should contain an atom:link used for this purpose.
Solution
If you haven't already done so, declare the Atom namespace at the top of your feed, thus:
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
Then insert a atom:link to your feed in the channel section. Below is an example to get you started. Be sure to replace the value of the href attribute with the URL of your feed.
<atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" />
Does anybody understand what this means, and more important, know what I should change and where to get this feed working?
By the way, the feed is in the following format: feed://www.xxxxx.xx/index.php?action=.xml;sa=news;board=16;limit=10;type=rss2
Nobody?
:-\
I'm not sure if this will help Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds (https://www.simplemachines.org/community/index.php?topic=25009.0). I do not walk so much with the subject RSS but generally the errors mark me is by the form of the url I put. Sorry to help you more ... layers another know more.
Regards!
I did search before posting, but didn't see that topic, so thanks for the link! ;D
I posted my question in that topic, because reading the thread didn't help me so far... :(
Quote from: Dwev on March 02, 2018, 02:52:22 PM
I posted my question in that topic, because reading the thread didn't help me so far... :(
since you have your own topic on this issue i have removed that post so that it does not confuse that topic.
@ Illori: Can't you delete this topic and leave the question on the other one?
That other thread seems more fitting...
no the other topic is not more fitting. you have a support question so it belongs here. now lets get back on topic so we can see if we can resolve your issue.
Can you either post a link to the feed or pm me with it please? Just so I can test the format.
@ tinoest: I just sent you the feed in a PM.
One thing that occurs to me, we're using the Pretty URL's mod on the site, could that screw up the RSS?
(I don't think so, but thought it might be a good idea to mention it).
Quote from: Dwev on March 02, 2018, 05:02:04 PM
@ tinoest: I just sent you the feed in a PM.
One thing that occurs to me, we're using the Pretty URL's mod on the site, could that screw up the RSS?
(I don't think so, but thought it might be a good idea to mention it).
It should not interfere with what I like to use and feed it works correctly, because when setting up some things with google webmaster I asked for it and the only problem was that it was wrong with the url. I am happy to serve whatever happens to you and excuse my bad English.
Regards!
Quote from: Dwev on March 02, 2018, 05:02:04 PM
@ tinoest: I just sent you the feed in a PM.
One thing that occurs to me, we're using the Pretty URL's mod on the site, could that screw up the RSS?
(I don't think so, but thought it might be a good idea to mention it).
I replied to your PM, I don't find any issues with the feed and can display it ok with the test code supplied in the PM. Can you let me know if that doesn't work for you?
Thanks
tino
Credit where credit is due: timoest pointed out to me that my feed was fine, but that it had to start with "https" and not with "feed".
Now I feel like an absolute idiot, but a happy idiot too..!