Re: Variable in Fidolook

"Konstantin Zadorozhny" <[email protected]>
Newsgroups gmane.network.fidolook,gmane.spam.detected
Message-ID <[email protected]>
Hello, Melchior!
You wrote to All on Sun, 1 Aug 2004 11:51:22 +0200:

MdC> Using FidolookSL since yesterday.... Great program !
    Thanks.

MdC> I didn't find in the "FAQ" the list of all "variables" that we can use
MdC> in the templates, like :

MdC> %ffnam
MdC> %fngrp
MdC> %fdate:

MdC> Could we have a complete list of them ? Thank you very much ! :-)

Here it is:

Sender Attribs
%ffrom - Name and Address
%fname - Full Name
%ffnam - First Name
%fmail - Address
%ffidoem - Fido Address
%fabbr - Abbreviation

Recepient Attribs
%f_to_ - Full Name and Address
%ftonm - Full Name
%ftofn - First Name
%ftoem - Address (email)
%ftofidoem - Fido Address
%ftoab - Abbreviation

CC Attribs
%f_cc_ - Full Name and Address
%fccnm - Full Name
%fccfn - First Name
%fccem - Address (e-mail)
%fccfidoem - Fido Address
%fccab - Abbreviation

Reply-To Attribs
%frpto - Full Name and Address
%frtnm - Full Name
%frtfn - First Name
%frtem - Address (email)
%frtfidoem - Fido Address
%frtab - Abbreviation

Original Message Attribs
%flins - Lines count
%fsize - Size (in bytes)
%fmsid - MessageID
%fmsgURL - Message URL
%fhost - NNTP-Posting-Host
%fsubj - Subject
%fngrp - Newsgroup
%forga - Organization
%fx_ct - X-Comment-To
%fdist - Distribution
%fkeyw - Keywords
%ftrln - X-FTN-Tearline
%forig - X-FTN-Origin
%farea - X-FTN-AREA
%faccserver - Account Server
%faccuser - Account User
%faccname - Account Name
%facceml - Account Email
%faccid - Account ID

  Original Time Attribs
%fdate - Date
%fYYYY - Long Year
%fYY - Short Year
%fMMM - Month as short text (en-us)
%fMMMR - Month as short text (ru)
%fMMMM - Month as long text (en-us)
%fMMMMR - Month as long text (ru)
%fMMMMFR - Month as long text (ru)
%fMM - Month number MM
%fWWW - Weekday as short text (en-us)
%fWWWR - Weekday as short text (ru)
%fWWWW - Weekday as long text (en-us)
%fWWWWR - Weekday as long text (ru)
%fDD - Day of Month DD
%fDDDDR - Day of Month as text (ru)
%fDDDDFR - Day of Month as text (ru)
%ftime - Time HH:MM:SS
%fHHMM - Time HH:MM
%fHH - Hour of Time HH
%fNN - Noun of Time NN
%fSS - Second of Time SS

Original Header Functions
%fhdrf(hdr) - Get text of header
%faddrfull(hdr) - Extract full address
%faddrname(hdr) - Extract name
%faddrfname(hdr) - Extract first name
%faddreml(hdr) - Extract e-mail
%faddrfido(hdr) - Extract FIDO address
%faddrabbr(hdr) - Extract first letters of name

New Message Attributes
%cflbuild - Fidolook build
%caccserver - Account Server
%caccuser - Account User
%caccname - Account Name
%cacceml - Account Email
%caccid - Account ID
%cngrp - Newsgroup
%cngrprev - Newsgroup revert (NewsMailer)

Current Time Attribs
%cdate - Date
%cdateYYYYMMDD - Date YYYYMMDD
%cYYYY - Long Year YYYY
%cYY - Short Year YY
%cMMM - Month as short text (en-us)
%cMMMR - Month as short text (ru)
%cMMMM - Month as long text (en-us)
%cMMMMR - Month as long text (ru)
%cMMMMFR - Month as long text (ru)
%cMM - Month number MM
%cWWW - Weekday as short text (en-us)
%cWWWR - Weekday as short text (ru)
%cWWWW - Weekday as long text (en-us)
%cWWWWR - Weekday as long text (ru)
%cDD - Day of Month DD
%cDDDDR - Day of Month as text (ru)
%cDDDDFR - Day of Month as text (ru)
%ctime - Time HH:MM:SS
%cHHMM - Time HH:MM
%cHH - Hour of Time HH
%cNN - Noun of Time NN
%cSS - Second of Time SS

Original Header Functions
%?hdrf(hdr) - Get text of header
%?addrfull(hdr) - Extract full address
%?addrname(hdr) - Extract name from address
%?addrfname(hdr) - Extract first name
%?addreml(hdr) - Extract e-mail
%?addrfido(hdr) - Extract FIDO address
%?addrabbr(hdr) - Extract first letters of name

Baskets masks
%rand[A,B,C,D,E,F,G,H,I,J] - Random string from corresponging basket 
(A,B,C,D,E,F,G,H,I,J)
%rand(Basket) - Random line from specified basket
%list[A,B,C,D,E,F,G,H,I,J] - Select next string from basket 
(A,B,C,D,E,F,G,H,I,J)

File masks

%file(file) - All text from file
%filerand(file) - One random text row from filer. 
%filerand(drive:\path\file.txt)

Conditional operators
%if(exp) - IF(expression)
%then(exp) - THEN(expression)
%else(exp) - ELSE(expression)
%match(exp1,exp2) - Match expr2 into expr1. expr2 can have *,? operators
=? exp1 exp2 ... ?= - Logical AND
=! exp1 exp2 ... != - Logical XOR

String functions
%squotrev(exp) - Replace quotes
%htmlschrs(exp) - Replase HTML special chars

External masks (EMH)
%extrn(mask,prm) - Call external mask handler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.