2005-07-21 (木) [長年日記]
■ [BPM] ONJava.com: What Is Business Process Modeling?
できれば訳したいんだけど、連絡先が載ってない。うーむ。ググってみたらBEAのコンサルタントの方らしいんだけども。
違うのかな。別人かな。
■ [tDiary] amazon.rb 書き換え中
こんな感じで。時間がないので後から。
def parse_aws_xml(xml)
require "rexml/document"
doc = REXML::Document.new(xml)
doc.elements.each("//Items/Item/MediumImage") do |el|
image_url = el[0][0]
image_height = el[1][0]
image_width = el[2][0]
return [image_url, image_height, image_width]
end
end
def get_amazon(asin)
#http://webservices.amazon.co.jp/onca/xml?
#Service=AWSECommerceService&SubscriptionId=[AWS_ID]
#&Operation=ItemLookup&ItemId=#{asin}&ResponseGroup=Medium
#xml =
#parse_aws_xml(xml)
end
puts get_amazon('asin')
今日はスーツなんだよね。暑い。
[ツッコミを入れる]
