mailslash.pl -- slashdot.jp checker
v0.11 - Beta release
mailslash.pl {--direct|--local} [--echo] [--refresh] [--proxy=SERVER] [--uri=URI] [--file=FILE] [--db=DBFILE] [--subject=SUBJ] [--from=ADDRESS] [--to=ADDRESS] [--story]
If you want to check updates with file 'slashdot.rdf', you can type like following:
perl mailslash.pl --uri='http://slashdot.jp/slashdot.rdf' --direct --from='your-address@somewhere.example.com' --to='somewhere@somewhere.example.com' --db=slashdot.db
You can put any file name for --db option, but if you want to check continuously, you have to put the same file name as you put before. Note that above is the most basic options. If you have to access internet via proxy, type:
perl mailslash.pl --proxy='proxy.example.com:80' --uri='http://slashdot.jp/slashdot.rdf' --direct --from='your-address@somewhere.example.com' --to='somewhere@somewhere.example.com' --db=slashdot.db
Yes, you have to change the server name, other than 'proxy.example.com'. And if you also want the story inserted, type:
perl mailslash.pl --proxy='proxy.example.com:80' --uri='http://slashdot.jp/slashdot.rdf' --direct --from='your-address@somewhere.example.com' --to='somewhere@somewhere.example.com' --db=slashdot.db --story
If you want to check more frequently than every 30 minutes, you have to download comments.pl:
perl mailslash.pl --proxy='proxy.example.com:80' --uri='http://slashdot.jp/comments.pl' --direct --from='your-address@somewhere.example.com' --to='somewhere@somewhere.example.com' --db=slashdot.db --story
If you just want output to your terminal, add --echo option:
perl mailslash.pl --proxy='proxy.example.com:80' --uri='http://slashdot.jp/comments.pl' --direct --db=slashdot.db --story --echo
You can download tarball from SourceForge website: http://sourceforge.net/projects/mailslash/
When you decompress the tarball, you'll have files named ``mailslash.pl'' and ``mailslash.html''. Put mailslash.pl at any directory you wish. You have to install HTTP::Lite, Mail::Sendmail and Unicode::Japanese before using mailslash.pl. These are perl modules, and you can download them from CPAN mirrors.
See EXAMPLE for command line options.
Copyright k3c(k3c@users.sourceforge.net)
2001, All Rights Reserved.
This program is distributed under The Artistic Licence. for details about the license, see http://www.opensource.org/licenses/artistic-license.html.
Version-up history.
Ignore case sensitivity for <BR> tag.
--story option problem is deleted from KNOWN PROBLEM section. Bra bra! :-)
INSTALLATION section is introduced.
Anchor tag is removed and stored as footnote at end of each story.
Other tags are removed from the story.
Known but not solved problems.