Crawling actual map *names*, but not yet pulling in maps

This commit is contained in:
Dan Buch
2012-03-05 09:42:09 -05:00
parent 6d9ae87557
commit 607a4158e1
6 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
namespace :maps do
desc 'Index the maps!'
task :index => :environment do
MapCrawler.new(Setting.map(:base_url)).crawl(Map.method(:from_city_name))
end
end