Is there a script to pull newsfeeds to make a webpage?

Discussion in 'PHP' started by mcfox, Feb 1, 2006.

  1. #1
    What I'm looking for is a script that automatically pulls in RSS feed(s) and converts it to a web page. Does anyone know where I might find such a script?

    <edit>I knew there was a product of some description somewhere:
    http://www.geckotribe.com/rss/carp/

    I think I need to eat more apples :rolleyes:
     
    mcfox, Feb 1, 2006 IP
  2. eKstreme

    eKstreme Guest

    Messages:
    131
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, there is: Magpie RSS. It works very well for me, and you can customize the output however you see fit. I used it to make my own "news center".
     
    eKstreme, Feb 1, 2006 IP
  3. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #3
    Does anyone know of a comparable ASP script?
     
    mystikmedia, Feb 1, 2006 IP
  4. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #4
    I've installed Carp. It seems to be the product that gets updated most often -- plus there was a release note on Magpie to fix 'Snoopy' <<-- no idea what that's about.

    Carp can be adapted to display on asp, I believe.
     
    mcfox, Feb 2, 2006 IP
    mystikmedia likes this.
  5. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #5
    Cool! Thanks much for that info. Green for you, mister! :)
     
    mystikmedia, Feb 2, 2006 IP
  6. drugoon

    drugoon Guest

    Messages:
    702
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, MagPie rules, is great, uses cache and is easy to implement
     
    drugoon, Feb 5, 2006 IP
  7. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #7
    ST12, Feb 9, 2006 IP
  8. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #8
    It looks like you haven't included the <? parameters properly:
    <DIV 
    style="BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 6px; PADDING-LEFT: 6px; BORDER-LEFT-WIDTH: 1px; BACKGROUND: #ccc; BORDER-BOTTOM-WIDTH: 1px; PADDING-BOTTOM: 6px; MARGIN: 15px; PADDING-TOP: 6px; BORDER-RIGHT-WIDTH: 1px">[COLOR="#ff0000"]&lt;?php[/COLOR]<BR>require_once 
    '/home/bojidar1/public_html/qsh/carp/carp.php';<BR>// Add any desired 
    configuration settings below this line using "CarpConf" and other 
    functions<BR>CarpCacheShow('tp://news.search.yahoo.com/search/news?p='.$t.'&amp;sm=Yahoo%21+Search&amp;fr=FP-tab-news-t&amp;toggle=1');<BR>[COLOR="Red"]?&gt;[/COLOR] 
    </DIV>
    Code (markup):
    It's difficult to say with certainty simply looking at the source code since the server-side stuff isn't included (usually) but I think it should be this:
    <DIV 
    style="BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 6px; PADDING-LEFT: 6px; BORDER-LEFT-WIDTH: 1px; BACKGROUND: #ccc; BORDER-BOTTOM-WIDTH: 1px; PADDING-BOTTOM: 6px; MARGIN: 15px; PADDING-TOP: 6px; BORDER-RIGHT-WIDTH: 1px"><BR>
    [COLOR="#ff0000"]<?php[/COLOR] require_once 
    '/home/bojidar1/public_html/qsh/carp/carp.php';
    <BR>
    // Add any desired configuration settings below this line using "CarpConf" and other functions
    <BR>
    CarpCacheShow('tp://news.search.yahoo.com/search/news?p='.$t.'&amp;sm=Yahoo%21+Search&amp;fr=FP-tab-news-t&amp;toggle=1');<BR>[COLOR="#ff0000"]?>[/COLOR]; 
    </DIV>
    Code (markup):
     
    mcfox, Feb 9, 2006 IP
  9. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #9
    I copied and pasted to my index.php the code you suggested didn't work.
    Thank you anyway,
    st12
     
    ST12, Feb 18, 2006 IP
  10. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #10
    iatbm, Feb 19, 2006 IP