Merge release Beta 1 into stable #21
2 changed files with 5 additions and 6 deletions
|
@ -4,11 +4,13 @@
|
||||||
:default-board "/mlp/" ;Board to be used when no board=x param given
|
:default-board "/mlp/" ;Board to be used when no board=x param given
|
||||||
:board-disabled-message "This board is not enabled for feed generation.\n\nYou can contact me here: [contact]"
|
:board-disabled-message "This board is not enabled for feed generation.\n\nYou can contact me here: [contact]"
|
||||||
:enable-board-listing true ;Whether to show list of enabled boards in /boards
|
:enable-board-listing true ;Whether to show list of enabled boards in /boards
|
||||||
;; /$board/catalog.json will be appended to this link
|
|
||||||
:target "https://api.4chan.org"
|
|
||||||
:boards-defaults {:refresh-rate 300
|
:boards-defaults {:refresh-rate 300
|
||||||
:starting-page 7
|
:starting-page 7
|
||||||
:default-chod 94
|
:default-chod 94
|
||||||
|
;; If you want to do some preprocessing beforehand, you can override
|
||||||
|
;; Target URL for the board, but the response must be same 4chan API would return
|
||||||
|
;; /$board/catalog.json will be appended to this link
|
||||||
|
:target "https://api.4chan.org"
|
||||||
;; Commented parts bellow are still unimplemented
|
;; Commented parts bellow are still unimplemented
|
||||||
;; Only download catalog when someone requests feed and cache is old
|
;; Only download catalog when someone requests feed and cache is old
|
||||||
;; Saves request to 4chan, usefull for borads that are checked rarely
|
;; Saves request to 4chan, usefull for borads that are checked rarely
|
||||||
|
@ -18,9 +20,6 @@
|
||||||
;; Wheter to create cache by downloading whole catalog or every required
|
;; Wheter to create cache by downloading whole catalog or every required
|
||||||
;; one by one
|
;; one by one
|
||||||
;; :request-type [:catalog] :pages
|
;; :request-type [:catalog] :pages
|
||||||
;; If you want to do some preprocessing beforehand, you can override
|
|
||||||
;; Target URL for the board, but the response must be samechan API would return
|
|
||||||
;; :target-override
|
|
||||||
}
|
}
|
||||||
;; List of all boards that are enabled for feed generation
|
;; List of all boards that are enabled for feed generation
|
||||||
;; Yes they must be all listed manualy for now
|
;; Yes they must be all listed manualy for now
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
{:port 6969
|
{:port 6969
|
||||||
:default-board "/mlp/"
|
:default-board "/mlp/"
|
||||||
:enable-board-listing true
|
:enable-board-listing true
|
||||||
:board-disabled-message "This board is not enabled for feed generation.\n\nYou can contact me here: [contact]"
|
:board-disabled-message "This board is not enabled for feed generation.\n\nYou can contact me here: [contact] and I may enable it for you"
|
||||||
:target "https://api.4chan.org"
|
:target "https://api.4chan.org"
|
||||||
:boards-defaults {:refresh-rate 300
|
:boards-defaults {:refresh-rate 300
|
||||||
:starting-page 7
|
:starting-page 7
|
||||||
|
|
Loading…
Reference in a new issue