Author:
silexlabs
Version:
1.0.0
Released:
28 November 2010

New#1: XML output is not clean and do not allow to completely change the site structure

The XML output of the ensemble made by SilexLabs is too complicated and do not allow to do any website. So we have made new XML specifications which would be better but no one in our team could make it with xslt :(


XML specifications

The feeds

It depends on the Silex template. We will have most of the time

  • 1 feed for the N languages
  • N feeds for the list of pages of the N languages
  • several feeds for the galeries of images, videos, sounds, products...

The nodes of the XML feeds

An XML feed contains a list of items. The items are taken from a Symphony section. And each item has at least 2 nodes

  • section
  • group

The section node is the name of the section in Symphony, so it determines which other nodes does the item contain, and also which page template will be used to rendered the node in Silex.

The group determines the URL of the feed in which the item is present.

An example: the items of the feed "silex-symphony-ensemble/music-playlist1/" are the items of the section "lists" and which have the group value of "music-playlist1"

<item id="126">
    <group>music-playlist1</group>
    <section>audio-list</section>
    <title>Antiphaze</title>
    <date>2010-12-27</date>
    <description>Tis song is about love...</description>
    <media-file size="804 KB" path="/uploads" type="audio/mpeg">
        <filename>01.-antiphaze.mp3</filename>
        <meta creation="2010-12-27T13:18:45+00:00" />
    </media-file>
    <preview size="3 KB" path="/uploads" type="image/jpeg">
        <filename>thumb1.jpg</filename>
        <meta creation="2010-12-27T14:36:56+00:00" width="120" height="120" />
    </preview>
    <order>1</order>
    <artist>Iboga</artist>
    <duration>00:46</duration>
    <album>Antiphaze</album>
    <genre>Electro-Tribal</genre>
</item>

Note that in the actual prototype, the URL of this feed has the section name in it: "silex-symphony-ensemble/lists/music-playlist1/". And the above XML is more complicated in the prototype.

After this issue is solved, the front end (Silex template) should be changed to fit the new XML specifications

And this can be done by Silex Labs,

Then Symphony will be able to drive the Flash site - content and structure.

Please login to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details