tdiary.conf に 以下の設定を追加すると、
@options['makerss.no_comments.file'] = 'index.xml'
@options['makerss.no_comments.url'] = 'http://localhost/diary/index.xml'
@options['makerss.no_comments.suffix'] = ''
@options['makerss.file'] = 'with_comments.xml'
@options['makerss.url'] = 'http://localhost/diary/with_comments.xml'
@options['makerss.suffix'] = '(with comments)'
「ツッコミありのRSS」でも「ツッコミなしのRSS」でも
<channel rdf:about="http://localhost/diary/with_comments.xml">
と「ツッコミありのRSS」のURLが出力される。
これは仕様?それともバグ?
処理的には misc/plugin/makerss.rb のこのあたりっぽい。変数 rdf_url の値。
def makerss_header( uri )
rdf_url = @conf['makerss.url'] || "#{@conf.base_url}index.rdf"
rdf_url = "#{@conf.base_url}index.rdf" if rdf_url.empty?
Ref.
-tDiary.org - [plugin] ツッコミ抜きのフィード(RSS)も生成しましょう
-tDiaryドキュメント - フィード(RSS)の生成
tags: tDiary zurazure
Posted by NI-Lab. (@nilab)