tdiary-blogkit 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fed7a8e5927f142c15c0f08a67a9abfb24e22e6
4
- data.tar.gz: 31305cc43ec4ab1da945dd9d3946cf50de633115
3
+ metadata.gz: 576eb10416dfe7ab894d6a755bb09a4581cb48b3
4
+ data.tar.gz: 7930fa8fa513af7ecf9bf7a2db4b1b4fffec5f77
5
5
  SHA512:
6
- metadata.gz: e052c7286aead737e98d49aa5c1a8e0d757ca20230e8001ad251a49a6db3adcd9f1d75fecd75d4694e09cbc433cabe7221e846b87e9af36aa66696a59f24db84
7
- data.tar.gz: 8624f9131606ac7eb3889b2fd99b7fdd3d3d58d9f5ba89bb962604f7aa7e585e959b8c7f09c5c5298f0789f2c03e28477c5332f2b72f40a8fd112b69081ca032
6
+ metadata.gz: 59c36612af3dc5cf5e8771a7d948be2704154a54a909c7c6bf116c5a328a0d0ea42f9d6638ae8169b60809bd61e17e33c89b67a5142e50242f52636076055316
7
+ data.tar.gz: b5c7dfe231f488a68c05ddf346819042b15aedb75ada1b33faf18f881d5fc08c603e9a7502f0454c969d970f7e5ade8c2cdd5787afd5604eb0fabcb408b31a40
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ 2016-09-29 TADA Tadashi <t@tdtds.jp>
2
+ * release 5.0.2
3
+
1
4
  2016-06-29 TADA Tadashi <t@tdtds.jp>
2
5
  * release 5.0.1
3
6
 
@@ -12,19 +12,21 @@ tDiary BlogKit modifies tDiary. This modification enables tDiary to manage artic
12
12
 
13
13
  You can setup BlogKit without changing tDiary. It is only plugged-in.
14
14
 
15
- ## how to install
15
+ ## how to install (Running as CGI)
16
+
17
+ See "how to install (use gem)" section if you want to run tDiary + BlogKit with gem.
16
18
 
17
19
  First, you need tDiary that is installed. You must use tDiary version 2.1.3 or later. Here, it is assumed that you install tDiary under $INSTALL anew.
18
20
 
19
21
  ### Creating tdiary.conf
20
22
 
21
- Copy tdiary.conf.sample in BlogKit to $INSTALL/tdiary.conf. And, rewrite @data\_path in the tdiary.conf to your data saving directory. Read README of tDiary about @data_path.
23
+ Copy `tdiary.conf.sample` in BlogKit to `$INSTALL/tdiary.conf`. And, rewrite `@data_path` in the tdiary.conf to your data saving directory. Read README of tDiary about `@data_path`.
22
24
 
23
- ### Copy blog_style.rb
25
+ ### Copy `blog_style.rb`
24
26
 
25
27
  #### To use tDiary style
26
28
 
27
- Copy tdiary/blog_style.rb of BlogKit under $INSTALL/tdiary. You have to confirm there is "@style= 'Blog'" in your tdiary.conf.
29
+ Copy `tdiary/blog_style.rb` of BlogKit under `$INSTALL/tdiary`. You have to confirm there is "@style= 'Blog'" in your `tdiary.conf`.
28
30
 
29
31
  #### To use Wiki style
30
32
 
@@ -50,6 +52,20 @@ This option can have some pathes of plugins, 1st path is tDiary plugin collectio
50
52
 
51
53
  When you want to add a new topic, click 'Update' link at the bottom of the page. If you want to edit existing page, open the topic and click 'Edit' link at the bottom of the page.
52
54
 
55
+ ## how to install (use gem)
56
+
57
+ If you installed tDiary by gem, exec `tdiary new` command to make your diary, and move current directory to the diary. If you did not use tDiary gem, also make your diary and move current directory to it.
58
+
59
+ Edit `Gemfile.local` on the current directory, add a line below:
60
+
61
+ gem 'tdiary-blogkit'
62
+
63
+ (If you want to use any web server, you can specify into the same file.)
64
+
65
+ So, edit `tdiary.conf` file and change `@style` variable to 'Blog', 'BlogWiki' or 'BlogRD'.
66
+
67
+ Then exec tDiary: `tdiary server` command or your specified web server.
68
+
53
69
  ## About Plugins
54
70
 
55
71
  See each plugin file if you want more information.
data/README.md CHANGED
@@ -12,22 +12,25 @@ tDiary BlogKitは、tDiaryをblogのように日単位でなく記事単位で
12
12
 
13
13
  tDiary BlogKitは、tDiaryには影響を与えずに、すべてファイル追加のみで導入できます。
14
14
 
