InfoLister templates syntax

< Back to main page

Introduction

Since version 0.9, InfoLister supports plain-text templates in addition to previously supported XML+XSLT output mode. Learning InfoLister's template format is considerably easier than learning XSLT or CSS.

A template mostly consists of user markup, ignored by InfoLister. There are only four kinds of text processed by it:

Variables

The following global variables are supported:

Lists

The three list types supported are: extension, theme and plugin. Inside the list template, available variables are different from global variables. The following are supported (only %name% applies to plugins):

Examples

Four example templates are available (after you install InfoLister) at chrome://infolister/locale/templates/text.template, chrome://infolister/locale/templates/html.template, chrome://infolister/locale/templates/bbcode.template, and chrome://infolister/locale/templates/xpilist.template (copy and paste to the Location Bar; clicking won't work due to security restrictions)

Contact info

If you have any questions, corrections or suggestions, feel free to mail me to asqueella+infolister@gmail.com.