Jump to content

Finding words in a given site and replace them to links


werushka

Recommended Posts

so you want to read from an outside website (ex: http://www.google.com/search?hl=en&q=Tvscreens ) parse all specific words like Tvscreens, replace the words in HTML with hyperlink , landing page of which you can specify and put these replacements back on the website? OR do you want to take the HTML, replace words with links and write it to a local file, which you can use in your own website?

 

Initial case is not possible as u cannot write to pages of a website that does not beling to you, later case is possible, if u need that then it is easy to do

- read url using any file read command

- ereg_replace words with links

- write to a file.

 

OR may be i completely misunderstood what u r looking for :D

samshel actually you totally got it the onlyting is that the owner of the site will be putting a simple javascript to their .html so than I think I will solve "Initial case is not possible as u cannot write to pages of a website that does not beling to you" this problem.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.