15
- ## インストール
15
+ ## インストール (CGIとして運用する場合)
16
+
17
+ このセクションでは、tDiary + BlogKitをCGIとして運用する場合のインストール方法を解説します。gemとしてインストールして独立したWebアプリケーションとして運用する場合は次の「インストール (gemを使う場合)」を参照してください。
16
18
 
17
19
  すでにtDiaryはインストール済みだとします。tDiaryは2.1.3もしくはそれ以降のできるだけ新しいものを推奨します。すでに運用中の日記ではなく、新たにblog系サイトを作るという前提で説明します。すでに運用中の日記に適用する場合には、tdiary.confのマージ作業などが必要になります(ただし日記とは管理単位が異なるので、すでにある日記にBlogKitを適用するのはオススメできません)。
20
+
18
21
  ### tdiary.confを作成
19
22
 
20
- 付属のtdiary.conf.sample\_jaを、tDiaryのインストールディレクトリにtdiary.confとしてコピーします。そして、@data\_pathをデータの保存場所に書き換えます。詳しくはtDiaryのドキュメントを参照してください。付属のサンプルには、ヘッダやフッタなどにblog風のレイアウト指定が施されています。これらのカスタマイズは、運用開始後に設定画面から行ってください。
23
+ 付属の`tdiary.conf.sample_ja`を、tDiaryのインストールディレクトリにtdiary.confとしてコピーします。そして、`@data_path`をデータの保存場所に書き換えます。詳しくはtDiaryのドキュメントを参照してください。付属のサンプルには、ヘッダやフッタなどにblog風のレイアウト指定が施されています。これらのカスタマイズは、運用開始後に設定画面から行ってください。
21
24
 
22
- tdiary.conf.sample_jaは日本語向けのサンプルです。英語向けにはtdiary.conf.sampleを使ってください。
25
+ `tdiary.conf.sample_ja`は日本語向けのサンプルです。英語向けには`tdiary.conf.sample`を使ってください。
23
26
 
24
27
  ### スタイルをコピー
25
28
 
26
- tdiary/style/blog.rbを、tDiaryインストールディレクトリのtdiary/styleの下にコピーします。このファイルは、BlogKit向けのさまざまな機能拡張を含んでいるので、他のスタイルを使う場合にもかならずコピーする必要があります。
29
+ `tdiary/style/blog.rb`を、tDiaryインストールディレクトリの`tdiary/style`の下にコピーします。このファイルは、BlogKit向けのさまざまな機能拡張を含んでいるので、他のスタイルを使う場合にもかならずコピーする必要があります。
27
30
 
28
31
  tDiaryではさまざまな記法を使えます(スタイル機能)。BlogKitでは、すでに提供されているスタイルをベースに、blog向けにカスタマイズした専用のスタイルをいくつか提供しています。以下の3種類が提供されているので、好みの応じて使うようにして下さい。
29
32
 
