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?
clone website help
Moderator: General Moderators
Re: clone website help
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.
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
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
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.
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
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.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
Re: clone website help
I'd use soemthing like yahoo if I were you. I think they give news feeds for free....
Re: clone website help
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