Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-03-30
8
Medium Priority
?
4,973 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
ID: 10717937
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
ID: 10717970
This is actually not bad from my old alma mater:
http://blogs.law.harvard.edu/tech/rss
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10718843
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Expert Comment

by:seanpowell
ID: 10719010
It's there somewhere...hold on...

There it is:
http://www.w3.org/QA/Tips/use-links
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10719499
Got it....  Validates under XHTML only?

Cd&
0
 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 400 total points
ID: 10719644
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
ID: 10719678
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 1600 total points
ID: 10720603
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
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 add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Suggested Courses

926 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