- Timestamp:
- 09/09/08 01:47:36 (2 months ago)
- Location:
- lang/ruby/misc/toshokan/trunk
- Files:
-
- 3 modified
-
README.ja (modified) (1 diff, 1 prop)
-
bin/config.rb (modified) (2 diffs)
-
bin/crawler.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/misc/toshokan/trunk/README.ja
- Property svn:mime-type deleted
r11593 r19020 23 23 * 準備 24 24 25 インストール(コピー)したディレクトリの bin/toshokan.txt のI dをPasswordを25 インストール(コピー)したディレクトリの bin/toshokan.txt のIDとPasswordを 26 26 編集する。 27 27 -
lang/ruby/misc/toshokan/trunk/bin/config.rb
r11593 r19020 24 24 fp.each_line do |line| 25 25 line.strip! 26 next if line =~ /^#/; 27 next if line == "" 26 next if line =~ /^(?:#|$)/; 28 27 libcode, id, password = line.split(":") 29 28 libcode.upcase! … … 46 45 end 47 46 end 48 49 50 51 -
lang/ruby/misc/toshokan/trunk/bin/crawler.rb
r11593 r19020 36 36 out = ARGV[1].nil? ? "./toshokan.html" : ARGV[1] 37 37 File.open(out, "w") do |fp| 38 tmpl = '<html><head><meta http-equiv="content " content="text/html; charset=UTF-8"><title>TOSHOKAN</title></head><body>%s</body></html>'38 tmpl = '<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>TOSHOKAN</title></head><body>%s</body></html>' 39 39 fp.write(tmpl % buffer) 40 40 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)