Echo RSS feed with title and description within same page

Discussion in 'XML & RSS' started by threat, Nov 25, 2008.

  1. #1
    Hey guys,
    Need a little help here. I'm almost there!

    I am currently using MagpieRSS to read a feed from a local Burbank newspaper who has agreed to work with us.

    I have setup a test page here: http://www.burbank.com/burbank-news2.php

    Essentially, I'm trying to create a landing page of sorts for SEO reasons. What I need to do is after the user clicks the title URL, have the page echo the results which will display the title along with a description. It also creates that unique URL based on the title.

    I found a site that shows exactly what I need. It is located here: http://www.oakville.com/news/arts/

    I feel like I am almost there, just looking for some kind of loop that will display the results in the page, after creating the unique URL. I guess some sort of echo is needed, but I just can't seen to get it.

    Any and all help is appreciated! Thanks in advance!
     
    threat, Nov 25, 2008 IP
  2. lruneh

    lruneh Peon

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey Threat

    Let med see if I got this straight... Instead of loading the link as it appears now on your test page, you want to reload the current page, but this time display the decription of the item that was clicked?

    If that is what you are trying to do, I would pass a value along in a query string, ?itemnr=itemTitle and then use an if($_GET['itemnr']=$itemTitle) {echo $itemDescription;}.

    Hope this is something in the lines of what you were looking for.
     
    lruneh, Nov 26, 2008 IP