nicpon has asked for the wisdom of the Perl Monks concerning the following question:
I have about 3000 html files on my drive, each of them has item name, description,size, price etc. I want to move it all into the database. How should i create a script that would do the following or maybe you guys have seen script like this:
Since I'm new to perl, I'm still struggling with regular expressions and I think they are crucial for this little project. So the big question is how do I pick the lines I want from these html files? I know there is some patter ie the description always starts wits "Description:"
janitored by ybiC: Retitle from "Looking for script help" to help site search results, also minor format and layout tweaks for legibility.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Particular HTML contents to CSV or DB
by pboin (Deacon) on Aug 25, 2005 at 15:04 UTC | |
Re: Particular HTML contents to CSV or DB
by pbeckingham (Parson) on Aug 25, 2005 at 15:07 UTC | |
Re: Particular HTML contents to CSV or DB
by sk (Curate) on Aug 25, 2005 at 15:09 UTC | |
Re: Particular HTML contents to CSV or DB
by nicpon (Initiate) on Aug 25, 2005 at 15:44 UTC | |
by ww (Archbishop) on Aug 25, 2005 at 15:48 UTC | |
by Ctrl-z (Friar) on Aug 26, 2005 at 15:03 UTC | |
Re: Particular HTML contents to CSV or DB
by jZed (Prior) on Aug 25, 2005 at 15:47 UTC | |
Re: Particular HTML contents to CSV or DB
by nicpon (Initiate) on Aug 25, 2005 at 16:07 UTC | |
Re: Particular HTML contents to CSV or DB
by tphyahoo (Vicar) on Aug 25, 2005 at 16:22 UTC | |
Re: Particular HTML contents to CSV or DB
by nicpon (Initiate) on Aug 25, 2005 at 18:19 UTC |