On Tue, Jan 5, 2010 at 6:39 AM, Robert lzw <[email protected]> wrote:
> The following question may not be relevant to this mailing list, but I
> hope someone might help me. Under one folder of my Windows XP machine,
> I have thousands of html files, from F0001.html to F9000.html, and
> want to parse them one by one. Is there a way of doing this with
> hpricot (ruby on rails) like we can to with the following cmd command
> (download and save as DEG20010779.html to 20010780) on windows?
>
> FOR /L %I IN (20010780,-1, 20010779) DO wget -O DEG%I.html
> http://xyz.com/information-e.php?ac=DEG%I
>
> In other words, I want to do this using hpricot (ruby on rails):
>
> while loop (this file not parsed)
>        Load.File(every file under C:\mydir);
>        parser(File)
>        Load.File(nextFile)
> endof the loop
>
> The files to be parsed are: F0001.html to F9000.html under C:\mydir.

Yeah, we really have no clue what a "ruby" library for "parsing" html
files could possibly have to do with a "C++" library for "generating"
html files.  Do they not have their own mailing list or forum?

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to