Add support for most sections (except `i-piu-letti' that does not have any JSON) - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset f6705de85fb7880e1649d6c782807e06ee7299e0
(DIR) parent ea8197da47392d16091d275ab2e16cebd8d71a16
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 26 Aug 2018 18:56:57
Add support for most sections (except `i-piu-letti' that does not have any JSON)
Diffstat:
internazionale/sections.dcgi | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff -r ea8197da4739 -r f6705de85fb7 internazionale/sections.dcgi
--- a/internazionale/sections.dcgi Sun Aug 26 14:08:34 2018 +0200
+++ b/internazionale/sections.dcgi Sun Aug 26 18:56:57 2018 +0200
@@ -6,13 +6,9 @@
section="$2"
case "${section}" in
- ultimi-articoli)
+ ultimi-articoli | reportage | opinioni | savagelove )
url="https://data.internazionale.it/stream_data/items/${section}/0/0/$(date +'%Y-%m-%d_%H-%M-%S').json"
;;
- i-piu-letti | reportage | opinioni | savagelove )
- # TODO
- exit 1
- ;;
*)
exit 1
;;