Open-Xchange Publishing: Difference between revisions
No edit summary |
(grammar) |
||
Line 1: | Line 1: | ||
= Publishing Data with Open-Xchange = | = Publishing Data with Open-Xchange = | ||
Open-Xchange offers to publish an increasing amount of internal data like contacts, documents, appointments. This data can be published in a way | Open-Xchange offers to publish an increasing amount of internal data like contacts, documents, appointments. This data can be published in a way that it is machine-readable using [http://oxmf.org OXMF] and it can be customized in it's look and feel using common web techniques like CSS. | ||
Open-Xchange is using the [http://freemarker.org/ FreeMarker Template Engine] to export the internal date to the published templates. Check the [http://freemarker.org/docs/index.html FreeMarker Manual] on how to use it. | Open-Xchange is using the [http://freemarker.org/ FreeMarker Template Engine] to export the internal date to the published templates. Check the [http://freemarker.org/docs/index.html FreeMarker Manual] on how to use it. | ||
Line 11: | Line 11: | ||
== Changing the default templates == | == Changing the default templates == | ||
The default templates of all existing items to publish can be found in the folder <tt>/opt/open-xchange/templates/</tt> of every Open-Xchange installation, | The default templates of all existing items to publish can be found in the folder <tt>/opt/open-xchange/templates/</tt> of every Open-Xchange installation, if the package '''open-xchange-publish-microformats''' is installed: | ||
$ dpkg -L open-xchange-publish-microformats | grep templates | $ dpkg -L open-xchange-publish-microformats | grep templates |
Revision as of 13:53, 23 February 2010
Publishing Data with Open-Xchange
Open-Xchange offers to publish an increasing amount of internal data like contacts, documents, appointments. This data can be published in a way that it is machine-readable using OXMF and it can be customized in it's look and feel using common web techniques like CSS.
Open-Xchange is using the FreeMarker Template Engine to export the internal date to the published templates. Check the FreeMarker Manual on how to use it.
Open-Xchange Internal data structures to access with FreeMarker
Examples
Changing the default templates
The default templates of all existing items to publish can be found in the folder /opt/open-xchange/templates/ of every Open-Xchange installation, if the package open-xchange-publish-microformats is installed:
$ dpkg -L open-xchange-publish-microformats | grep templates /opt/open-xchange/templates /opt/open-xchange/templates/contacts_oxmf_uncensored.tmpl /opt/open-xchange/templates/infostore.tmpl /opt/open-xchange/templates/contacts_hcard_censored.tmpl /opt/open-xchange/templates/contacts_oxmf_censored.tmpl /opt/open-xchange/templates/contacts.tmpl /opt/open-xchange/templates/contacts_hcard_uncensored.tmpl
When these files are changed, new published items in Open-Xchange will get this look and feel. Check out the online help or the user guides on how to publish using Open-Xchange.