sub answers_com_history
{
   $html = shift;
   my( @rValue ) = ();
   my ( $title, $url, $blurb );

   $html =~ s/&amp;/&/gixs;
   #print $html;
   #exit;

    while( $html =~ s/
       <item>.*?                                                      
         <description>(.*?)<\/description>.*?
         <title>(.*?)<\/title>.*?
         <link>(.*?)<\/link>.*?
       <\/item>//six ) 
    {
        $title=$2;
        $url=$3;
        $description=$1;

        $title=~s/<\!\[CDATA\[//gsi;
        $title=~s/\]\]\>//gsi;
        if( $description =~ /.*?\((\d*)\)/ )
        {
            $description="$title " . "$description";            
            $title=$1;
        }
        $description=~s/<\!\[CDATA\[//gsi;
        $description=~s/\]\]\>//gsi;
        $description =~ s/&lt;.*?&gt;//gsix;
        $description=~s/(.*?)\(.*\)/$1/;
        
        print "title: $title\n";

        push @rValue, {
            'headline'     => $title,
            'description'  => $description,
            'url'          => $url,
        };

        # clean up after ourselves.
        undef($description);
        undef($url);
        undef($title);
    }

#   exit;

    return @rValue;


#   $html = shift;
#    my( @rValue ) = ();
#    my( $headline, $page, $date, $day, $blurb );

#    # condition the text so it's easier to parse
#    if( $html =~ /^.*?<!-- BODY BEGIN -->(.*)<!-- BODY END -->/gsi )
#    {
#        $html = $1;
#    }

#    while( $html =~ s/
#       <p>.*?<strong>
#          <a\ href=\"(.*?)\".*?>(.*?)<\/a><\/strong> # url, headline
#           .*?
#           <a.*?>(.*?)<\/a><\/strong>                # 
#           .*?                                       # noise
#           <span\ class="date">\(                    # more noise
#              (.*?)\)<\/span>                        # date
#           (.*?)                                     # blurb
#           <a\ href="(.*?)"                          # 
#        .*?<\/p>//six )
#    {

#       $date = $3;
#       $url = $1;
#       $headline = $2;
#       $blurb = $4;

#       push @rValue,
#       {
#          'date' => $date,
#          'url' => $url,
#          'headline' => $headline,
#          'blurb' => $blurb
#       };

#    }
#    return @rValue;
}

return 1;

