Changeset 7801 for platform/tdiary/util/estraier-search
- Timestamp:
- 03/11/08 20:12:21 (5 years ago)
- Location:
- platform/tdiary/util/estraier-search
- Files:
-
- 5 modified
-
ChangeLog (modified) (1 diff)
-
estraier-register.rb (modified) (2 diffs)
-
estraier-search.rb (modified) (2 diffs)
-
estraier.rhtml (modified) (1 diff)
-
estraier.rxml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/util/estraier-search/ChangeLog
r4633 r7801 3 3 * estraier-search.rb: add override whatsnew plugin. 4 4 5 2007-02-19 SHIBATA Hiroshi <h-sbt@nifty.com>6 7 * merge from Test_UTF8.8 9 5 2007-02-18 Kazuhiko <kazuhiko@fdiary.net> 10 6 -
platform/tdiary/util/estraier-search/estraier-register.rb
r7692 r7801 1 1 #!/usr/bin/env ruby 2 # estraier-register.rb $Revision: 1. 3 $2 # estraier-register.rb $Revision: 1.1.2.13 $ 3 3 # 4 4 # Copyright (C) 2007 Kazuhiko <kazuhiko@fdiary.net> … … 23 23 24 24 def usage 25 puts "hyper-estraier-register.rb $Revision: 1. 3 $"25 puts "hyper-estraier-register.rb $Revision: 1.1.2.13 $" 26 26 puts " register to hyper-estraier index files from tDiary's database." 27 27 puts " usage: ruby hyper-estraier-regiser.rb [-p <tDiary directory>] [-c <tdiary.conf directory>]" -
platform/tdiary/util/estraier-search/estraier-search.rb
r7692 r7801 1 1 #!/usr/bin/env ruby 2 # estraier-search.rb $Revision: 1. 4$2 # estraier-search.rb $Revision: 1.1.2.12 $ 3 3 # 4 4 # Copyright (C) 2007 Kazuhiko <kazuhiko@fdiary.net> 5 5 # You can redistribute it and/or modify it under GPL2. 6 6 # 7 $KCODE= 'u' 7 8 BEGIN { $defout.binmode } 8 9 9 require " misc/lib/estraierpure"10 require "estraierpure" 10 11 require "enumerator" 11 12 require "date" … … 94 95 t = Time.now 95 96 cond = create_search_options 96 cond.set_phrase( @query)97 cond.set_phrase(convert(@query)) 97 98 @result = @db.search(cond, 0) 98 99 @secs = Time.now - t -
platform/tdiary/util/estraier-search/estraier.rhtml
r5060 r7801 51 51 <h3><a href="<%= @conf.index %><%= @plugin.anchor(@date) %>"><%= @conf.section_anchor %></a><%= @conf.to_native(@title) %></h3> 52 52 <p> 53 <%= @conf.to_native(@summary , "utf-8") %>53 <%= @conf.to_native(@summary) %> 54 54 </p> 55 55 </div> -
platform/tdiary/util/estraier-search/estraier.rxml
r5060 r7801 16 16 <link><%= @conf.base_url %><%= @plugin.anchor(@date) %></link> 17 17 <pubDate><%= _(CGI.rfc1123_date(Time.parse(@last_modified))) %></pubDate> 18 <description><%= _(@conf.to_native(@summary , "utf-8")) %></description>18 <description><%= _(@conf.to_native(@summary)) %></description> 19 19 <guid><%= @conf.base_url %><%= @plugin.anchor(@date) %></guid> 20 20 </item>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)