This is what I'd like to achieve:
- User input URL (http://google.com for example)
- GET the page, and render it on my own domain
- Traverse the DOM (Using JS) and all that jazz
The problem is I don't want to use an iFrame, because then I can't traverse the DOM of the page loaded.
The only solutions I can think of is to parse the page for relative URL's, and set them as absolute. Might not work everywhere. Another way is to run wget and save everything (even images) in a temporary folder. Scaling this would be impossible.
Any other ideas?