Using Tags in your content
<?SPINE_Content?>
Use this tag in the Style to indicate where the content is inserted.
<?SPINE_Env?>
This tag is mapped to the Environment plugin (SPINE::Handler::Env). It dumps all the environment variables.
<?SPINE_Location?>
This tag is mapped to the
Location configuration in your Apache setup. For example, the location setup for the current host is :
/
<?SPINE_Login?>
This tag generates the login form as used in
the login page.
<?SPINE_Macro?>
This tag is mapped to the Macro handler. Define which macro is loaded by setting the
Macros list in the
Administration section. Pass the keyword as a parameter. For example:
This is SPINE version <?SPINE_Macro("SPINE_Version")?>!
This is SPINE version 1.3 beta!
<?SPINE_Message?>
This tag is mapped to the Message handler. Pass the message group as parameter. For example:
<?SPINE_Message("test")?>
Pass the message ID as second parameter to display one message at a time.
<?SPINE_Message_Body?>
This tag is mapped to the Message handler. It can be used in the message content to change the position of the actual message.
<?SPINE_Message_Comments?>
This tag is mapped to the Message handler. This is the number of replies on this message.
<?SPINE_Message_Date?>
This tag is mapped to the Message handler. This is the date on which the message was posted.
<?SPINE_Message_DateTime?>
This tag is mapped to the Message handler. This is the date and time on which the message was posted.
<?SPINE_Message_Group?>
This tag is mapped to the Message handler. This is the message group.
<?SPINE_Message_Id?>
This tag is mapped to the Message handler. This is the message ID.
<?SPINE_Message_Owner?>
This tag is mapped to the Message handler. This is the message owner (usually the person posting the message).
<?SPINE_Message_Parent_Id?>
This tag is mapped to the Message handler. This is the parent message ID.
<?SPINE_Message_Parent_Subject?>
This tag is mapped to the Message handler. This is the parent message subject.
<?SPINE_Message_Subject?>
This tag is mapped to the Message handler. This is the message subject.
<?SPINE_Message_Time?>
This tag is mapped to the Message handler. This is the time on which the message was posted.
<?SPINE_Navbar?>
This tag is mapped to the Navigation Bar handler. Pass the message group as parameter. For example:
<?SPINE_Navbar("main")?>
<?SPINE_Page?>
This tag contains the current filename. For example:
tags.html
<?SPINE_PieStats?>
This tag is mapped to the Pie Chart statistics plugin. This plugin generates PNG data. Make sure to set your
style to
blank and the
Content-Type to
image/png. This plugin requires additional modules and is not part of a default installation.
<?SPINE_Referer?>
This tag contains refering page. For example:
<?SPINE_Search?>
This tag is mapped to the search engine plugin. This plugin will search through the content keywords and list the content names that match the query.
<?SPINE_Servername?>
This tag contains the servername. For example:
spine.sourceforge.net
<?SPINE_Stats?>
This tag is mapped to the statistics handler. Required plugin is either
hits or
modified. Hits can be used for a page visitor counter.
2 visits.
Modified will display the modification date of the page.
2006-12-31 23:00:00 visits.
<?SPINE_Title?>
This tag contains the page title. It is constructed of the
content and the
style title value. For example:
Tags
<?SPINE_User?>
This tag contains the logged in user. For example:
<?SPINE_Webmaster?>
This tag contains the site webmaster. This value is defined in the Apache configuration for the location. For example:
John Doe
<?SPINE_Wiki?>
This tag is mapped to the Wiki plugin.
<?SPINE_XMLChanges?>
This tag is mapped to the XML Changes plugin. It will generate XML output of the most recent changes. Make sure to set your
style to
xml and the
Content-Type to
text/xml.