• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Commit MetaInfo

Revisão45b06ca60b0acbfedc0cc63d34749f7db2e2c7b8 (tree)
Hora2009-09-22 20:29:18
Autorikeji <ikeji@f836...>
Commiterikeji

Mensagem de Log

Output rss item.

git-svn-id: http://dev.ikejima.org/src/svn/pragger/trunk@411 f8368ae4-1e99-dc11-9799-0018f35ab5fa

Mudança Sumário

Diff

--- a/plugin/Feed/mixi/new_diary.rb
+++ b/plugin/Feed/mixi/new_diary.rb
@@ -28,7 +28,14 @@ def new_diary(config,data)
2828 diarylist.links.each do |link|
2929 diaryurl = link.href # => 'view_diary.pl?id=12345&owner_id=2345'
3030 if /view_diary.pl\?id\=/ =~ diaryurl then
31- data << 'http://mixi.jp/' + diaryurl
31+ item = 'http://mixi.jp/' + diaryurl
32+ item.instance_eval do
33+ @title = link.text
34+ def title
35+ @title
36+ end
37+ end
38+ data << item
3239 end
3340 end
3441 nextlink = diarylist.links.find(){|i| i.href =~ /new_friend_diary\.pl\?page\=\d\&direction\=next/ }