KIRIN THEGOLDのほのかな苦味に満足しながら、なんだか明日も休みのような気分だなぁ、とか思っているbonlifeです。誰か私に木金2日間分の仕事パワーをください。 さてさて、最近Pythonに結構興味が出てきてしまったので、id:kenkitii:20060429:p1 にて公開されていたPythonで書かれたAtomAPIのクライアントとそのサンプルを参考にして、はてなグラフを更新するちっちゃなスクリプトを書いてみました。 まず、AtomClientはAtomClient.pyって名前にしてそのまま使わせてもらうことに。 AtomClient.py #!/usr/bin/envpython # -*- coding:utf-8 -*- import random import datetime, time import base64, sha import httplib

先日書いたMT投稿スクリプト、ほんとはLivedoorブログで使いたかったんだけどなんだかlivedoorでxml-rpcはつかえないっぽい、、、今?はAtomAPIというのを使わないといけないようだ。知らなかったorz で、AtomAPIについては、「はてなブックマークAtomAPI」と「はてなフォトライフAtomAPI」に、わかり易い解説が書いてあったので、Perlのサンプルを参考にAtomクライアントもどきを作ってみた。 #!/usr/bin/envpython # -*- coding:utf-8 -*- import random import datetime, time import base64, sha import httplib class AtomClient: def __init__(self): self.endopoint = None self.wss
What is Atom? Atom is asimple way to read and write information on the web, allowing you to easily keep track of more sites in less time, and to seamlessly share your words and ideas by publishing to the web. If you’re new to Atom, you can find out more about what Atom can do for you. Or if youjust want to get started, tools and services which work with the Atom format are listed in the AtomEnab
技術評論社「Software Design」2005年1月号 第2特集「次世代Webテクノロジ:Atom基礎講座」に寄稿した、The Atom Publishing Protocol (The AtomAPI)、The Atom Syndication Format の総合的解説です。 Witha System » Atom目次 » [1章 The Atom Project –RSSの興隆からAtomの誕生] » [2章 Atomフォーマット – The Atom Syndication Format] » [3章 Atom出版プロトコル – The Atom Publishing Protocol(AtomAPI)] » [4章 The Atom Publishing Protocol(AtomAPI)の利用法] » [AtomやAtomAPI関連のニュースや仕様へのリンク] » [
[要旨] Ajax を応用すれば、JavaScript で「Blogクライアント」を書くってのも可能ですよね。誰か作らないかな? って、すでにあるのかも。 [キーワード]JavaScript,XMLHttpRequest
After I'd finished with myPHP AtomAPI implementation,it made sense to try developing a client. Looking at the current discussion of PUT and DELETE versusjust using GET and POST there was a general feeling thatJavascript and DHTML couldn't support PUT and DELETE. Short history of XmlHttpRequest I'd previously read about something called XmlHttpRequest which allowedJavascript to connect to a s
BlogClient is an experimentalblog client library designed to makeit easy to writeJava programs thatblog.It supports both Atom and XML-RPC based protocols. I wroteBlogClient for the new Manning bookBlogs, Wikis, and Feeds In Action, which is due for release this Spring. I'm not quite done but I am ready to get some feedback, so please downloadBlogClient, tryit out in your own progra
はてなの技術が今後目指す方向を読んだ。こういう方向性を明確に打ち出せるのがうらやましい。それに比べて自分のやっていることはなんとつまらなくて淋しいことか、と溜息が出てしまうのだった。 こちらの日記のコメントにも書いたけど、REST だの SOA だと騒いでるのは、ごくごく一部の(ちょっとだけ影響力のある)人たちだけで、ニュートラルな立場の人々はそんなことは関係なく次々とウェブサービスで面白いハックを送り出しているのだ。そして現在は、ニュートラルな側(google,amazon,hatena,etc...)が影響力を持つ時代になっている。かつてハードウェアベンダからマイクロソフトに影響力が移ったのと同じように。 僕はもうすぐ30になるけれど(ああ、ついに20代ともお別れか)次の10年を考えなければいけなさそうだ。僕はアーキテクチャの流儀(architectural style)としての
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く