function! HatenaLoadContent(base_url,user,year,month,day,cookie_file)
"http://d.hatena.ne.jp/basyura/edit?date=20090415"
"/Users/basyura/.vim/plugin/hatena/cookies/basyura"
let content = system(s:curl_cmd . ' "' . a:base_url . a:user
. '/edit?date=' . a:year.a:month.a:day
. '" -b "' . a:cookie_file . '"')
if a:base_url =~ 'g.hatena'
let content = iconv(content, 'utf-8', &enc)
let fenc = 'utf-8'
else
let content = iconv(content, 'euc-jp', &enc)
let fenc = 'euc-jp'
endif
let result=s:HatenaParseContent(content)
let result['fenc']=fenc
let result['year']=a:year
let result['month']=a:month
let result['day']=a:day
return result
endfunction