Re: tic handler for DAILYLIST
By: mark lewis to echicken on Fri Oct 12 2018 16:26:38
if i put ../fido/nodelist/nodelist will it copy the Z1DAILY.### file to nodelist.###?? in other words, will it keep the file's existing extension? subtly, will it also do the rename and keep the extension?
The matching file (Z1DAILY.###) would replace ../fido/nodelist/nodelist. (The idea being that ../fido/nodelist/nodelist is always an up-to-date copy.)
what does "ls -l ../fido/nodelists" show, please...
-rw-rw-r-- 1 bbs bbs 173667 Oct 12 01:17 fidonet
-rw-rw-r-- 1 bbs bbs 24731 Oct 11 09:18 fsxnet
And in my tickit.ini:
[DAILYLIST]
Dir=FIDO_DAILYLST
Handler=tickit/nodelist_handler.js HandlerArg={"domain":"fidonet","match":"Z1DAILY.Z*","nlmatch":"Z1DAILY.*"}
[FSX_NODE]
Dir=FSXNET_FSX_NODE
Handler=tickit/nodelist_handler.js HandlerArg={"domain":"fsxnet","match":"FSXNET.Z*","nlmatch":"FSXNET.*"}
And relevant keys from sbbsecho.ini:
[domain:fidonet]
NodeList = ../fido/nodelists/fidonet
[domain:fsxnet]
NodeList = ../fido/nodelists/fsxnet
The HandlerArg given to nodelist_handler.js tells the script:
- match: If TickIT is importing a file that matches this
- nlmatch: If the archive contains a file matching this
- domain: look up this domain in sbbsecho.ini
The script copies the first file matched by 'nlmatch' to the nodelist path for 'domain'.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
* Synchronet * electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)