[#43369] dRuby に CGI を渡す→script_uri が上手く取得出来ない — 石井 大海 <banzaida@...>

こんばんは、konnです。

10 messages 2007/04/05

[ruby-list:43466] [ANN] isi-1.1.2 release!

From: NISHIMATSU Takeshi <t_nissie@...>
Date: 2007-04-30 01:51:34 UTC
List: ruby-list #43466
西松と申します。

isi-1.1.2をリリースしました。isiはISI社の巨大な学術論文データ
ベースのWeb of Science(大学等でライセンスがないと使えません。
ごめんなさい。)のタグのついた 出力ファイルをBibTeX形式に変換
するRubyスクリプトです。ライブラリとしても使えます。以前から
isi.rbやisi2bibtex.rbとして公開していたものです。

今回、gem化してrubyforge.orgに置かせてもらったので、RubyGems
ユーザの方も簡単にインストールできるようになりました。また、
いくつかの新しいタグにも対応しています。

http://rubyforge.org/projects/isi-rb からダウンロードできます。

たった200行ほどのプログラムなのに三文字のライブラリ名にして
名前空間を浪費してしまいしまい後悔しています。申し訳ありませ
ん。ご感想、ご意見などをお聞かせいただければ幸いです。

インストール方法などが書いてあるREADMEです:
== What is isi?
isi converts ISI Export Format to BibTeX Format.
This is a Ruby script. You can use isi as a library.

ISI Web of Science, http://portal.isiknowledge.com,
provides their bibliographic information in ISI Export Format.
You can get the tagged Marked List in Web of Science by
pushing the [SAVE TO FILE] button.

== Where is the homepage of isi?
http://isi-rb.rubyforge.org

== Where can I download isi?
Go to http://rubyforge.org/projects/isi-rb .

== How can I install isi?
There are three different ways to install isi.rb.
=== I. Conservative way; use setup.rb
isi-X.Y.Z.tgz package can be installed as:
  $ tar zxf isi-X.Y.Z.tgz
  $ cd isi-X.Y.Z
  $ su
  # ruby setup.rb
=== II. RubyGems users can take an easy way
There is an easy way, if you are a RubyGems user:
  $ gem install isi
=== III. Simple way; just copy isi.rb
Just copy lib/isi.rb (isi-X.Y.Z.rb) into your working directory which contains
your saved "Marked List", e.g. savedrecs.txt.
  $ cp lib/isi.rb   ~/your/working/directory/
 ($ cp isi-X.Y.Z.rb ~/your/working/directory/isi.rb)
  $ cd ~/your/working/directory/
  $ ruby isi.rb savedrecs1.txt savedrecs2.txt
  $ ruby isi.rb < savedrecs.txt > savedrecs.bib
Last two lines are examples of usage for this installation way.

Note that Text::Format (http://rubyforge.org/projects/text-format) is required.

== How can I use it?
=== Save the marked records to an output file in ISI Web of Science
Mark the articles in ISI Web of Science. Then, view and save the
marked records to an output file (savedrecs.txt). I recommend to
check "Author(s)", "Title", "Source", "abstract*", "keywords" and
"source abbreviation" as the fields to include in the output file.
=== Here are some examples
 % isi2bibtex savedrecs.txt
 % isi2bibtex savedrecs1.txt savedrecs2.txt > savedrecs.bib
 % isi2bibtex < savedrecs.txt > savedrecs.bib
 % cat savedrecs.txt | isi2bibtex > savedrecs.bib
=== You can use isi as a library.
 T.B.A.

== Copying
isi is distributed in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
You can copy, modify and redistribute isi,
but only under the conditions described in
the GNU General Public License (the "GPL").

== Thanks to contributor(s)!
* Marcin Dulak

== Who is the author?
NISHIMATSU Takeshi <t-nissie{at}imr.tohoku.ac.jp>

== Why did he write it?
Because he do not like the output format of the Perl version.

== Is there a Perl version?
Yes.
You can find the Perl version by Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
in CTAN http://www.ctan.org/tex-archive/biblio/bibtex/utils/isi2bibtex .

== I do not like the output format of isi2bibtex, neither!
The output format is defined in the source code WYSIWYGly.
So you can change by yourself easily.

== Meanings of tags in ISI Export Format:
See http://isibasic.com/help/helpprn.html .
=== file-unique tags
 FN: File type. The file starts with 'FN ISI Export Format'
 VR: Version number of ISI export file format
 EF: End of file
=== normal tags
 AB: Abstract
 AF: Authors Full (AU Foo, BAR -> AF Foo, B. A. R.; AU Nishimatsu, T -> AF Nishimatsu Takeshi)
 AR: Article number of new APS journals
 AU: Authors
 BP: Beginning page
 C1: Research addresses
 CR: Cited references
 DE: Original keywords
 DI: DOI
 DT: Document type
 EP: Ending page
 ER: end of a record
 GA: ISI document delivery number
 ID: New keywords given by ISI
 IS: issue
 J9: 29-character journal title abbreviation
 JI: ISO journal title abbreviation
 LA: Language
 NR: Cited reference count
 PD: Publication date e.g. "JUN 8" or "JUL"
 PG: the number of pages
 PI: Publisher city
 PN: Part number
 PT: Publication type (e.g., book, journal, book in series)
 PU: Publisher
 PY: Publication year
 RP: Reprint address
 SE: Book series title
 SI: Special issue
 SN: ISSN
 SO: journal title, in full
 SU: Supplement
 TC: Times cited
 TI: Title
 UT: ISI unique article identifier
 VL: Volume
 WP: Publisher web address
=== isi original tags
 UR: URL

== Known bugs
* none.

== TODO
* Write papers, not tools for writing papers.

-- 
love && peace && free_software 
西松タケシ 



In This Thread

Prev Next