Hi,
Somewhere on these boards I read someone's suggestion to use altavista.cgi for searching amazon.
I had made little modifications and it works fine.
www.gldev.com/cgi-bin/amazon.cgi?query=hello
I'm pretty bad at perl so i wanted to ask if anyone could help me change the design of the results.
So far i just made it change the url of the book to add my tag.
Is there any way to cut off the tables from the html with perl?
The page is set up like this
<table> top navigation </table>
<table>
<tr>
<td> left nav <td><td> results </td>
</tr>
</table>
What i want to do is remove the top and left navigation.
Is it possible to use regular expressions like =~ s/<table anything /table>/ /g; To remove those parts.
I hope this is clear enough.
Any help is appreciated.
(i changed all the borders to 1 so it is easier to understand how the page is constructed)
[This message has been edited by GL (edited April 02, 1999).]
Somewhere on these boards I read someone's suggestion to use altavista.cgi for searching amazon.
I had made little modifications and it works fine.
www.gldev.com/cgi-bin/amazon.cgi?query=hello
I'm pretty bad at perl so i wanted to ask if anyone could help me change the design of the results.
So far i just made it change the url of the book to add my tag.
Is there any way to cut off the tables from the html with perl?
The page is set up like this
<table> top navigation </table>
<table>
<tr>
<td> left nav <td><td> results </td>
</tr>
</table>
What i want to do is remove the top and left navigation.
Is it possible to use regular expressions like =~ s/<table anything /table>/ /g; To remove those parts.
I hope this is clear enough.
Any help is appreciated.
(i changed all the borders to 1 so it is easier to understand how the page is constructed)
[This message has been edited by GL (edited April 02, 1999).]