2009年2月5日木曜日

Blogger Data API

PHP による処理

Zend Google Data APIs client library をダウンロードし展開 

c:\php\php.ini の include_path に追加 

include_path = ".;c:\php\ZendGdata-1.7.3\library"



コマンドラインより実行 

C:\php\ZendGdata-1.7.3\demos\Zend\Gdata>c:\php\php Blogger.php -- --user=xxx --pass=xxxx 


Note: This sample may Create, Read, Update and Delete data stored in the account provided. Please exit now if you provi
ded an account which contains important data.

0 Tech memo
1 web2000

public function promptForBlogID()// 以下の処理で prompt を停止可
{
$query = new Zend_Gdata_Query('http://www.blogger.com/feeds/default/blogs');
$feed = $this->gdClient->getFeed($query);
$this->printFeed($feed);
//$input = getInput("\nSelection");
$input = "0";//0 Tech memo に固定

Selection: 0
Creating a post.
Creating a draft post.
Updating the previous post and publishing it.
The new title of the post is: Hello, world, it is.
The new body of the post is: There we go.
Adding a comment to the previous post.
Added new comment: I am so glad this is public now.
Adding another comment.~
Added new comment: This is a spammy comment.~
Deleting the previous comment.~
Printing all posts.
0 Hello, world, it is.
1 Hello, world!
2 Mambo / Install Maniax2008
3 Joomla! / Install Maniax2008
・・・~
23 multipart/form-data~
24 it's not found as __builtin__.instancemethod
Printing posts between 2007-01-01 and 2007-03-01.
Deleting the post titled: Hello, world, it is.

Blogger.php を元に
Blogger2.php を作成し転送処理を実行

Unityでドアの開閉はAnimatorそれともiTween?

Mac Mini M2 の Unity で Sketchup のデータを復元したつづき。 以前、苦労して作成したドアの開閉が動作しないので修復する。 どうやって動かしていたのか、また忘れそうなので記録しておく。             Animator 左右のドア PlaneL,...