NYCPHP Meetup

NYPHP.org

[nycphp-talk] help with scraping a page

yury at heavenspa.com yury at heavenspa.com
Wed Apr 21 13:36:24 EDT 2004


DOH! "Scraping/scrape" not scrap.. lol

geez.. i need coffee.

yury
  ----- Original Message ----- 
  From: yury at heavenspa.com 
  To: NYPHP Talk 
  Sent: Wednesday, April 21, 2004 1:29 PM
  Subject: [nycphp-talk] help with scraping a page


  http://www.google.com.au/search?q=neopets

  Lets say i have a page with lots of links ( a few hunderd)  like the google search above. I'd like to scrap the page and grab the search term only and add it to my site in this fashion:

  http://www.site.com/search/search.php?qry_str=neopets

  and 

  http://www.site.com/buy/buy.php?qry_str=neopets

  can anyone give me a quick and dirty way of accomplishing this? I was thinking that each php page has its own scrap code at the top, so once you load the page it scraps the appropriate page and spits out my results..

  I'd prefer to NOT use a db.. suggestions?

  tia
  yury

  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Yury Rush  
  Senior Web Designer
  heavenspa.com
  Yury at heavenspa.com
  +1212.244.0010


------------------------------------------------------------------------------


  _______________________________________________
  talk mailing list
  talk at lists.nyphp.org
  http://lists.nyphp.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040421/0762b458/attachment.html>


More information about the talk mailing list