Help - Search - Members - Calendar
Full Version: LINK tag to point to RSS feed
Movable Type Community Forum > Other Product Discussion > Desired Features
btrott
Yep, will be added in the next release! (Saw it on your site earlier today, actually. smile.gif

I already updated the default templates here, and the change in the default templates in the system will go out when we do a new release.
btrott
It doesn't automatically, no (though it probably should--will change for the next release).
crys
At the end of the entire tag? That's because the default for MT pages is XHTML which techinacally requires all tags to be closed with a / either at the end of the tag or in a closing tag.
f8dy
Just a heads up, the LINK tag format changed over the weekend.  (One and only time, I promise.)

Important change to the LINK tag

The type attribute has changed to "application/rss+xml" (required), and the title attribute has changed to "RSS" (suggested).

Isn't it fun being an early adopter?  wink.gif
f8dy
Would it be possible to add the following line to the HEAD of the default Main Index and all Archive templates?

<link rel="alternate" type="text/xml" title="XML" href="<$MTBlogURL$>index.rdf" />

This is an emerging metadata standard for sites to point to their RSS feed, so news aggregators and search engines and other programs can find it more easily.

More information on this "RSS auto-discovery" tag is available here:
 RSS auto-discovery
 More on RSS auto-discovery

Mark Pilgrim
f8dy
Should there be a slash between the MTBlogURL and the index.rdf?  I thought the MTBlogURL always included the trailing slash.

-Mark
aroundmyroom
QUOTE
It doesn't automatically, no (though it probably should--will change for the next release).



can you tell my why there is an / at the end?
aroundmyroom
QUOTE
At the end of the entire tag? That's because the default for MT pages is XHTML which techinacally requires all tags to be closed with a / either at the end of the tag or in a closing tag.

clear!
Thanks.
btrott
Yep, saw that, thanks. smile.gif I updated the default templates accordingly.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.