Yadabyte
 
TR3 Tag Reference
 
<NEW>
 
<CATDEF>... </CATDEF>
 
<META>.</META>
 
<EXPMSG>
 
<DIEMSG>
 
<ENCMSG>
 
<SELECTION>...</ SELECTION>
 
<catset>. </catset>
 
<IMG .>
 
All other open tags

<META> ... </META>

Full syntax

<META>

BKTILE = { string }

CHARSET = { string }

BKCOLOR = { colorval }

TEXT = { colorval }

LINK = { colorval }

VLINK = { colorval }

SORTFILE = YES | NO

SORTCATS = YES | NO

ENDDATE = { date }

DIEDATE = { date }

VALIDPERIOD = { number }

STOPONEXPIREMOD = { number }

STOPALLPICSONEXPIRE = YES | NO

ENCRYPTEDMOD = { number }

PASSWORD = { string }

SKIPNEWLINES = YES | NO

</META>

 

Parameters

BKTILE

This parameter accepts the path for the picture file, which will be used to tile in the background of all pages.

CHARSET

HTML char set for all pages.

BKCOLOR

Page background color. Default is white.

TEXT

Page text color. Default is black.

LINK

active Link color.

VLINK

Visited link color.

SORTFILE

If this parameter is assigned "yes", subjects of the entire file will be automatically sorted in alphabetical order. (This sorting is case insensitive)

SORTCATS

If this parameter is assigned "yes", category list will be alphabetically sorted by there name. Again, the sorting is case insensitive.

ENDDATE

Expire date for the file. (See DRM)

DIEDATE

Die date for the file (See DRM)

validperiod

This parameter specifies the file's trail period. The file will expire after number of dates specified by this parameter since it's first view date.

stoponexpiremod

This can be used to stop some subjects after the file has been expired.

e.g. If this is given 5, each 5 th subject will be stopped after the file has been expired.

stopallpicsonexpire
This parameter is ignored in the current version and will be implemented in the future.
encryptedmod
This parameter is used to encrypt some subjects. For example, if this is given 5, each 5 th subject will be encrypted. 128 bit AES used as the encryption algorithm. Key is given by the "password" parameter.
password

This parameter accepts the encryption key for the AES. AES encryption will be taken place on the pages that have been configured to encrypt by using this key. Maximum key length is 16 characters. If the string given in password parameter is longer than 16 chars the excess part will be ignored. If it is less than 16 chars, 16 chars string will be created by repeating itself.

(See DRM for more information)

skipnewlines
If this parameter is given "yes" new lines in the page text will be skipped. This is useful when creating tr3 files from the html text.

Remarks

This tag pair defines the meta information for the whole file. It has to be placed in the file header section before the first <new> tag.

 

{ colorval }

Color values are given in hexadecimal format with or without # at the beginning. (Just like in html). Double quotations can be optionally used. Common HTML color names are also recognized.

e.g

bgcolor = FF0000

bgcolor = #FF0000

bgcolor = "#FF0000"

bgcolor = "FF0000"

bgcolor = red

All above methods are correct.

 

{ date }

Date is given in yyyy-mm-dd format with optional double quotes.

e.g.

ENDDATE = "2006-5-10"

 
 | Site Map | Copyright © 2005 Yadabyte. All Rights Reserved. Site by Yadabyte Websites.
Yadabyte