소스 검색

Remove full CSV file download

Can be downloaded from https://morph.io/adrianshort/inlink-scraper
main
Adrian Short 5 년 전
부모
커밋
1066d2d8fa
2개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. +0
    -4
      lib/site.rb
  2. +0
    -4
      views/index.haml

+ 0
- 4
lib/site.rb 파일 보기

@@ -13,10 +13,6 @@ class Site
# Summary CSV file
Petrify.write_csv('.', 'inlink-summary', summary)

# Full CSV file
apps = ScraperWiki.select("* from applications")
Petrify.write_csv('.', 'inlink-full', apps)

# New applications page
apps = ScraperWiki.select("* from `applications` order by date_received desc limit 30")
Petrify.write_page('new-applications', 'new-applications', { apps: apps })


+ 0
- 4
views/index.haml 파일 보기

@@ -6,10 +6,6 @@
- csv_fn = 'inlink-summary.csv'
%a.button{ :href => csv_fn, :download => csv_fn }
Download summary CSV data
 
- csv_fn = 'inlink-full.csv'
%a.button{ :href => csv_fn, :download => csv_fn }
Download full CSV data

%table
%thead


불러오는 중...
취소
저장