[Zope-CVS] CVS: Packages/Moztop/CMFMoztop/skins/moztop - configurations.rdf.pt:1.1 views.rdf.pt:1.1 contents.rdf.pt:1.2
Sidnei da Silva
sidnei@x3ng.com.br
Sat, 1 Mar 2003 08:22:26 -0500
Update of /cvs-repository/Packages/Moztop/CMFMoztop/skins/moztop
In directory cvs.zope.org:/tmp/cvs-serv24939/skins/moztop
Modified Files:
contents.rdf.pt
Added Files:
configurations.rdf.pt views.rdf.pt
Log Message:
(ugly but working) proof of concept. Now you can see portal_skins folders under views and portal_types, portal_workflow and portal_skins skinpaths inside configurations.
=== Added File Packages/Moztop/CMFMoztop/skins/moztop/configurations.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"
xmlns:metal="http://xml.zope.org/namespaces/metal"
tal:define="dummy python:request.RESPONSE.setHeader('Content-Type','text/rdf');
moztop_support here/moztop_support;
realm moztop_support/getRealm">
<metal:block define-macro="configurations">
<span tal:omit-tag="" tal:define="global resources moztop_support/getConfigurationsResources" />
<tal:block repeat="resource resources">
<rdf:description about="urn:moztop:sites:myplone:configurations:path"
tal:attributes="about string:urn:moztop:sites:${realm}:configurations:${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/getConfigurationsParentResources" />
<rdf:description about="urn:moztop:sites:myplone:configurations"
tal:attributes="about string:urn:moztop:sites:${realm}:configurations">
<nc:subitems>
<rdf:seq>
<tal:block repeat="resource python:folders['__root__']">
<rdf:li resource="urn:moztop:sites:myplone:configurations:path"
tal:condition="resource/path"
tal:attributes="resource string:urn:moztop:sites:${realm}:configurations:${resource/path}" />
</tal:block>
</rdf:seq>
</nc:subitems>
</rdf:description>
<tal:block repeat="folder python:folders.keys()">
<rdf:description about="urn:moztop:sites:myplone:configurations"
tal:attributes="about string:urn:moztop:sites:${realm}:configurations:${folder}">
<nc:subitems>
<rdf:Seq>
<tal:block repeat="resource python:folders[folder]">
<rdf:li resource="urn:moztop:sites:myplone:configurations:path"
tal:condition="resource/path"
tal:attributes="resource string:urn:moztop:sites:${realm}:configurations:${resource/path}" />
</tal:block>
</rdf:Seq>
</nc:subitems>
</rdf:description>
</tal:block>
</metal:block>
</rdf:rdf>
=== Added File Packages/Moztop/CMFMoztop/skins/moztop/views.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"
xmlns:metal="http://xml.zope.org/namespaces/metal"
tal:define="dummy python:request.RESPONSE.setHeader('Content-Type','text/rdf');
moztop_support here/moztop_support;
realm moztop_support/getRealm">
<metal:block define-macro="views">
<span tal:omit-tag="" tal:define="global resources moztop_support/getViewsResources" />
<tal:block repeat="resource resources">
<rdf:description about="urn:moztop:sites:myplone:views:path"
tal:attributes="about string:urn:moztop:sites:${realm}:views:${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/getViewsParentResources" />
<rdf:description about="urn:moztop:sites:myplone:views"
tal:attributes="about string:urn:moztop:sites:${realm}:views">
<nc:subitems>
<rdf:seq>
<tal:block repeat="resource python:folders['__root__']">
<rdf:li resource="urn:moztop:sites:myplone:views:path"
tal:condition="resource/path"
tal:attributes="resource string:urn:moztop:sites:${realm}:views:${resource/path}" />
</tal:block>
</rdf:seq>
</nc:subitems>
</rdf:description>
<tal:block repeat="folder python:folders.keys()">
<rdf:description about="urn:moztop:sites:myplone:views"
tal:attributes="about string:urn:moztop:sites:${realm}:views:${folder}">
<nc:subitems>
<rdf:Seq>
<tal:block repeat="resource python:folders[folder]">
<rdf:li resource="urn:moztop:sites:myplone:views:path"
tal:condition="resource/path"
tal:attributes="resource string:urn:moztop:sites:${realm}:views:${resource/path}" />
</tal:block>
</rdf:Seq>
</nc:subitems>
</rdf:description>
</tal:block>
</metal:block>
</rdf:rdf>
=== Packages/Moztop/CMFMoztop/skins/moztop/contents.rdf.pt 1.1 => 1.2 ===
--- Packages/Moztop/CMFMoztop/skins/moztop/contents.rdf.pt:1.1 Fri Feb 21 10:41:25 2003
+++ Packages/Moztop/CMFMoztop/skins/moztop/contents.rdf.pt Sat Mar 1 08:22:25 2003
@@ -4,6 +4,7 @@
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"
+ xmlns:metal="http://xml.zope.org/namespaces/metal"
tal:define="dummy python:request.RESPONSE.setHeader('Content-Type','text/rdf');
moztop_support here/moztop_support;
realm moztop_support/getRealm">
@@ -47,5 +48,8 @@
</nc:subitems>
</rdf:description>
</tal:block>
+
+<metal:block use-macro="here/views.rdf/macros/views" />
+<metal:block use-macro="here/configurations.rdf/macros/configurations" />
</rdf:rdf>