Include pseudo tags
Include pseudo tag allows text to be inserted in an HTML document at load time.
The syntax takes the form:
<!--#command-->
The '#' distinguishes this syntax from an ordinary comment. Each include command inserts the appropriate content (I.D. key, Publication Title (PT), Registration information (Regis), Time, Date or File) into the current HTML document, at the insertion point. The text can also be inserted in a Form Text box.
| Include Commands | Function |
<!--#ID--> |
According to the type of password selected inserts the I.D. number or the password number. |
<!--#PT--> |
Inserts the Publication Title |
<!--#Regis--> |
if the publication is unlocked regis
will display "Unlocked publication" (language
string 77). If the publication is registered it will display "This publication is registered to" (language string 57) + the user name. If the publication is locked and unregistered it will display "Unregistered publication" (language string 38). |
<!--#un--> |
Inserts the User Name. Of course if the publication was not yet registered, or was registered without using an User Name, the user name will be blank. |
<!--#Time--> |
Inserts the Time. |
<!--#Date--> |
Inserts the Date. |
<!--#Refund--> |
Inserts the refund code after doing a refund. If the page is accessed without doing a refund, it will not display anything. |
<!--#Include FILE="myfile.html"--> |
The specified file will be inserted. |
<!--#PN--> |
Inserts the page number. This command only works inside printing headers/footers. Learn More. |
<!--#DT--> |
Inserts the HTML document title. |
<!--#data1--> |
These include code insert the data previously saved in the Data Zones 1 to 5. Each Data Zone can store up to 100 bytes (either letters or numbers can be stored, but not binary data). Data Zones are usually saved when the user registers an ebook online. Please read the following paragraph for information about how to write to the Data Zones. |
<!--#setdata1 arg1=""-->> |
Use these include commands to write to the Data Zones instead inserting text in the HTML page. Data Zones are usually saved after the user registers an ebook online. Data Zones allow ebook publishers to personalize ebooks. It is quite easy taking some information provided by the user (like name, address, etc.) when registering the ebook and then inserting some include commands ( Date Zones are written either to the hard disk or to the dongle (if the option Save data1 ... data5 in Dongle was selected in the Dongle Tab, and, of course, if a dongle is plugged in). The parameter Example:
The above example will save 5ft Avenue 315 in the Data Zone #2. Afterwards, you can show the Data Zone #2 content with the following include code:
Notice that the Data Zone #5, when working with a Dongle and selecting the option Register only once in the Dongle Tab, will be reserved for storing the registration information.. |
| OPTIONS FOR WORKING WITH DONGLES | |
<!--#DONGLEHID--> |
Inserts dongle unique number. |
<!--#DONGLEUID--> |
Inserts the user number saved by you when personalizing the dongle. |
<!--#data6--> |
Inserts the information previously saved in the Data Zones 6 to 10, which are only available when working with dongles. These Data Zones cannot be saved from the ebook, but only using either HyperMaker or the dongle editor that comes with the dongles, you can save the content in Data Zones 6 to 10. Each Data Zone can store up to 100 bytes (either letters or numbers can be stored, but not binary data). |