Solved

<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.site.com/rss/" />

Posted on 2004-03-30
8
3,768 Views
Last Modified: 2012-05-04
Can some explain this <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.site.com/rss/" /> to me?
Where?
When?
Why?
would I use this
0
Comment
Question by:CFDevHead
  • 5
  • 2
8 Comments
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
That's a lot of questions :-)

Start with a read through on this...
http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html

I'll see if I can dig up some tutorials on this under my desk somewhere...
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
This is actually not bad from my old alma mater:
http://blogs.law.harvard.edu/tech/rss
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
I have not seen a link done that way.  rel="altenate" I'm not sure of.  The only time I have senn alternate is for stylesheets in the form rel="altenate stylesheet".

So I don't know what browsers support that format and I would think it has to be accompanid by an XHTML doctype.

Good links from Sean deal with the RSS part, but I'm not sure if that link format is supported.

Cd&
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
It's there somewhere...hold on...

There it is:
http://www.w3.org/QA/Tips/use-links
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
Got it....  Validates under XHTML only?

Cd&
0
 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 100 total points
Comment Utility
2.0 certainly needs xhtml - but I'm sure the others did as well.

This is where you should validate your documents:
http://rss.scripting.com/

There's a few listed here if you're interested as well:
http://www.cxliv.org/jayseae/2003/08/08/time_for_validation.html
There's a whole pile of feeds down the right hand site that you can test through the validator to get an idea pof what's happening.
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
It looks like 0.91 (netscape) had slightly different rules - it's old news though so don't worry about it
http://www.newarchitectmag.com/archives/2000/02/eisenzopf/

The RSS spec from Harvards seems to cover most of the details.
0
 
LVL 18

Accepted Solution

by:
bruno earned 400 total points
Comment Utility
I'm going to go back to the original Q - I am assuming if you are asking about this line:


<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.site.com/rss/" />


Then you probably already know what RSS is, and possibly how to use it.

You would place that line in your page so that other applications that are searching your site for an RSS feed (RSS reader?) can locate where your feed is automatically.

If you know of a page that is using that link statement, put the URL of the page in at the validator here:
http://feeds.archive.org/validator/

(try http://www.alistapart.com/ )


The validator will be able to automatically find the RSS feed to validate it.

Where as this site:  http://builder.com.com/  which has an XML logo prominently on the front page, if put into the validator, does not have the link statement, and the validator can not find the RSS feed.



bruno

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Align a <div> to a table row 3 38
2 CSS questions 11 33
How can I apply two background images in CSS 4 30
Responsive CSS question 2 37
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now