Sist02
This gem provides easy way to make SIST-02 formed references.
Sist02::CiNii is based on caps
Related works
Command line interface is here.
Web application is here and available on here.
Installation
Add this line to your application's Gemfile:
gem 'sist02'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sist02
Usage
You get naid in cinii article page.
naid is following (please input as String).
require 'sist02'
naid = "110009886645"
p Sist02::CiNii.article_ref(naid)
naid = "40020388722"
p Sist02::CiNii.article_ref(naid)
ncid = "BB18507477"
p Sist02::CiNii.book_ref(ncid)
=> "まちライブラリー, マイクロ・ライブラリーサミット実行委員会, 礒井純充. マイクロ・ライブラリー : 人とまちをつなぐ小さな図書館. 学芸出版社, 2015, 238p."
naid = "500000587337"
p Sist02::CiNii.dissertations_ref(naid)
=> "今井, 福司. 日本占領期におけるアメリカ学校図書館の導入 : 日米の学校教育実践における学校図書館の位置づけ. 東京大学, 2013, 博士論文."
or
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
to create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing
- Fork it ( https://github.com/[my-github-username]/sist02/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request