[Zope-CVS] CVS: Packages/Moztop/moztopsupport/xml - container.py:1.4 rsd.pt:1.3
Stephan Richter
srichter@cbu.edu
Fri, 21 Mar 2003 08:53:53 -0500
Update of /cvs-repository/Packages/Moztop/moztopsupport/xml
In directory cvs.zope.org:/tmp/cvs-serv16555/moztopsupport/xml
Modified Files:
container.py rsd.pt
Log Message:
Fixed up moztopsupport to return correct and complete RDF for contents.rdf
and resource_types.rdf, but the work is not yet done.
I would like to move all RDF generation to the RDFNode and RDFContainer
for the contents.rdf.
=== Packages/Moztop/moztopsupport/xml/container.py 1.3 => 1.4 ===
--- Packages/Moztop/moztopsupport/xml/container.py:1.3 Thu Mar 20 16:37:19 2003
+++ Packages/Moztop/moztopsupport/xml/container.py Fri Mar 21 08:53:52 2003
@@ -11,19 +11,18 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-__doc__ = """ Site Configuration XML View.
+""" Site Configuration XML View.
$Id$
"""
from zope.app.interfaces.container import IContainer, IZopeContainer
-from zope.app.interfaces.traversing import IPhysicallyLocatable
-from zope.app.interfaces.services.service import IServiceManagerContainer
from zope.app.interfaces.dublincore import IZopeDublinCore
-from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.app.interfaces.services.service import IServiceManagerContainer
+from zope.app.interfaces.traversing import IPhysicallyLocatable, IObjectName
from zope.app.content.folder import RootFolder
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.publisher.browser import BrowserView
-from zope.app.interfaces.traversing import IObjectName
from zope.component import getView, getService, getAdapter
class Config(BrowserView):
@@ -41,10 +40,10 @@
return '%s/%s' %(self.homePageLink(), 'rsd.xml')
def contentsURL(self):
- return '%s/%s' % (self.homePageLink(), 'contents.rdf')
+ return '%s/%s' % (self.homePageLink(), '@@contents.rdf')
def resourcetypesURL(self):
- return '%s/%s' % (self.homePageLink(), 'resource_types.rdf')
+ return '%s/%s' % (self.homePageLink(), '@@resource_types.rdf')
def getTitle(self):
context = self.context
=== Packages/Moztop/moztopsupport/xml/rsd.pt 1.2 => 1.3 ===
--- Packages/Moztop/moztopsupport/xml/rsd.pt:1.2 Thu Mar 20 14:30:51 2003
+++ Packages/Moztop/moztopsupport/xml/rsd.pt Fri Mar 21 08:53:52 2003
@@ -17,10 +17,10 @@
http://www.zope.org/
</oscom:siteurn>
<oscom:contentsurl tal:content="view/contentsURL">
- http://www.zope.org/contents.rdf
+ http://www.zope.org/@@contents.rdf
</oscom:contentsurl>
<oscom:resourcetypesurl tal:content="view/resourcetypesURL">
- http://www.zope.org/resource_types.rdf
+ http://www.zope.org/@@resource_types.rdf
</oscom:resourcetypesurl>
<dc:title tal:content="view/getTitle">Site</dc:title>
</settings>