Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


powercat

Member
  • Content Count

    1
  • Donations

    $0.00 
  • Joined

  • Last visited

Everything posted by powercat

  1. I sometimes see web sites or blogs that have RSS feeds, but fail to include the one line of HTML that enables RSS autodiscovery. Even some well known blogs such as 37 Signals - Signal Vs Noise omit the feature. Jason Kottke's blog has autodiscovery support on the main page, but not on his entry pages. Adding that one line of code to your template will make it easier for people to subscribe to your RSS feed. Here's how: <link rel="alternate" type="application/rss+xml" title="RSS Feed for petefreitag.com" href="/rss/" /> The above link tag should be added inside the head tag of your HTML document. You will of course need to change the value of the title and href attributes to fit your needs. If your feed is an ATOM feed you will want to change the type to application/atom+xml. If you have multiple feeds for the url you can just specify multiple link tags. When you enable autodiscovery for your rss feed it allows browsers and aggregators to automatically detect the RSS feed when your browsing, and it makes it easy for the user to subscribe to it. Both FireFox, and Safari 2.0 support autodiscovery of RSS feeds out of the box.
×
×
  • Create New...