url = "http://d.hatena.ne.jp/moleskin/" category = "[news]" max = 9 today = Time.now.strftime("%Y%m%d") print "*[Todays'Contents]\n" for x in 2..max do printf("+%s\n",url,today,x,category) end for x in 2..max do printf("*%s\n",category) print "
" printf("[parmalink]",url,today,x) printf("[today top]",url,today) printf("[page top]
\n",url) end