[Zope-CVS] CVS: Packages/Moztop/CMFMoztop/skins/moztop - config.xml.pt:1.1 contents.rdf.pt:1.1

Sidnei da Silva sidnei@x3ng.com.br
Fri, 21 Feb 2003 10:41:26 -0500


Update of /cvs-repository/Packages/Moztop/CMFMoztop/skins/moztop
In directory cvs.zope.org:/tmp/cvs-serv31948/CMFMoztop/skins/moztop

Added Files:
	config.xml.pt contents.rdf.pt 
Log Message:
Adding CMF support tools and skins.

=== Added File Packages/Moztop/CMFMoztop/skins/moztop/config.xml.pt ===
<?xml version="1.0"?>

<configuration xmlns:dc="http://www.purl.org/dc/1.1#"
               xmlns:tal="http://xml.zope.org/namespaces/tal"
               tal:define="portal here/portal_url/getPortalObject;
                           moztop_support here/moztop_support">
  <realm tal:content="moztop_support/getRealm">myplone</realm>
  <dc:title tal:content="portal/title_or_id">My Site</dc:title>
</configuration>


=== Added File Packages/Moztop/CMFMoztop/skins/moztop/contents.rdf.pt ===
<?xml version="1.0"?>
<rdf:rdf xmlns:nc="http://home.netscape.com/NC-rdf#"
	 xmlns:dc="http://www.purl.org/dc/1.1#"
	 xmlns:site="http://www.zope.org/rdf#"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:tal="http://xml.zope.org/namespaces/tal"
         tal:define="dummy python:request.RESPONSE.setHeader('Content-Type','text/rdf');
                     moztop_support here/moztop_support;
                     realm moztop_support/getRealm">

<span tal:omit-tag="" tal:define="global resources moztop_support/getResources" />
<tal:block repeat="resource resources">
<rdf:description about="urn:moztop:sites:myplone:content:path" 
    tal:attributes="about string:urn:moztop:sites:${realm}:content:${resource/path}" >
   <dc:title tal:content="resource/title">title</dc:title>
   <site:resourcetype resource="urn:moztop:resourcetypes:type"
    tal:attributes="resource string:urn:moztop:resourcetypes:${resource/type}"/>
</rdf:description>
</tal:block>

<span tal:omit-tag="" tal:define="global folders moztop_support/getParentResources" />

<rdf:description about="urn:moztop:sites:myplone:content"
                 tal:attributes="about string:urn:moztop:sites:${realm}:content">
  <nc:subitems>
    <rdf:seq>
     <tal:block repeat="resource python:folders['__root__']">
     <rdf:li resource="urn:moztop:sites:myplone:content:path"
        tal:condition="resource/path"
        tal:attributes="resource string:urn:moztop:sites:${realm}:content:${resource/path}" />
     </tal:block>
    </rdf:seq>
  </nc:subitems>
</rdf:description>

<tal:block repeat="folder python:folders.keys()">
<rdf:description about="urn:moztop:sites:myplone:content"
                 tal:attributes="about string:urn:moztop:sites:${realm}:content:${folder}">
  <nc:subitems>
    <rdf:Seq>
     <tal:block repeat="resource python:folders[folder]">
     <rdf:li resource="urn:moztop:sites:myplone:content:path"
        tal:condition="resource/path"
        tal:attributes="resource string:urn:moztop:sites:${realm}:content:${resource/path}" />
     </tal:block>
    </rdf:Seq>
  </nc:subitems>
</rdf:description>
</tal:block>

</rdf:rdf>