|
Thread: Rss
-
Jan 20th, 2006, 12:45 PM
#1
Thread Starter
Frenzied Member
Rss
I saw some websites have RSS feature, what is the code to do that so I can subscribe to some by putting on my web page?
-
Jan 20th, 2006, 07:31 PM
#2
Re: Rss
First you make the RSS feed. Then you link to it using a link tag which goes in your <head> section.
HTML Code:
<link rel="alternate" type="application/rss+xml" title="My RSS Feed" href="rss.xml" />
The feed file can have whatever extension you like but it must be standards compliant RSS, you can check that here
http://feedvalidator.org/
The title in the link tag is optional but a good idea if you have multiple RSS feeds, also some RSS readers use it to identify your feed.
-
Jan 24th, 2006, 08:55 PM
#3
Thread Starter
Frenzied Member
Re: Rss
I tried this out, but it's not what I want... I don't want my blog to be RSS. In fact, I want to link other friend's blog to my blog using RSS... in other words, if they update their blog I should know.. just like Yahoo 360 if you happen to use one. Makes sense?
-
Jan 25th, 2006, 01:30 AM
#4
Re: Rss
Well, that's exactly what an RSS reader is for... 
The subscription methods vary depending on your software. Firefox has a (rather rudimentary, but working) RSS reader built in. If you use a browser with no RSS reader then you'll have to find one and there are probably plenty to choose from here
-
Jan 25th, 2006, 09:30 PM
#5
Thread Starter
Frenzied Member
Re: Rss
Ok, let me put it this way... cause I "kind of" understand what you mean. Say I have a friend blog with the website http://friend.com/feed.rss
I want to link that website to my webpage, not just <a href> tag, but as RSS feed.. meaning, when his blog is updated, I should know rather than going there to check every single time. Can I do that?
-
Jan 26th, 2006, 03:30 AM
#6
Re: Rss
But what does you knowing when he updates his blog have to do with your website? 
An RSS reader is for exactly that, quickly checking whether sites have been updated without having to visit them. I don't see how you bring your own website into this. Do you want a little box on your page with his last few RSS entries on there or something?
-
Jan 26th, 2006, 02:28 PM
#7
Thread Starter
Frenzied Member
Re: Rss
Yes, I want a section that allows me or visitors to see my friend's blog's updated from my site without having to visit his site all the time. Can I do that? What would be the code?
-
Jan 26th, 2006, 04:48 PM
#8
Re: Rss
You have to retrieve his RSS feed and then create some markup from it to include on your site. The easiest way would probably XSLT, but you'd have to know XSLT.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 26th, 2006, 04:56 PM
#9
Re: Rss
 Originally Posted by CornedBee
You have to retrieve his RSS feed and then create some markup from it to include on your site. The easiest way would probably XSLT, but you'd have to know XSLT.
http://www.w3schools.com/xsl/default.asp will be a good place to start 
Cheers,
Ryan Jones
-
Jan 27th, 2006, 06:16 PM
#10
Thread Starter
Frenzied Member
Re: Rss
 Originally Posted by CornedBee
You have to retrieve his RSS feed and then create some markup from it to include on your site. The easiest way would probably XSLT, but you'd have to know XSLT.
By retrieving the RSS feed, you mean his website that ends with .xml? Like this http://rss.ent.yahoo.com/movies/movie_headlines.xml?
-
Jan 27th, 2006, 06:25 PM
#11
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|