ineedhelp
ineedhelp

Reputation: 125

Integrate pages

I need to integrate a page from another site on to my own. What are the ways to do it ,,

apart from <object> and <iframe>? What if the site does not provide an RSS feed?

Upvotes: 0

Views: 52

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038930

If the site doesn't provide some API to access its contents and you don't want to use iframes your only solution is to use site scraping: have a server side script that will send an HTTP request to the remote site, fetch the HTML, parse the HTML and pass it to your views. Obviously this could raise some copyright concerns so you should make sure that you have read the remote site policy about this. It is also extremely fragile and it might break at the moment the remote site changes its structure because you will be relying on HTML parsing.

Upvotes: 2

Related Questions