Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cont... ? on Coping Content of Webpage and Email

Status
Not open for further replies.

Govnor

Technical User
Sep 3, 2002
55
GB
Hi,

What I am doing:-
What I want to do is use someone else’s search engine and make it look like my website is doing the work! I can make the submit page (where the search criteria is entered) but the result will come back in the other persons web page.


What I need:-
What I was thinking is without letting the Web user know (the web user is the person that is entering in the search criteria), I would copy the content of the Results web page (i.e. the Text) and paste it into an input box, where the user can view the content,

NEXT I would allow the Web user to email the content of the input box, also allow the web user to have another input box where he/she could enter some comments.

BUT I want the code to do this automatically for the user so the user will think that my website is doing all the work.



Please note: I cannot edit the code of the search results page, but I can edit the submit form (where the user enters there search criteria). Also I can make more web pages and alter my needs (what i need:).

Thanks, if you can help me.

(p.s. thanks to HowardMarks for getting back to me, I hope I have explained this in more detail)
 
Hi,

Would it not be a lot simpler to just install your own search engine? there's lots of free ones out there.

Also does this "other person" know you are using/planning to use his search engine?


É

- :: my FIRST site in XHTML, comments/ criticism/ questions much appreciated!! :)
-
 
I dont think theres much of a way around this.

If the results page accepted the search criteria as a querystring, it would be possible for you to use XML and the DOM object to 'grab' the outputted html that is produced when the search page is called, and save this for you to use in any way you like.

Of course, even with this method, you would not simply get the results, but any other html (headers, footers etc) that are on that page as well, and as the form data usually must be posted rather than 'getted' this probably would work anyway.

I agree with cian, why not try to make your own search or just use a free one. A lot of free ones you can alter so they even look like they're part of your site. Nick (Web Developer)


nick@retrographics.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top