TOP templates now use @ instead of a pipe. Added exclude list and padding length

This commit is contained in:
mysticbbs 2012-03-04 18:34:13 -05:00
parent 60e266392a
commit 6f9e6f0d71
2 changed files with 73 additions and 59 deletions

View File

@ -15,7 +15,9 @@
; Current abilities: ; Current abilities:
; ;
; - Import FIDONET.NA into Message bases ; - Import FIDONET.NA into Message bases
; - Import FILEBONE.NA into File bases
; - Mass upload files to all file bases (with FILE_ID.DIZ import) ; - Mass upload files to all file bases (with FILE_ID.DIZ import)
; - Generate Top 1 upto 99 Callers, Posters, Downloaders, and Uploaders
; ;
; ========================================================================== ; ==========================================================================
; ========================================================================== ; ==========================================================================
@ -155,11 +157,15 @@
; The number of items in each list is determined by the template. It ; The number of items in each list is determined by the template. It
; could be any number between 1 and 99. ; could be any number between 1 and 99.
; ;
; In the templates use |NA01-99 for name and |DA01-99 for numerical data ; In the templates use @NA01-99 for name and @DA01-99 for numerical data
; You can look at the provided template as an example. ; @DE returns the value set as _desc in the configuration. You can look
; at the provided template as an example.
; ;
; Still need to add better padding options and exclude and some other ; namelen and datalen define the width the MCI code is padded to
; stuff before its "done" ;
; exclude list is one name per line text file listing names which should
; not be included in the generated output. lines that begin with a ;
; are considered comments.
exclude_list = mutil.toplist.exclude.txt exclude_list = mutil.toplist.exclude.txt
@ -169,18 +175,26 @@
top_call_template = mutil.toplist.template.txt top_call_template = mutil.toplist.template.txt
top_call_output = topcallers.asc top_call_output = topcallers.asc
top_call_desc = Callers top_call_desc = Callers
top_call_namelen = 30
top_call_datalen = 10
top_dl = 1 top_dl = 1
top_dl_template = mutil.toplist.template.txt top_dl_template = mutil.toplist.template.txt
top_dl_output = topdownload.asc top_dl_output = topdownload.asc
top_dl_desc = Downloaders top_dl_desc = Downloaders
top_dl_namelen = 30
top_dl_datalen = 10
top_ul = 1 top_ul = 1
top_ul_template = mutil.toplist.template.txt top_ul_template = mutil.toplist.template.txt
top_ul_output = topupload.asc top_ul_output = topupload.asc
top_ul_desc = Uploaders top_ul_desc = Uploaders
top_ul_namelen = 30
top_ul_datalen = 10
top_post = 1 top_post = 1
top_post_template = mutil.toplist.template.txt top_post_template = mutil.toplist.template.txt
top_post_output = topposts.asc top_post_output = topposts.asc
top_post_desc = Posters top_post_desc = Posters
top_post_namelen = 30
top_post_datalen = 10

View File

@ -1,15 +1,15 @@
|15Top 10 |DE |15Top 10 @DE
|08--- --------------------------- ----------|07 |08--- --------------------------- ----------|07
1. |NA01 |DA01 1. @NA01 @DA01
2. |NA02 |DA02 2. @NA02 @DA02
3. |NA03 |DA03 3. @NA03 @DA03
4. |NA04 |DA04 4. @NA04 @DA04
5. |NA05 |DA05 5. @NA05 @DA05
6. |NA06 |DA06 6. @NA06 @DA06
7. |NA07 |DA07 7. @NA07 @DA07
8. |NA08 |DA08 8. @NA08 @DA08
9. |NA09 |DA09 9. @NA09 @DA09
10. |NA10 |DA10 10. @NA10 @DA10
|PA |PA