.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt =================== EXT: srcxmlprovider =================== :Created: 2010-02-18T17:33:18 :Changed by: Torsten Tiltack :Changed: 2014-08-04T22:37:32 :Classification: srcxmlprovider :Description: We are able to provide pages which we marked within BE and also can define special values to show within the XML file. We can define (for example) CSS Classes as additional information. We can add additional pathes we want to provide within XML too. Many more things. Be creative ;) :Keywords: XML provider, XML, sourcecrew. :Author: Torsten Tiltack & Mihir Bhatt :Email: info@sourcecrew.org :Info 4: :Language: en |img-1| |img-2| EXT: srcxmlprovider - srcxmlprovider .. _EXT-srcxmlprovider: EXT: srcxmlprovider =================== Extension Key: srcxmlprovider Language: en Keywords: XML provider, XML, sourcecrew. Copyright 2000-2014, Torsten Tiltack & Mihir Bhatt, 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: Readable name of your extension 1 <#__RefHeading__5610_592635767>`_ **`Introduction 3 <#__RefHeading__5612_592635767>`_** `What does it do? 3 <#__RefHeading__5614_592635767>`_ `Screenshots 3 <#__RefHeading__3959_592635767>`_ `Installation 3 <#__RefHeading__3961_592635767>`_ `Configuration 3 <#__RefHeading__3969_592635767>`_ `Additional 4 <#__RefHeading__4112_592635767>`_ .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ - We are able to provide pages which we marked within BE and also can define special values to show within the XML file. - We can define (for example) CSS Classes as additional information. - We can add additional pathes we want to provide within XML too. - Many more things. Be creative ;) .. _Screenshots: Screenshots ^^^^^^^^^^^ Pagewise configuration. In that case we are able to mark a page for the XML output. |img-3| .. _Installation: Installation ^^^^^^^^^^^^ Upload the EXT with the help of the extension manager. Don´t forget to include the static template files Installation is completed … .. _Configuration: Configuration ^^^^^^^^^^^^^ Open your **TS Setup** file Create a new pageNum. (With that help we are able to provide XML like this: **http://yourdomain.com?type=1234** The TS creates the new typeNum and also use our plugin and it´s action for providing the XML in FE: sitemap = PAGE sitemap { typeNum = 1234 config { \# Charset soll utf-8 sein metaCharset = utf-8 \# TYPO3 Header Code deaktivieren disableAllHeaderCode = 1 \# Content-type anpassen additionalHeaders = Content-type:text/xml;charset=utf-8 \# Seite nicht Cachen no\_cache = 1 \# Kein xhtml cleaning durch TYPO3 xhtml\_cleaning = 0 } 10 = USER\_INT 10 { userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run pluginName = Sitemap extensionName = Srcxmlprovider controller = Sitemap vendorName = Sourcecrew action = exportXml switchableControllerActions { Sitemap { 1 = exportXml } } } } .. _Additional: Additional ^^^^^^^^^^ We are able to provide additional informations with the help of Typoscript... Here comes some demonstration for an include of a CSS file path within the XML file: This configs can be done within the constants: \# x\_srcxmlprovider CSS path settings plugin.tx\_srcxmlprovider.settings.cssFile = fileadmin/templetes/mobile/css/navigation.css |img-2| 4 .. ######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 .. :height: 173 .. :id: Grafik1 .. :name: Grafik1 .. :width: 669