gopher-path support - cl-yag - Common Lisp Yet Another website Generator
HTML git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/cl-yag/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit a651b504887429c23aed643787dc55d10f1d501d
DIR parent 0beb1a03cf6a8f8aa14c515b74938bddc7b33fbe
HTML Author: Solène Rapenne <solene@perso.pw>
Date: Fri, 24 Mar 2017 13:12:55 +0100
gopher-path support
Diffstat:
M README.md | 1 +
M data/articles.lisp | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/README.md b/README.md
@@ -37,6 +37,7 @@ In data/articles.lisp there is a ***config*** variable with the following fields
+ **:rss-item-number** : This is the number of RSS items you want to published when you generate the files, it will publish the last N articles
+ **html** : t to export html website / nil to disable
+ **gopher** : t to export gopher website / nil to disable
++ **gopher-path** : this is the full path of the directory to access your gopher hole
+ **gopher-server**: hostname of the gopher server because gopher doesn't have relative links like html, so you need to know where you put your files
+ **gopher-port** : tcp port of the gopher server, 70 is the default port, it's included in every link as explained in gopher-server
DIR diff --git a/data/articles.lisp b/data/articles.lisp
@@ -13,6 +13,7 @@
:rss-item-number 10 ;; we want 10 items in our RSS feed
:html t ;; t to export html website / nil to disable
:gopher t ;; t to export gopher website / nil to disable
+ :gopher-path "/user" ;; the absolute path of your gopher directory
:gopher-server "my.website" ;; hostname of the gopher server
:gopher-port "70" ;; tcp port of the gopher server, 70 usually
))