Results 1 to 11 of 11

Thread: Rss

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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?

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    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.

  9. #9
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Rss

    Quote 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
    My Blog.

    Ryan Jones.

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: Rss

    Quote 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?

  11. #11
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Rss

    Exactly.
    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
  •  



Click Here to Expand Forum to Full Width