>From: "Mark R. Bowyer" <[EMAIL PROTECTED]>

>The problem is that they've removed all the extrenuous whitespace in their 
>output, so all the hard-coded \s's in the REs weren't matching on anything, so 
>all the values were being missed =O{
>
>Attached is a fixed Handler, although I've not touched the headers from what I 
>downloaded fresh just before fixing it.


Note that I'd only fixed the entries used for the standard output from this 
filter.  Since I'd figured out how it worked, I decided to frig it so it output 
the data exactly how *I* wanted it, and found the rest of the data wasn't being 
got right either.

I'd post my final fix, but since I've also fixed it up to remove "More Info" and 
replace it with "Day's Range" and "Market Cap.", plus I've returned the 
functionality of having the ticker name link to the Yahoo page for it, I don't 
think that's too good an idea.

Here are the lines out of the file, though:

    my ($days_range, $bid, $ask, $open, $avg_vol, $ex_div) = $item
      =~ /Day's 
Range<br>(.*?)<\/td.*?<br>(.*?)<\/td.*?<br>(.*?)<\/td.*?<br>(.*?)<\/td.*?<br>(.*
?)<.*?<br>(.*?)</si;
#                          dr              bid              ask              
open          avg_vol         blah
    my ($year_range, $earn_share, $pe, $market_cap, $div_share, $yield) = $item
      =~ 
/<tr.*?<tr.*?<tr.*<td.*?>.*?<br>(.*?)<\/td.*?<br>(.*?)<.*?<br>(.*?)<.*?<br>(.*?)
<.*?<br>(.*?)<.*?<br>(.*?)</si;


Make of that as you will, remembering my mail tool will have added a return 
every 80 chars ;O)

Ta,
Mark.


-
If you would like to unsubscribe from this mailing list send an email to 
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist 
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at 
http://www.NewsClipper.com/TechSup.htm#MailingList.

Reply via email to