Font size:
ls.contracts
theme name: common
content-doap-link
file-name:
content-doap-link.ft
description:
content-doap-link will output the doap link with image to the content.
usage:
<forrest:contract name="content-doap-link"/>
forrest-template definition:
<forrest:template inputFormat="xsl" name="content-doap-link"/>
doap-embedded
file-name:
doap-embedded.ft
description:
This template outputs html link elements for embedding DOAP files.
The contract requires the locations of DOAP files to be passed in as parameters using the following syntax :
<doap url="food.rdf">
- url attribute indicates the location of the DOAP file. The url attribute is required.
- title attribute indicates the title DOAP file. The title attribute is optional an has a default value of "DOAP".
usage:
<forrest:contract name="doap-embedded"> <forrest:property name="doap-embedded-links"> <doap url="foo.rdf"/> <doap url="foo.bar.xml"/> ... </forrest:property> </forrest:contract>
forrest-template definition:
<forrest:template inputFormat="xsl" name="doap-embedded"/>