Difference between revisions of "Meta"

From JOTA-JOTI Wiki
Jump to: navigation, search
(Created page with "Meta data operate in files with the extension ".html" Specimen: <code><meta name="''key''" content="''value''" /></code> Possible keys: * title => (string) Page titl...")
(No difference)

Revision as of 14:56, 31 August 2014

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)  ??? (unknown)
  • 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


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