<?xml version="1.0" encoding="windows-1252"?>
<node id="1007777" title="problem HTML::FormatText::WithLinks::AndTables" created="2012-12-07 11:21:47" updated="2012-12-07 11:21:47">
<type id="115">
perlquestion</type>
<author id="633091">
kevind0718</author>
<data>
<field name="doctext">
Hello Kind Monks:&lt;br&gt;&lt;br&gt;

I hope you will have time for my dilemma.  

I need to parse HTML tables.&lt;br&gt;
Like the data found at this link: http://www.databasefootball.com/boxscores/scheduleyear.htm?yr=1985&amp;lg=nfl&lt;br&gt;

So I installed the module HTML::FormatText::WithLinks::AndTables;&lt;br&gt;
Which came really close to doing what I need.&lt;br&gt;

After downloading the source for the above page, I ran it through a bit of code and got the following:
&lt;code&gt;


   1985 NFL Season Scores, Schedules and Playoffs

   [1]1986 1985 [2]1984

    Week 1                                          

    Sunday, September 8                             

    [1]IND                                            3  at [1]PIT                                        45      [1]BOX                                                           
                                                                                                                                                                                   
                                                                                                                                                                                   
                                                                                                                                                                                   
    1. /teams/teamyear.htm?tm=IND&amp;lg=NFL&amp;yr=1985         1. /teams/teamyear.htm?tm=PIT&amp;lg=NFL&amp;yr=1985             1. /boxscores/gamedata.htm?dy=8&amp;mth=9&amp;yr=1985&amp;tm=PIT&amp;lg=NFL      

    [1]SDG                                           14  at [1]BUF                                         9      [1]BOX                                                           
                                                                                                                                                                                   
                                                                                                                                                                                   
                                                                                                                                                                                   
    1. /teams/teamyear.htm?tm=SDG&amp;lg=NFL&amp;yr=1985         1. /teams/teamyear.htm?tm=BUF&amp;lg=NFL&amp;yr=1985             1. /boxscores/gamedata.htm?dy=8&amp;mth=9&amp;yr=1985&amp;tm=BUF&amp;lg=NFL      

    [1]DEN                                           16  at [1]LAM                                        20      [1]BOX                                                           
                                                                                                                                                                                   
                                                                                                                                                                                   
                                                                                                                                                                                   
    1. /teams/teamyear.htm?tm=DEN&amp;lg=NFL&amp;yr=1985         1. /teams/teamyear.htm?tm=LAM&amp;lg=NFL&amp;yr=1985             1. /boxscores/gamedata.htm?dy=8&amp;mth=9&amp;yr=1985&amp;tm=LAM&amp;lg=NFL      

    [1]PHI                                            0  at [1]NYG                                        21      [1]BOX                                                           
                                                                                                                                                                                   
                                                                                                                                                                                   
                                                                                                                                                                                   
    1. /teams/teamyear.htm?tm=PHI&amp;lg=NFL&amp;yr=1985         1. /teams/teamyear.htm?tm=NYG&amp;lg=NFL&amp;yr=1985             1. /boxscores/gamedata.htm?dy=8&amp;mth=9&amp;yr=1985&amp;tm=NYG&amp;lg=NFL      

    [1]SLC                                           27  at [1]CLE                                        24  OT  [1]BOX                                                           
                                                                                                                                                                                   

&lt;/code&gt;&lt;br&gt;
This close to what I need.  Problem  the URLs are striped out into "footnotes", but they are all &amp;#91;1&amp;#93;.  Makes it a bit of a bummer to line up the table contents with the corresponding URL.  &lt;br&gt;  Can be done, but I was expecting the footnotes to come through as &amp;#91;1&amp;#93;,  &amp;#91;2&amp;#93;,  	&amp;#91;3&amp;#93;.&lt;br&gt;
Hoping somebody has more experience with this module than I do.&lt;br&gt;&lt;br&gt;

thanks in advance&lt;br&gt;&lt;br&gt;

KD


</field>
</data>
</node>
