Page 1 of 1
clone website help
Posted: Mon Jul 20, 2009 10:39 am
by doforumda
hi
i want to clone a news website. what i want is the news website should be cloned and open in my site and when the user click on any link that link should also clone and open in a new window in my site.
how can this be achieved?
Re: clone website help
Posted: Mon Jul 20, 2009 10:52 am
by jackpf
How do you mean clone?
You mean like...an iframe, or using PHP?
If the latter, you should use cURl.
Although I don't see the point in cloning a page, when it obviously already exists. Plus, it's probably not legal.
Re: clone website help
Posted: Mon Jul 20, 2009 11:36 am
by doforumda
well i want to clone the news from a news website so i will place that news in my site by giving the reference of the official website
Re: clone website help
Posted: Mon Jul 20, 2009 12:01 pm
by jackpf
Oh right.
Well, if you just want to display the full page, then you can use curl.
If you want to extract part of it, or read an xml feed you'll probably have to use something like DOM.
Re: clone website help
Posted: Mon Jul 20, 2009 2:15 pm
by califdon
doforumda wrote:well i want to clone the news from a news website so i will place that news in my site by giving the reference of the official website
For your sake, I hope you have written permission to do that from the news website. I'm not a lawyer, but I believe they can sue you for stealing their content. And it's extremely easy for them to trace you.
Re: clone website help
Posted: Mon Jul 20, 2009 2:36 pm
by jackpf
I'd use soemthing like yahoo if I were you. I think they give news feeds for free....
Re: clone website help
Posted: Mon Jul 20, 2009 4:46 pm
by Benjamin
If the news provider doesn't offer RSS feeds or an API of some sort, I can say with almost certainty that you are violating the TOS.

Locked