<tml:metadata>

Description:
Reads all meta data of the current context, i.e. all data ABOVE of the current content or above of the database or other tags. The attribute "type" determines the source of the meta data. When omitted, type="content" will be default.
Attributes:
General WebTML attributes are hidden -> show general attributes
Name Value(s) Version Usage

Details:
Examples:
    List of available meta data in WebTML2

    In WebTML2 meta data of the current runtime environment can be evaluated per tag <tml:metadata> or per tmlscript function "this.meta()". This data is mostly related to the content document displayed but can be as well related to the content database, the current browser session an other aspects.

    The following list is a complete reference of these available meta data, devided in types (defined in the attribute "type" of the meta data tag or in the first parameter of the tmlscript function "this.meta()").

    type=“content"

    This meta data refer to the current content document, its structure entry and the document type. As long as not specified different in the "content", the data is refered to the content document.
    name
    Content
    since version
    createdcreation date2.0.0
    modifieddate of last modification2.0.0
    titletitle2.0.0
    uniquename, name, docnameunique name2.0.0
    positionposition number of structure entry2.0.0
    keycontent-Key2.0.0
    areaWebsite area2.0.0
    levelchild level of structure entry in the hierarchical order2.0.0
    indexabsolute indes of structure entry among the siblings entries2.0.0
    languagelanguage code, f.e. „de“2.0.0
    languagetitlelanguage, f.e. "English"2.0.0
    attachmentsname of an attached file2.0.0
    doctypename of the document type of the content document2.0.0
    siblingsnumber of siblings (incl. the current document) to a structure entry2.0.0
    workflowworkflow of the document type2.0.0
    statusstatus of the content document

    „w“ - working copy

    „g“ - submitted for approval

    „p“ - released

    „a“ - archived

    2.0.0
    structkeykey of the structure entry2.0.0
    versionversion number2.0.0
    structtitletitle of the structure document2.0.1
    ishiddenfromWeb elements the content document is hidden from

    „nav“ - navigation elements

    „search“ - search engines

    „sitemap“ - sitemaps

    2.0.0
    visiblegeneral visibility flag

    „0“ - not visible

    „1“ - visible

    2.0.0
    validfromvalid date the document will be displayed from2.0.0
    validtovalid date the document will be displayed until2.0.0
    baseimagegraphic for navigation element2.0.0
    mouseoverimagegraphic for navigation element on mouseover2.0.0
    selectedimagegraphic for navigation element when content document is currently selected2.0.0
    usenavimagesflag that indicates if graphic for navigation element is enabled2.0.0
    virtuallinkURL to target document when the current content is a virtual document2.0.0
    linktargetname of HTML frame the current document is to be opened in when chosen via link2.0.0
    htmlheadaddtional HTML head information2.0.0
    keywordskey words for content for use in search engines2.0.0
    refreshflag that indicates if "AutoRefresh" function (automatic periodical reload of page) has been enabled2.0.0
    refreshurlURL that will be loaded in the browser (instead of current Website) on "AutoRefresh“2.0.0
    refreshtimeperiod (in seconds) for the "AutoRefresh“ function2.0.0
    trackingkeystracking keys for the content2.0.0
    authorauthor of the content2.0.1
    emailemail address of the author2.0.1
    outerlayoutname of the WebTML module quoted in the document type as outer layout

    Name des WebTML-Moduls, welches im Dokumententypen als äußeres Layout angegeben ist

    2.0.0
    innerlayoutname of the WebTML module quoted in the document type as inner layout2.0.0



    type=“profile“

    This meta data refer to the current user profile of the user. It is available when WGA personalisation is enabled and when the user has a profile.

    name
    content
    since version
    namename of the user/the profile2.0.1
    typetype of the profile document, i.e. type of its creation

    1 – automatically generated

    2 – profile with user-defined login

    3 – database login related profile

    2.0.1
    lastaccessdate of last access2.0.1
    lastsessionidID of the current user session (i.e. last access)2.0.1
    lastsessiondatestart date of current user session (i.e. last access)2.0.1
    lastsessionhitshits in the current user session (i.e. last access)2.0.1
    prevsessionidID of previous user session2.0.1
    prevsessiondatestart date of previous user session2.0.1
    prevsessionhitshits in previous user session2.0.1
    hitstotal hits of this user2.0.1
    sessionsnumber of user sessions2.0.1
    clientidentification of browser client2.0.1
    languageslanguages the browser client accepts2.0.1
    logindatabase login (user name) last used2.0.1
    trackingkeystracking keys of the last 50 pages visited2.0.1

    type=“database“ (or type=“db“ - since 2.1.2)

    These meta data refer to the current content database.
    name
    content
    since version
    titletitle of database2.0.0
    pathpath information of database2.0.0
    typetype of database (implementation)2.0.0
    usernameuser name currently logged in to this database2.0.0
    dbkeydatabase key2.0.0
    useraccessaccess lever of currently logged in user

    0 = no access

    10 = reader

    20 = author

    30 = editor

    90 = manager

    According values plus 5 indicate additional designer rights.

    2.0.0
    titleprefixprefix for HTML page title defined in this database2.0.0
    defaultlanguagedefault language of the database2.0.0
    servernamename of the database server2.0.0
    domainThe Login-Domain this database is in3.0.0
    filecontainersNames of all file containers in this database3.0.0
    contenttypesNames of all content types in this database3.0.0
    cssjsmodulesNames of all css/js modules in this database3.0.0
    tmlmodulesNames of all tml modules in this database3.0.0
    areasNames of all website areas in this database3.0.0
    languagesNames of all language definitions in this database3.0.0

    type=“session“

    These meta data refer to the current user session.
    name
    content
    since version
    startstart of session2.0.0
    lastaccesslast access2.0.0
    idsession-ID2.0.0
    languagepreferred language of the user3.0.0

    type=“request“

    These meta data refer to the current page request.
    Namename
    Inhaltcontent
    since version
    urlURL of current page request.2.0.1
    wgaurlroot URL of WGA publisher without DNS name and port number2.0.1
    absolutewgaurlroot URL of WGA publisher in absolut format, including DNS name and port number2.0.1
    query_stringcorrespondents to CGI variable „QUERY_STRING“2.0.1
    http_referercorrespondents to CGI variable „HTTP_REFERER“2.0.1
    http_user_agentcorrespondents to CGI variable „HTTP_USER_AGENT“2.0.1
    http_hostcorrespondents to CGI variable „HTTP_HOST“2.0.1
    path_infocorrespondents to CGI variable „PATH_INFO“2.0.1
    path_info_decodedcorrespondents to CGI variable „PATH_INFO_DECODED“2.0.1
    remote_addrcorrespondents to CGI variable „REMOTE_ADDR“2.0.1
    remote_hostcorrespondents to CGI variable „REMOTE_HOST“2.0.1
    remote_usercorrespondents to CGI variable „REMOTE_USER“2.0.1
    request_methodcorrespondents to CGI variable „REQUEST_METHOD“2.0.1
    server_protocolcorrespondents to CGI variable „SERVER_PROTOCOL“2.0.1
    server_portcorrespondents to CGI variable „SERVER_PORT“2.0.1
    server_namecorrespondents to CGI variable „SERVER_NAME“2.0.1