Results 1 to 4 of 4

Thread: Generate html content using PHP for site without PHP support?

  1. #1
    Join Date
    Feb 2008

    Generate html content using PHP for site without PHP support?

    Dear all

    Is there some way to use php to pull the contents of an rss feed into a page which is hosted on a site with no php support? I would like the imported html to be crawlable by search engine spiders.

    I am currently doing this for a friend using my own site to generate the feed and then using <iframe> on my friend's site. The downside is that the page source html does not display the content of the <iframe>, only the source address.

    Thanks in advance for any help

  2. #2
    Join Date
    Oct 2003
    Andover, UK
    That's because the source of the main page and the source of any page loaded inside the IF are two different things. The soruce of the main page will, as you say, only show the code of the IF, not the source of whatever's inside it.

    If you're using an IF on his site, in which you load a PHP page on your site, then the fact that his site doesn't support PHP is irrelevant. In the IF is your server, not his.

  3. #3
    Join Date
    Jan 2005
    One way to do it would be generating the html pages on your server and then using the ftp functions of php to upload the files to your friends server.

  4. #4
    Join Date
    Feb 2008
    Many thanks, Stephan - it sounds as if that may be what I am looking for. I will try it out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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