in reply to Table Manipulation
The functionality bridging between HTML table extraction and the creation of the element structures is fairly new. I'd appreciate any feedback you have.
In the meantime, I recommend using version 2.06 of HTML::TableExtract at minimum.
Cheers,
Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Table Manipulation
by PerlPilgrim (Acolyte) on Oct 20, 2005 at 02:51 UTC | |
I use pair for web hosting, and they have v.1.08, which is probably why it didn't like the tree method, right? I asked them to upgrade to the latest, and so I'll get back to it when they finish. (I figured installing a local copy was a bit silly if they already have the module installed, even an older version.) I still don't have a code sample of my regexp implementation, I'll get to it sooner or later. I'll try to give you feedback, if I can figure out what is due to my inexperience and what is not. I look forward to trying this out! Thanks again, Mark | [reply] [d/l] |
|
Re^2: Table Manipulation
by PerlPilgrim (Acolyte) on Oct 25, 2005 at 18:16 UTC | |
I have finally gotten TableExtract and (hopefully) all prerequisites installed in my local directory at pair networks, since they didn't seem too keen on installing them centrally for some reason. That done, I have a small snippet of the entire script that I will post here. (The rest of the script is not relevant to this process nor this discussion.) I think this should be enough to stand alone, and at least get the point across. I am getting the following message when I run the script, which tells me that something isn't installed quite right, I think. (Nice how they tell me to contact myself when something goes wrong, I always get a good laugh out of that.) What I am doing is to get a feel for the module by trying out one of your examples on an excerpt of the HTML that I will eventually be processing. I started by commenting out everything, then un-commenting one line at a time. It's the $te->parse($html); line where things stop working. Here is the snippet: (Once I am able to manipulate tables, I will be using the STOCK_NO field to grab data from a database, and add a price and shopping cart button to the table. This part will be no sweat.) Any feedback? Thanks in advance! Regards, Mark | [reply] [d/l] [select] |