HTMLDocument.addDocumentLink(3kaya)
NAME
HTMLDocument::addDocumentLink - Adds a document-level link
SYNOPSIS
Void addDocumentLink( HTMLDocument doc, Relationship relate, String uri, String title=createString(0), String ctype=createString(0) )
ARGUMENTS
doc The HTML document
rel The relationship this link describes
uri The resource linked to.
type The content-type of the linked document (optional)
DESCRIPTION
- Adds a document-level link to another resource.
- addDocumentLink(doc,Rel("next"),
- webappName()+"slide="+(slideno+1));
- addDocumentLink(doc,Rev("made"),"author@example.invalid");
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). 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.
RELATED
- The HTMLDocument.Relationship (3kaya) documentation explains the semantics of forward and reverse document links.