|
@@ -13,10 +13,6 @@ class Site |
|
|
# Summary CSV file |
|
|
# Summary CSV file |
|
|
Petrify.write_csv('.', 'inlink-summary', summary) |
|
|
Petrify.write_csv('.', 'inlink-summary', summary) |
|
|
|
|
|
|
|
|
# Full CSV file |
|
|
|
|
|
apps = ScraperWiki.select("* from applications") |
|
|
|
|
|
Petrify.write_csv('.', 'inlink-full', apps) |
|
|
|
|
|
|
|
|
|
|
|
# New applications page |
|
|
# New applications page |
|
|
apps = ScraperWiki.select("* from `applications` order by date_received desc limit 30") |
|
|
apps = ScraperWiki.select("* from `applications` order by date_received desc limit 30") |
|
|
Petrify.write_page('new-applications', 'new-applications', { apps: apps }) |
|
|
Petrify.write_page('new-applications', 'new-applications', { apps: apps }) |
|
|