Results 1 to 2 of 2

Thread: RSS feed to show on page without having to click on link

  1. #1
    Join Date
    Aug 2010
    Location
    Jacksonville, FL
    Posts
    85
    Thanks
    31
    Thanked 0 Times in 0 Posts

    Default RSS feed to show on page without having to click on link

    Hello,

    I have a page using iFrame to display an RSS feed preview of programs at the library. The problem is that we use IE7 and the drop down menus at the top fall behind the the preview. I received some information from someone about how you could get the preview without using the iFrame; however, I have never taken PHP and do not know how you would do this.

    The following is what he said to do:

    "You'd have to look into pulling it in via Ajax. With Ajax, you can request a page on your own server. That page would be a PHP page. Because it's on your server, you'd be okay to access an external page safely. After you PHP page parses and formats the RSS feed on the server (behind the scenes), then the JavaScript/Ajax would grab the data out of the page on the server.

    This way, your PHP page works as a "proxy" between the server and the external site, so you don't have the limitations of no cross-domain requests."

    This is the link to my page: http://jaxpubliclibrary.org/redesign6.html

    This is the iFrame code I'm using currently:
    <iframe
    src="http://jplcalendar.coj.net/evanced/lib/eventsxml.asp?lib=0&nd=60&dm=rss2"
    width="72%" height="450" scrolling="auto" frameborder="0"></iframe>

    Can anyone tell me how I would accomplish the suggestion given to me?

    Thank you very much, Elbee

  2. #2
    Join Date
    Nov 2006
    Location
    Northeast USA
    Posts
    408
    Thanks
    8
    Thanked 30 Times in 28 Posts

    Default

    Well it works in Firefox ok, but I see the problem in IE. Try appending "z-index:2" css to the drop down menu and "z-index:1" to the iframe. This may or may not solve the problem. As for using php to load it, then it becomes very complicated with xml formatting, which I assume you don't want to get into, but if you do: http://lmgtfy.com/?q=php+rss
    -Ben -- THE DYNAMIC DRIVERS
    My Links: My DD Profile||My Youtube Video Tutorials||DD Helping Coders||DD Coders In Training
    I told my client to press F5, the client pressed F, then 5, *facepalm*

  3. The Following User Says Thank You to fileserverdirect For This Useful Post:

    Elbee (09-20-2010)

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
  •