30
- なお、必要のないスタイルファイル(style/*.rb)をインストールすると、エラーの原因になりますので、以下の説明をよく読んで、不要なファイルを入れないように注意してください。ただし、先に書いたように、style/blog.rbはかならずコピーしてください。これを忘れると、記事の自動採番機能が効かなくなります。
33
+ なお、必要のないスタイルファイル(`style/*.rb`)をインストールすると、エラーの原因になりますので、以下の説明をよく読んで、不要なファイルを入れないように注意してください。ただし、先に書いたように、style/blog.rbはかならずコピーしてください。これを忘れると、記事の自動採番機能が効かなくなります。
31
34
 
32
35
  #### tDiaryスタイルを使う場合
33
36
 
@@ -61,60 +64,80 @@ tDiary 2.0.1からは、プラグイン選択が設定画面からできるよ
61
64
 
62
65
  まず最初に、設定画面に入って、必要なプラグインを選択しましょう。
63
66
 
67
+ ## インストール (gemを使う場合)
68
+
69
+ tDiary本体もgemを使って導入している場合は`tdiary new`コマンドを使って日記を作成済みとします。この場合は作成した日記のディレクトリをカレントディレクトリにしてください。tDiary gemを使っていない場合も、すでに運用可能な日記のあるディレクトリに移動しておきます。
70
+
71
+ カレントディレクトリに`Gemfile.local`というファイルがあるので、そこに以下の1行を追加します:
72
+
73
+ gem 'tdiary-blogkit'
74
+
75
+ (その他、`thin`や`puma`などでお好きなWebサーバも指定できます)
76
+
77
+ `Gemfile.local`ファイルを保存後、`bundle install`コマンドを実行し、現在の環境にBlogKitを組み込みます。
78
+
79
+ 続いて、`tdiaty.conf`を編集します。BlogKitに付属のものを使っても良いですし、既存の`tdiary.conf`の`@style`を書き換えるだけでも良いです。`@style`には`Blog~`で始まるものだけが利用できます。具体的には以下の3つからお好きなスタイルを選びます:
80
+
81
+ @style = 'Blog'
82
+ @style = 'BlogWiki'
83
+ @style = 'BlogRD'
84
+
85
+ あとはtDiaryを動かすだけです。`tdiary server`ないし指定したWebサーバを動かすコマンドを実行してください。
86
+
64
87
  ## プラグイン解説
65
88
 
66
89
  ここでは各プラグインの概要のみ解説します。指定方法などは個々のプラグインファイルを見てください。
67
90
 
68
- ### archive.rb
91
+ ### `archive.rb`
69
92
 
70
- #### archiveプラグイン
93
+ #### `archive`プラグイン
71
94
 
72
95
  過去記事一覧を表示します。サイドバーにデフォルトで配置されています。記事はグループ化されており(ようするに月単位ですが、BlogKitでは日付に意味がないので00001からの連番です)、新しい順に表示します。
73
96
 
74
- #### archive\_dropdownプラグイン
97
+ #### `archive_dropdown`プラグイン
75
98
 
76
99
  archiveと同様の一覧を、ドロップダウンリストで表示します。
77
100
 
78
- ### blog-style.rb
101
+ ### `blog-style.rb`
79
102
 
80
103
  tDiaryとはやや異なった用語を使うblogツールに合わせて、各所の文字列を置き換えるプラグインです。また、タイトルの表現を変えるなど、1ページに1トピックというblog風体裁を整えるためには導入必須のプラグインだと考えてください。
81
104
 
82
- ### lm.rb
105
+ ### `lm.rb`
83
106
 
84
107
  Last-Modifiedを表示するプラグインです。タイトル下か、記事最下部のどちらに表示するか、tdiary.confで選択可能です。
85
108
 
86
- ### recent-entry.rb
109
+ ### `recent-entry.rb`
87
110
 
88
111
  最新の記事一覧を、新しい順に表示します。
89
112
 
90
- ### title-navi.rb
113
+ ### `title-navi.rb`
91
114
 
92
115
  tDiaryでは「前日」「翌日」になっていたナビゲーションボタンを、記事のタイトルで置き換えます。ただし、月をまたぐ場合には、「Prev」「Next」という表記になります。
93
116
 
94
- ### whatsnew-list.rb
117
+ ### `whatsnew-list.rb`
95
118
 
96
119
  記事が更新された順に一覧表示を行います。recent-entryと違い、過去の記事を更新しても上位に入れ替わります。secureモードでは動きません。また、設定画面からの指定によって、RDFファイルを生成することが可能です。
97
120
 
98
- ### blog-category.rb
121
+ ### `blog-category.rb`
99
122
 
100
123
  カテゴリ機能を追加します。タイトル中の [ ] で囲んだ文字列がカテゴリ名として認識されます。カテゴリ名をクリックするとそのカテゴリの記事のみを表示する画面に移ります。設定画面からカテゴリインデックスの初期化を行う必要があります。
101
124
 
102
- #### blog\_category\_entryプラグイン
125
+ #### `blog_category_entry`プラグイン
103
126
 
104
127
  カテゴリ別画面に表示しきれなかった記事のタイトルを新しい順に表示します。
105
128
 
106
- #### blog\_category\_formプラグイン
129
+ #### `blog_category_form`プラグイン
107
130
 
108
131
  表示するカテゴリを選択できるドロップダウンリストを表示します。
109
132
 
110
- ### title-link.rb
133
+ ### `title-link.rb`
111
134
 
112
135
  記事のタイトル全体をPermalinkへのリンクにします。従来のアンカー文字よりもPermalinkであることがよりわかりやすくなります。ただし、タイトル中にリンクを含めることができなくなりますので、運用に照らし合わせて使ってください。
113
136
 
114
137
  ## ライセンス
115
138
 
116
- GPLの元で改造、配布が可能です。
139
+ GPL v2ないしそれ以降のライセンスで改造、配布が可能です。
117
140
 
118
- 作者はただただし<sho@spc.gr.jp>です。
141
+ 作者はただただし<t@tdtds.jp>です。
119
142
 
120
143
  BlogKitに関する最新情報は、http://www.tdiary.org/ で得られます。
@@ -1,5 +1,5 @@
1
1
  module TDiary
2
2
  class Blogkit
3
- VERSION = "5.0.1"
3
+ VERSION = "5.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdiary-blogkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tDiary contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-29 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hikidoc
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements: []
157
157
  rubyforge_project:
158
- rubygems_version: 2.6.4
158
+ rubygems_version: 2.5.1
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: tDiary blogkit package.