Anyone know how to parse RSS onto websites?

Discussion in 'XML & RSS' started by Yukio, Jun 20, 2005.

  1. #1
    Hi guys, if you visit http://my.yahoo.com you'll notice that they show RSS feeds as "dynamic news" on their websites.

    My website www.pinkpt.com has a RSS feed. Does anyone know how I can offer the news to other websites using this method?
     
    Yukio, Jun 20, 2005 IP
  2. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Search Google for 'rss2html' and you will find packages that allow you to syndicate content from a feed to another website. So you could have other people use that package to syndicate your content on their website.

    Also there is a service called RSS Digest that does something similar.
     
    tflight, Jun 20, 2005 IP
  3. Yukio

    Yukio Peon

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for that tflight! ^_^ Perfect :)
     
    Yukio, Jun 20, 2005 IP
  4. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #4
    tflight, Jun 20, 2005 IP
  5. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #5
    Carp can convert your rss into javascript, or you can use it to display a newsfeed. There's also magpie.
     
    nevetS, Jun 20, 2005 IP
  6. jlawrence

    jlawrence Peon

    Messages:
    1,368
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #6
    jlawrence, Jun 20, 2005 IP
  7. Yukio

    Yukio Peon

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yukio, Jun 20, 2005 IP
  8. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Here's an example of Carp output. I haven't tried magpie myself, but carp is pretty quick. That page is really slow, but your atom feed is actually pretty quick.

    http://blog.bkweddings.com/wp-content/carprss.php

    I think to work with atom feeds you have to use Grouper Evolution - which is another product from the same company, but it can use a regular rss feed if you have one.
     
    nevetS, Jun 20, 2005 IP
  9. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #9
    noppid, Jun 20, 2005 IP
  10. Yukio

    Yukio Peon

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks everyone for their suggestions and replies ^_^ I'll try to implement them and let everyone know how it goes.
     
    Yukio, Jun 21, 2005 IP
  11. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Speed can certainly be a problem when pulling data from a third party site. Caching the results and reusing them for an hour or so can help significantly. In my case I get around it by the fact that all of the sites are running on the same server. ;) I also cache the feeds for 90 minutes.
     
    tflight, Jun 21, 2005 IP
  12. pwaring

    pwaring Well-Known Member

    Messages:
    846
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    135
    #12
    You'd want to cache the results not only for speed, but to avoid hitting the feed site every time someone loaded your page. Most sites (Slashdot is one example that does this automatically as far as I know) will block your IP if you request their feeds more than once an hour.
     
    pwaring, Jun 21, 2005 IP
  13. davedx

    davedx Peon

    Messages:
    429
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Yeah, I run cron jobs to grab feeds periodically and write the results into an HTML file that I then include in my PHP code.
     
    davedx, Jun 22, 2005 IP
  14. danpadams

    danpadams Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Davedx, Can you post an example of how your cron jobs work?
     
    danpadams, Jun 25, 2005 IP