[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how do i check ads/images present on the web page

er.yogeshkhandelwal

4/28/2009 2:33:00 AM

I need to check all the ads/images present on the webpage.They all are
coming from different locations,need to verify ,all images are loading
fine,no 404/302 error, also need to check the magic no is coming
correctly for that image.

you can use http://fa... as a input url.

Thanks,

Yogesh
1 Answer

Srijayanth Sridhar

4/28/2009 2:44:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

Is this a quiz or a query?

Get yourself hpricot, do some scraping using it on irb, and determine some
basic heuristics/regexes for figuring out what css paths might refer to ads
etc.

Jayanth

On Tue, Apr 28, 2009 at 8:05 AM, yogesh <er.yogeshkhandelwal@gmail.com>wrote:

> I need to check all the ads/images present on the webpage.They all are
> coming from different locations,need to verify ,all images are loading
> fine,no 404/302 error, also need to check the magic no is coming
> correctly for that image.
>
> you can use http://fa... as a input url.
>
> Thanks,
>
> Yogesh
>
>