.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ======================= EXT: Semantic Templates ======================= :Created: 2010-02-18T17:33:18 :Changed: 2011-05-13T15:45:38 :Classification: nr_semantic_templates :Description: The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ---- :Keywords: semantic web, templates, forEditors, forAdmins :Author: Christian Weiske :Email: christian.weiske@netresearch.de :Info 4: :Language: en |img-1| |img-2| EXT: Semantic Templates - nr\_semantic\_templates .. _EXT-Semantic-Templates: EXT: Semantic Templates ======================= Extension Key: nr\_semantic\_templates Language: en Keywords: semantic web, templates, forEditors, forAdmins Copyright 2010-2011, Christian Weiske, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- `EXT: Semantic Templates 1 <#__RefHeading__595_725726808>`_ **`Introduction 3 <#__RefHeading__597_725726808>`_** `What does it do? 3 <#__RefHeading__599_725726808>`_ `Screenshots 3 <#__RefHeading__601_725726808>`_ **`Users manual 6 <#__RefHeading__603_725726808>`_** `Using a different LESS installation 6 <#__RefHeading__1271_725726808>`_ `Caching 7 <#__RefHeading__1273_725726808>`_ **`Links 8 <#__RefHeading__619_725726808>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ The “ *Semantic Templates* ” extension displays HTML templates from a ` *LESS* `_ installation in TYPO3 pages. *LESS* is a web application to create HTML templates and fill them with data from the semantic web (linked data: RDF, RDFa; and SPARQL query results). You can use it to display data from i.e. the Wikipedia on your TYPO3 page. Your page updates automatically when the data in Wikipedia change, and with LESS you have a central place to manage the layout of your template. Other people can improve your templates or add new ones, ready for you to use. Apart from Wikipedia, you can make use of any data that are available as Linked Data (RDF/RDFa) or via SPARQL queries. FOAF profiles of people are a good example for RDF data. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-3| *Abbildung 1: Facts from the "Berlin" Wikipedia page on a TYPO3 page* |img-4| *Abbildung 2: Editing a semantic template in the TYPO3 backend* |img-5| *Abbildung 3: The LESS installation's website* |img-6| *Abbildung 4: Editing a template in LESS* .. _Users-manual: Users manual ------------ “Semantic Templates” is a simple frontend plugin that you can insert anywhere on a page. In the standard “page” tool, create a new content element Select “Plugins” Click on “Semantic Template” Now the content element is inserted on the page and can be configured. Visit your LESS installation to get an overview about the available templates. By default, the extension uses `http://less.aksw.org/ `_ so have a look at it. Either pick a template you like or create a new one In the plugin settings, choose your selected template Enter the data URI. If you selected the *city fact box* , try `http://dbpedia.org/resource/Berlin `_ or `http://dbpedia.org/resource/London `_ Save and preview your page If you experience problems, check the “Enable debug output” box and you will get information that hopefully help you solving the issue. .. _Using-a-different-LESS-installation: Using a different LESS installation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ By default, *Semantic Templates* uses the official LESS demo installation at `http://less.aksw.org/ `_ For performance or privacy reasons, you can also obtain the `LESS source code from sourceforge `_ and install it on your own servers. The LESS URL of each semantic template plugin on a page can be configured on the “Basic settings” tab: |img-7| *Abbildung 5: Plugin configuration: Basic settings* Since changing that every single time is time consuming, you may define a system wide LESS URL in the extension configuration (via the extension manager): |img-8| *Abbildung 6: System wide extension configuration* .. _Caching: Caching ^^^^^^^ Rendered templates are cached for one day on the local server. If you are logged into the backend or use the no\_cache=1URL parameter, the cache is not used. .. _Links: Links ----- - E `xtension project page on TYPO3 Forge `_ – use it to report bugs and feature requests - `LESS project page on sourceforge `_ - `LESS demo installation `_ |img-2| 8 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :id: Grafik1 .. :name: Grafik1 .. :width: 100% .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :id: Grafik3 .. :name: Grafik3 .. :width: 100% .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :id: Grafik4 .. :name: Grafik4 .. :width: 100% .. |img-6| image:: img-6.png .. :align: left .. :border: 0 .. :id: Grafik5 .. :name: Grafik5 .. :width: 100% .. |img-7| image:: img-7.png .. :align: left .. :border: 0 .. :id: Grafik7 .. :name: Grafik7 .. :width: 100% .. |img-8| image:: img-8.png .. :align: left .. :border: 0 .. :id: Grafik8 .. :name: Grafik8 .. :width: 100%