Meta

From JOTA-JOTI Wiki
Jump to: navigation, search

Meta data operate in files with the extension ".html"

Specimen: <meta name="key" content="value" />

Possible keys:

  • title => (string) Page title = first headline h1
  • area => (string) Categorie to which the page belongs to
  • innavi => (bool) If TRUE: the page will be shown in the navigation
  • link-title => (string) [IDX] title="link-title" in the menue option =ToolTip
  • sortval => (integer) Position in the menue; biggest one first
  • reldate => (date) date when the page will start display; ISO format YYYY-MM-DD
  • deldate => (date) date when the page will ends display; ISO format YYYY-MM-DD
  • auth => (bool) authentification necessary for this page
  • logout => (bool) If TRUE: logout and delete the session
  • redirect => (string) redirection target; URL
  • form => () include Formparser
  • headline => (string) alternative name of the page in the HTML <title>
  • css => (string) includes one CSS file from the folder "/css/"
  • script => (string) includes one JavaScript file from the folder "/js/"
  • include => (string) relative path and filename to a file, which will be included

Some keys have only an effect, when the key is placed in an "index.html" file. These are marked with [IDX]

All the Meta-informations are useable in the array "$SNC_PAGEINFO"