Elxis CMS Forum

Support => General => Topic started by: kdw on February 09, 2007, 12:58:54

Title: Share documents (items)
Post by: kdw on February 09, 2007, 12:58:54
Hi,
I'm seeking for a method to share documents (items) from one elxis site to another.
(only one source, but display at many sites)

RSS is not proper, because it cannot support different languages.

Who has an idea ?

Thanks
Klaus
Title: Re: Share documents (items)
Post by: datahell on February 09, 2007, 18:41:48
I have built many remote systems like this. You can do this with XML (and RSS!). This is how elxis.org publishes new releases in many languages via the Updiag tool. Example from Updiag's XML file:

Code: (XML) [Select]
<item>
<type>Language</type>
  <version>2006.4</version>
    <date>2007-01-30 09:09:17</date>
    <title>Latvian (2006.4)</title>
    <more>https://www.elxis.org/index.php?option=com_mtree&amp;task=viewlink&amp;link_id=68&amp;Itemid=138&amp;mylang=english</more>
    <link>https://www.elxis.org/index.php?option=com_fserver&amp;f=54</link>
    <license>GNU/GPL</license>
    <author>Mareks Kalnins</author>
    <price></price>
    <description><english>
<![CDATA[
    <img src="https://www.elxis.org/components/com_mtree/img/listings/68_latvia_flag.jpg" align="left" hspace="10" />
<p align="justify">Latvian language pack for Elxis 2006.4 frontend.<br />
We would like to thank Mareks Kalnins for this translation.</p>
]]>
</english>
<greek>
<![CDATA[
    <img src="https://www.elxis.org/components/com_mtree/img/listings/68_latvia_flag.jpg" align="left" hspace="10" />
<p align="justify">Πακέτο γλώσσας Λετονικών για το δημόσιο τμήμα του Elxis 2006.4.<br />
Ευχαριστούμε τον Mareks Kalnins για την μετάφραση.</p>
]]>
</greek>
<italian>
<![CDATA[
    <img src="https://www.elxis.org/components/com_mtree/img/listings/68_latvia_flag.jpg" align="left" hspace="10" />
<p align="justify">Pacchetto lettone di lingua per il frontend di Elxis 2006.4.<br />
Vorremmo ringraziare Mareks Kalnins per questa traduzione..</p>
]]>
</italian>
</description>
</item>