NYCPHP Meetup

NYPHP.org

[nycphp-talk] help with scraping a page

Joel De Gan joel at tagword.com
Wed Apr 21 14:58:06 EDT 2004


I do something similar here:
http://lucifer.intercosmos.net/?view=REFS

Here is the source:
http://lucifer.intercosmos.net/?view=SNIP&item=91

-joel

On Wed, 2004-04-21 at 13:29, yury at heavenspa.com wrote:
> 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
-- 
joeldg - developer, Intercosmos media group.
http://lucifer.intercosmos.net




More information about the talk mailing list