[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] custom placeholder message
Holger Repp wrote:
> Can you add some code that we get rid off this static placeholder message and
> can optional use a custom placeholder gernerated from a text file.
The ever-rumoured-about Leafnode-2.0 alpha versions contain this feature.
You can provide placeholders in several languages, and the text of the
placeholder message is parsed for some special abbreviations so that you
can include
- the FQDN of the server (%server)
- the version of leafnode (%version)
- the name of the newsgroup (%newsgroup)
Your pseudoarticle could, for example, look like this (in fact this
is the pseudoarticle which I am currently using):
%---begin---
This server, %server, is running Leafnode %version,
a dynamic NNTP proxy.
You have requested an article in %newsgroup.
This group is currently unavailable, but articles will be retrieved
from your upstream server upon the next call of fetchnews.
Leafnode is available from
http://www.leafnode.org/
This pseudoarticle was generated from a template in /etc/leafnode.
%---end---
If you have additional suggestions or if you want sources for the latest
alpha (called 2.0a18), don't hesitate to email me.
--Cornelius.
--
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: phak004@xxxxxxxxxxxxxxxxxxxxxx SP4 */
/* "Science is the game we play with God to find out what His rules are." */
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list