Llink:macros: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Macro name : Example replacement | Macro name : Example replacement | ||
<'''!'''--LLINK_SERVER_NAME--> : "llink" | <'''!'''--LLINK_SERVER_NAME--> : "llink" | ||
Line 19: | Line 18: | ||
<'''!'''--LLINK_PAGE_FOCUS--> : "1" or "10" See PAGE_SIZE in llink.conf. | <'''!'''--LLINK_PAGE_FOCUS--> : "1" or "10" See PAGE_SIZE in llink.conf. | ||
<'''!'''--LLINK_ZODIAC--> : "taurus", "pisces". As based on the Zodiac calendar. | <'''!'''--LLINK_ZODIAC--> : "taurus", "pisces". As based on the Zodiac calendar. | ||
Future planned: | |||
<'''!'''--LLINK-DBDUMP-ENTRIES--> : Iterate all stored entries, using TYPE entry named "db_entry". | |||
If the SKIN defines to use "DBENTY", it will record the media files accepted per page, for later dumping into the html file. It will attempt to locate a filename.llink file to retrieve information like Title, Date, Length, Genre and Large Icon. If it can not find this, it will display defaults. |
Revision as of 08:01, 27 December 2007
Macro name : Example replacement <!--LLINK_SERVER_NAME--> : "llink" <!--LLINK_FILE_NAME--> : "file.avi" <!--LLINK_FILE_URL--> : "http://192.168.1.1:8000/movies/part1/file.avi" <!--LLINK_FILE_SIZE--> : "4123414" or "4.1MB" or "". See SIZE_TYPE in llink.conf <!--LLINK_FILE_DATE--> : "Thu Dec 27 15:46:56 JST 2007" (man ctime) <!--LLINK_FILE_TVID--> : "12" <!--LLINK_FILE_EXT--> : ".avi" <!--LLINK_PARENT_DIRECTORY--> : "/movies" <!--LLINK_CURRENT_DIRECTORY--> : "/movies/part1" <!--LLINK_DETAIL_SIZE--> : "4123414" <!--LLINK_PAGE_PREV_URL--> : "/movies/part1&from=1" <!--LLINK_PAGE_NEXT_URL--> : "/movies/part1&from=10" See PAGE_SIZE in llink.conf <!--LLINK_PARENT_DIRECTORY_URL--> : "http://192.168.1.1:8000/movies" <!--LLINK_CURRENT_DIRECTORY_URL--> : "http://192.168.1.1:8000/movies/part1" <!--LLINK_ONKEYUP_PREV--> : "onkeyupset=\"prev\"" if this is the first entry listed. <!--LLINK_ONKEYDOWN_NEXT--> : "onkeydownset=\"next\"" if this is the last entry listed. <!--LLINK_PAGE_FOCUS--> : "1" or "10" See PAGE_SIZE in llink.conf. <!--LLINK_ZODIAC--> : "taurus", "pisces". As based on the Zodiac calendar.
Future planned: <!--LLINK-DBDUMP-ENTRIES--> : Iterate all stored entries, using TYPE entry named "db_entry".
If the SKIN defines to use "DBENTY", it will record the media files accepted per page, for later dumping into the html file. It will attempt to locate a filename.llink file to retrieve information like Title, Date, Length, Genre and Large Icon. If it can not find this, it will display defaults.