SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2007
    Location
    in ur heart
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow Help me read RSS in PHP (was how to do that)

    Hi guys, i am running a Blogz Directory. I want to add a feature there that in submit page one will have to add its bog feed which will be added to the database. i can do it. but the problem is that how to get the latest blog post in the listing page. i dont even know the ABC of XML or RSS so plz hep me. i am using phpLD for my blog. just tell me the php code for that i can code it for phpLD. so plz help me. i have to get the title of latest blog with url.
    Thanks. (i am very new to sitepoint hope i will get my answer )

  2. #2
    SitePoint Member
    Join Date
    Sep 2007
    Location
    in ur heart
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guys I am waiting for your answer

  3. #3
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well first off, welcome to SitePoint!

    Second, you asked your question in the middle of the night for a lot of the members here (on a Friday night no less) so a lof of people weren't on (movies, dates, things I won't mention due to the forum rules, and so on). But here we are in the middle of the day, so people are just now getting around to waking up, cleaning up and all that jazz.

    So, I take it you're looking for an RSS parser written in PHP that can take the feed URL and parse its contents into plain HTML and send it to the browser?

    I'm not familiar with phpLD at all, but the guy who makes it is a member here. Try sending a PM to dv_duval and see if he can help you out (please be sure to provide a link to this thread). If he asks, tell him I sent you.

  4. #4
    SitePoint Member
    Join Date
    Sep 2007
    Location
    in ur heart
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks and yeah i am looking for an RSS parser written in PHP that can take the feed URL and parse its contents into plain HTML and send it to the browser.
    plz tell me how to do that rest of the things i can do myself
    Thanks again.

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's the thing. Any pluign or extension that's written will have to be written with phpLD in mind, or else it could cause all sorts of issues.

    That, and PHP isn't my strong suit. (X)HTML and CSS are.

    You might be better off asking this question in the PHP board here in SitePoint. Or sending dvdvual a PM like I suggested earlier.

  6. #6
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Have you looked at Magpie RSS?
    Ryan B | My Blog | Twitter

  7. #7
    SitePoint Member
    Join Date
    Sep 2007
    Location
    in ur heart
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    many thanks rguy84. it is working but i parse only title of the feed. the thing i want is to get the title of latest blog post. can somebosy please help me out...
    Thanks.

  8. #8
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You are welcome. I haven't looked at it, but isn't there some attribute that you can make 1? IE ShowPost=1. Or if you know how RSS feeds are formatted you could maybe just remove the parts you don't want?
    Learn RSS
    Ryan B | My Blog | Twitter


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •