For exporting selected groups or files as a website, DEVONthink uses templates available in ~/Library/Application Support/DEVONthink/Websites/ to create HTML files from documents. In the save dialog that appears when you use
File > Export > as Website, click the Show Options button, choose a template, and set your options. Then choose your location and export. Listed below are then available templates but feel free to duplicate and modify them to suit your own needs:
-
Default
-
Footer
-
Footer+Header
-
Header
-
Header+URL+Comment
These templates are constructed of the placeholders listed below. Each placeholder will be replaced with actual information during the export. The placeholders will only be replaced in documents that are converted to HTML during export, namely plain text, rich text, Microsoft Office/OpenOffice documents, scripts, chat logs, and sheets.
-
%charset%: The character set of the document. Rarely used.
-
%comment%: The Finder Comments of the document.
-
%content%: The body content of each document.
-
%databasePlusLocation%: The name of the containing database and the group location of the document.
-
%modification%: The modification date of each document.
-
%stylesheet%: Any custom stylesheet applied to a document.
-
%title%: The title of the document.
-
%url%: The URL of each document.
-
%tags%: Tags applied to each document.
|