javascript solution to display relavant ads (sth like AdSense)
<p>I would like to place relevant ads on the product pages of an ecommerce site. I know that usually such ads are stored in a database table that links the given product and the ads. But now I wonder if it's possible to code a similar system with javascript. I mean something like a script that is loaded with the page and it parses the given page's content, looks for keywords (relevant words) and uses these keywords to query a database for ads to display. It'd be something like Google AdSense... but I am not sure how that works. Do you think it's possible to develop such a system? Anybody here who ever tried to code it? (Btw is it possible to parse a page with javascript at all?)</p>
