/    Sign up×
Community /Pin to ProfileBookmark

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

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@mityaJul 10.2008 — 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.
Copy linkTweet thisAlerts:
@stephan_gerlachJul 10.2008 — 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.
Copy linkTweet thisAlerts:
@shoopiauthorJul 10.2008 — Many thanks, Stephan - it sounds as if that may be what I am looking for. I will try it out.
×

Success!

Help @shoopi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...