Subject: | patch for version tracker (diff) |
[module version]
Mail-VersionTracker-1.10
[perl version]
This is perl, v5.8.4 built for i386-netbsd
[os version]
NetBSD pulstar 2.0H NetBSD 2.0H
[error warning message]
Couldn't parse newsletter structure (body).
Please contact the author of Mail::VersionTracker at <afoxson@pobox.com>
if you believe that the module has failed to parse a genuine freshmeat
newsletter.
The above error occurred at /home/murphy/PerlLib/lib/Mail/VersionTracker.pm line 80
[shortest code]
it is in the attached diff file for "VersionTracker.pm"
[suggestion]
add some info in the help file that the "newsettler has to be as TEXT (not HTML) file". The manual page did not mention it, but this is quite important.
84c84,85
< ^ -{31} \s* $ \n
---
> ^ UPDATES $ \n
> ^ =* \s* $ \n
89c90
< ^ (?:=\-){9} \s Special\ Advertisement\ Section \s (?:\-=){11} -? \s* $ \n
---
> ^ Editors' \s Picks $ \n