1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

RSS test

Discussion in 'General Chat' started by clasione, May 4, 2005.

  1. #1
    I put together a little somthing so I can test a few things with RSS.

    DP has a spot on it:
    http://www.gccnews.com/

    thoughts, comments and suugestions are always fun... :)
     
    clasione, May 4, 2005 IP
  2. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What are you using to display the feeds? Looks nice though.
     
    TwisterMc, May 5, 2005 IP
  3. SERPalert

    SERPalert Guest

    Messages:
    1,003
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #3
    SERPalert, May 5, 2005 IP
  4. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That's very cool. I just got done adding an RSS feed to my site. You can view it here: Project Responder News. I'm using the msxml object to get the feed and then I wrote some code to parse the xml and display it on the page. There is a smaller snippet on the home page as well.

    RSS is so great. I've found several sites through my logs that have pulled down my rss feed and are sending me traffic. Now I'm gathering news and displaying it on my site.
     
    mopacfan, May 5, 2005 IP
  5. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I know how to do it, just wondering what he used. ;)
     
    TwisterMc, May 5, 2005 IP
  6. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #6
    Not a bad idea, but I personally don't like the layout, text is too close together. Can't simply read the new posts. Maby consider using link_blank so I can easily turn back to the overview.

    TwisterMC, you could use http://magpierss.sourceforge.net/ to display feeds, works great!
     
    WhatiFind, May 5, 2005 IP
  7. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #7
    That one is good and another good free one is carp rss.
     
    noppid, May 5, 2005 IP
  8. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Does anyone know how to output, say 5 feeds, in one block organized by date? Basically joining all five feeds into one big one before parsing.
     
    TwisterMc, May 5, 2005 IP
  9. clasione

    clasione Notable Member

    Messages:
    2,362
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    228
    #9
    Sorry everyone, I lost this thread for a day or so....
    I used CARP RSS
     
    clasione, May 5, 2005 IP
  10. rurbaniak

    rurbaniak Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I think that is possible in the paid version of carp. You are able to load the feed into a mysql database, and from there the sorting would be easy.
     
    rurbaniak, May 5, 2005 IP
  11. rurbaniak

    rurbaniak Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Yea after second looking, the text does run together a little. Try adding this to your code, it will add a space between each line.

    CarpConf('ai','<br>');
    PHP:
    You might be able to control the space better by replacing the <br> with something else?
     
    rurbaniak, May 5, 2005 IP
  12. clasione

    clasione Notable Member

    Messages:
    2,362
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    228
    #12

    Nice, that was it.... Thanks rurbaniak
     
    clasione, May 6, 2005 IP
  13. rurbaniak

    rurbaniak Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Sure, I had to figure it out for myself anyways! :p

    Also, throw this at the end of each section
    echo '<p>';
    Code (markup):
    That way there is a little space between each new sites feed.
     
    rurbaniak, May 6, 2005 IP