KanpouWatcher

Get Version

0.1.0

What

KanpouWatcher provides a tool and library to download Kanpou(Japanese official gazette) PDF files.

Installing

sudo gem install kanpou-watcher

API document

http://kanpou-watcher.rubyforge.org/rdoc/

The basics

KanpouWatcher.week.each do |kanpou|
  kanpou.pdf.each do |url|
    puts kanpou.date.to_s + " " + kanpou.label + ": " + url.to_s
    # => ex. 2007-12-10 本紙(4726号):  .../20071210h047260002.pdf
  end
end

Demonstration of usage

Downloads Kanpous in this week:

% kanpou-watcher -d $HOME/kanpou

Forum

http://groups.google.com/group/kanpou-watcher

How to submit patches

Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.

The trunk repository is svn://rubyforge.org/var/svn/kanpou-watcher/trunk for anonymous access.

License

This code is free to use under the terms of the Ruby license.

Contact

Comments are welcome. Send an email to Keita Yamaguchi or the forum

Links

Keita Yamaguchi, 13th December 2007
Theme extended from Paul Battley