HTMLDocument.addDocumentMetaData(3kaya)

HTMLDocument.addDocumentMetaData3kaya

Adds a meta-data key/value pair to the document

Usage

Void addDocumentMetaData( HTMLDocument doc, String key, String value )

Arguments

doc The HTML document

key The key name for the meta-data value

value The meta-data value

Overview

Adds a meta-data key/value pair to the document. This can be used to add additional information to the document useful to automated tools. The use of this data in the ranking algorithms of internet search engines has been widely debated but appears to be marginal at best. It may, however, be useful for local search engines or cataloguing software.

addDocumentMetaData(doc,"Author","John Smith");
addDocumentMetaData(doc,"Description","An example document");

"HTTP-equiv" meta-data is not supported by this module - just add a real HTTP header using HTMLDocument.addHTTPHeader (3kaya) instead.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Authors

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

License

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

From kaya 0.4.4-6.2 in Debian 8 (Jessie). Parsed by carta from the page's man source.