I have been working on a little script which I think could be helpful for alot of people here but would like to see if either anyone else has done it or has any ideas.
I am going out and grabbing a webpage with XML splitting up the header and footer information so I can insert the sites layout I input with a body I specify.
So far I have this working in a way. It imports the sites HTML and splits up the header and footer by finding a special tag called #IMPORTBODY# which the header is before it and the footer is after it.
PROBLEM: With some many sites being written with all different ways of HTML I am finding it very hard to get all images, JS, CSS, Background images, links and everything else working correctly.
If anyone would be intersted in helping it would be great. When I get this done I will be putting it up to download it and would like to import a version into snitzbitz.com to help people make the inc_header.asp and inc_footer.asp files.
I have moved the testing over to a new URL since I have done alot of reworking of it. As of right now the #IMPORTBODY# does not work, just trying to get all the links, images, css, js, flash and everything working.
Well this script is really not a way to import website's to grab text/email address. I am working on a site where one of the dealers can type in there web address and my script will go out and grab there layout and save it into the database. Then when they link to this website from there site it will display the site with there layout by with the content for the products so its always updated and will look like there site so there users will only be able to notice they left the site by looking at the URL.
Hopefully I didn't loose you while trying to explain this. The script does work pretty well but still having problems with the script which hopefully will get everything working perfectly so there are no problems with the script. When its done I will be posting it for a free download for anyone that wish's to see / use it.