1HTMLDocument.addDocumentMetaDaKtaay(a3kmaoydau)leHTrMeLfDeorceunmceent.addDocumentMetaData(3kaya)
2
3
4
6 HTMLDocument::addDocumentMetaData - Adds a meta-data key/value pair to
7 the document
8
10 Void addDocumentMetaData( HTMLDocument doc, String key, String value )
11
13 doc The HTML document
14
15 key The key name for the meta-data value
16
17 value The meta-data value
18
20 Adds a meta-data key/value pair to the document. This can be used to
21 add additional information to the document useful to automated tools.
22 The use of this data in the ranking algorithms of internet search
23 engines has been widely debated but appears to be marginal at best. It
24 may, however, be useful for local search engines or cataloguing soft‐
25 ware.
26
27
28 addDocumentMetaData(doc,"Author","John Smith");
29 addDocumentMetaData(doc,"Description","An example document");
30
31 "HTTP-equiv" meta-data is not supported by this module - just add a
32 real HTTP header using HTMLDocument.addHTTPHeader (3kaya) instead.
33
35 Kaya standard library by Edwin Brady, Chris Morris and others
36 (kaya@kayalang.org). For further information see http://kayalang.org/
37
39 The Kaya standard library is free software; you can redistribute it
40 and/or modify it under the terms of the GNU Lesser General Public
41 License (version 2.1 or any later version) as published by the Free
42 Software Foundation.
43
45 HTMLDocument.MetaData (3kaya)
46 HTMLDocument.addHTTPHeader (3kaya)
47
48
49
50Kaya DecembeHrTM2L0D1o0cument.addDocumentMetaData(3kaya)