View Single Post
Old 04-23-2005, 01:00 AM   #6
21C
Major Leagues
 
Join Date: Mar 2003
Location: Newcastle, Australia
Posts: 303
Quote:
Originally Posted by gmo
That is a nice little thing to make.

Here's an idea that I would think would be feasible if the program works the way I would figure it does (though since I do not know, maybe it is not). Have the program write another file that includes just the waivers and have it put a link at the top of the "cleaned up" transactions file to that waivers-only file, which in turn links to the transactions page. Similarly, perhaps the various types of transactions can be separated out into different files.
I'll give it a try but I can't promise. I think I'll have problems with trades.

Waivers were easy because I just had to search for any line that had the word 'waiver' in it. Contract signings, player releases and trading block announcements ( any others? ) should be easy enough since they get reported on a single line.

Trades will be problematic because they go over several lines, like:
Quote:
1 <b>Trade between Minnesota and Pittsburgh :</b>
1 Pittsburgh gets :
1 CF <a href=p468.html>Torii Hunter</a>
1 P <a href=p86.html>Johnny King</a>
1 LF <a href=p2301.html>Julian Zamora</a>
1 $2,200,000 cash.
1 Minnesota gets :
1 P <a href=p1456.html>Ian Oquendo</a>
Quote:
1 <b>Trade between Kansas City and Pittsburgh :</b>
1 Pittsburgh gets :
1 P <a href=p1013.html>Ben Sheets</a>
1 Kansas City gets :
1 RF <a href=p1463.html>Tony Alvarez</a>
Actually, it could work out OK since I'd just have to search for the other items and trades should be whatever's left. I'll see what I can do but I won't promise in case I can't deliver.
21C is offline