少しだけ機能追加。

・Twitterの個別ツイート用のパーマリンクはつくってあったけど、Timelogとはてなブックマークの個別パーマリンクがなかったので作った。

Twitterの例: nilog: 無いログは振れない。 : 愛みたいなものは脂肪にかわっていく #tv
Timelogの例: nilog: 無いログは振れない。 : Yo! 遅延。
はてブの例: nilog: 無いログは振れない。 : Chop 「Paste code snippets, add notes. Send to nerds.」

・RSSにTwitterしか入れてなかったけど、Timelogとはてなブックマークも含めた。

Twitterの例:


<item>
  <title>愛みたいなものは脂肪にかわっていく  #tv</title>
  <link>http://www.nilab.info/nilog/?type=twitter&amp;id=71396393201311746</link>
  <content:encoded>愛みたいなものは脂肪にかわっていく  #tv</content:encoded>
  <pubDate>Fri, 20 May 2011 02:06:41 GMT</pubDate>
  <guid>http://www.nilab.info/nilog/?type=twitter&amp;id=71396393201311746</guid>
  <dc:creator>NI-Lab.</dc:creator>
  <dc:date>2011-05-20T02:06:41Z</dc:date>
</item>

Timelogの例:


<item>
  <title>Yo! 遅延。</title>
  <link>http://www.nilab.info/nilog/?type=timelog&amp;id=cc80e889a98ee2ad2fe7b9d732ba3d89991344ee3dca5a</link>
  <content:encoded>Yo! 遅延。</content:encoded>
  <pubDate>Fri, 20 May 2011 05:33:11 GMT</pubDate>
  <guid>http://www.nilab.info/nilog/?type=timelog&amp;id=cc80e889a98ee2ad2fe7b9d732ba3d89991344ee3dca5a</guid>
  <dc:creator>NI-Lab.</dc:creator>
  <dc:date>2011-05-20T05:33:11Z</dc:date>
</item>

はてブの例:


<item>
  <title>Chop 「Paste code snippets, add notes. Send to nerds.」</title>
  <link>http://www.nilab.info/nilog/?type=hatebu&amp;id=39289</link>
  <content:encoded>&lt;a href="http://chopapp.com/"&gt;Chop&lt;/a&gt;&lt;br /&gt;Chop 「Paste code snippets, add notes. Send to nerds.」&lt;br /&gt;</content:encoded>
  <pubDate>Fri, 20 May 2011 12:15:55 GMT</pubDate>
  <guid>http://www.nilab.info/nilog/?type=hatebu&amp;id=39289</guid>
  <dc:creator>NI-Lab.</dc:creator>
  <dc:date>2011-05-20T12:15:55Z</dc:date>
</item>

サイト内検索にヒットすればそれでいいんだけど、やっぱりもうちょっと綺麗にしないと醜い。。。

Ref. nilog: 無いログは振れない。

tags: nilog

Posted by NI-Lab. (@nilab)