index.txt

Path: website/index.txt
Last Update: Thu Dec 13 22:56:52 +0900 2007
dot/f_0.png

h1. KanpouWatcher

h2. What

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

h2. Installing

<pre syntax="ruby">sudo gem install kanpou-watcher</pre>

h2. API document

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

h2. The basics

<pre syntax="ruby"> 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

</pre>

h2. Demonstration of usage

Downloads Kanpous in this week:

<pre>% kanpou-watcher -d $HOME/kanpou</pre>

h2. Forum

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

h2. How to submit patches

Read the "8 steps for fixing other people‘s code":drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.

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

h2. License

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

h2. Contact

Comments are welcome. Send an email to "Keita Yamaguchi":keita.yamaguchi@gmail.com or the "forum":groups.google.com/group/kanpou-watcher

h2. Links

[Validate]