• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

Commit MetaInfo

Revision8baa0be7c193b86596e89090234e7b6f755e708b (tree)
Zeit2009-01-14 23:48:46
Autorikeji <ikeji@f836...>
Commiterikeji

Log Message

update to new design.

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

Ändern Zusammenfassung

Diff

--- a/plugin/Publish/mixi_diary_writer.rb
+++ b/plugin/Publish/mixi_diary_writer.rb
@@ -1,24 +1,23 @@
11 ## author "emergent"
22 ## descr "post feed(s) to mixi diary"
33 ##
4+## Need username and password to regist.yaml
5+## mixi:
6+## username: *********
7+## password: #########
8+##
9+##
410 ## example <<EOE
511 ## when posting one diary per one feed
612 ## - module: publish::mixi_diary_writer
7-## config:
8-## username: test@test.com
9-## password: ********
1013 ##
1114 ## when posting merged feeds to one diary
1215 ## - module: publish::mixi_diary_writer
1316 ## config:
14-## username: test@test.com
15-## password: ********
1617 ## title: "フィード一覧"
1718 ## merge_feeds: 1
1819 ## EOE
19-## config({ :username => Field.new("username to login", String, true),
20-## :password => Field.new("password to login", String, true),
21-## :merge_feeds => Field.new("aggregate feeds to one diary", String),
20+## config({ :merge_feeds => Field.new("aggregate feeds to one diary", String),
2221 ## :title => Field.new("title when merge_feeds is on", String) })
2322
2423 require 'rubygems'
@@ -93,7 +92,7 @@ def mixi_diary_writer(config, data)
9392 }
9493 end
9594
96- mdw = MixiDiaryWriter.new(config['username'], config['password'])
95+ mdw = MixiDiaryWriter.new( $reg['mixi']['username'], $reg['mixi']['password'])
9796
9897 content.each {|entry|
9998 mdw.login