locked
atom:link missing required by the w3c validator RRS feed

Answers

  • User36583972 posted

    Hi ariansen,

    The atom:link element defines a relationship between a web resource (such as a page) and an RSS channel or item (optional). The most common use is to identify an HTML representation of an entry in an RSS or Atom feed.

    An RSS feed can identify its own URL using the atom:link element within a channel. The link must have the rel attribute "self", an href attribute containing the feed's URL and may have a type attribute of "application/rss+xml":

    <atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" />

    You can refer the following links for getting more information.

    1: More information about atom:link in the below:

    http://www.rssboard.org/rss-profile#namespace-elements-atom-link

    2: Question about RSS feed:

    http://stackoverflow.com/questions/5590432/i-have-question-about-rss-feed

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 22, 2016 6:45 AM

All replies

  • User856028078 posted

    I tried to add type="application/atom+xml" but that didn't work either.

    I have r e a l l y run out of clues here. I hope someone can help me find the solution on the validator error.

    In advance thanks a lot!

    Monday, March 21, 2016 3:47 PM
  • User36583972 posted

    Hi ariansen,

    The atom:link element defines a relationship between a web resource (such as a page) and an RSS channel or item (optional). The most common use is to identify an HTML representation of an entry in an RSS or Atom feed.

    An RSS feed can identify its own URL using the atom:link element within a channel. The link must have the rel attribute "self", an href attribute containing the feed's URL and may have a type attribute of "application/rss+xml":

    <atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" />

    You can refer the following links for getting more information.

    1: More information about atom:link in the below:

    http://www.rssboard.org/rss-profile#namespace-elements-atom-link

    2: Question about RSS feed:

    http://stackoverflow.com/questions/5590432/i-have-question-about-rss-feed

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 22, 2016 6:45 AM