3 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
4 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../app/models')
14 site = Site.find('mmdbowl')
16 Bowl.each_code_in_rss do |code|
22 summary = bowl.summary
24 date = '01/01/01(Mon),00:00:00'
25 origname = bowl.origname
28 arc = site.create_arc(name, summary, size, date, origname, locked)
29 arc.create_entries("/Volumes/uploader/arc/#{site.code}/#{name}") unless locked