[Yanel-development] resource.xml, *.rtd and *.yanel-rti files
yanel-development at wyona.com
yanel-development at wyona.com
Wed Nov 15 14:45:00 CET 2006
yanel-development at wyona.com wrote:
>Hi all (again;)),
>
>I have been studying how resources types are defined and now I've got some
>questions:
>
>1.It seems that a resource type implementation can be placed either in
>src/resources or src/contributions/resources. What's the difference
>between these places?
>
>
it can be placed anywhere resp. it's configurable within conf/yanel.xml
>------------------------------------------------------------------
>2.Each resource type has a resource.xml file where the following
>properties are defined:
>
>a. name, associated namespace, implementing class
>b. description
>c. rtd section. The different attributes that can be set in the
>corresponding *.rtd file are defined here.
>
>
right
>There is one thing I don't fully understand regarding this issue. In Yanel
>Website we have a folder content/rtd where the different *.rtd files for
>the different resource types are placed. However, in Yulup website we have
>got *.yanel-rti files which are used the same way these *.rtd files are
>used. What's the difference between rti and rtd?
>
both is possible, whereas it's a matter how your yarep repositories are
being configured.
You might want to check out Yarep .../public/yarep/trunk and take a look
at the examples.
> Can I have rti files in
>Yanel Website as well?
>
>
yes
>----------------------------------------------------------
>3. Why does content/rtd/atom.rtd have file here:
>[code]
><{http://www.wyona.org/yanel/resource/1.0}file/>
>mime-type: application/atom+xml
>[/code]
>
>
I think this is obsolete, whereas it used a static atom xml
>if the corresponding resource.xml says it should be atom
>[code]
><resource xmlns="http://www.wyona.org/yanel/1.0"
> name="atom"
>[/code]
>
>
that's recommended, but it doesn't have to be this way
HTH
Michi
>
>For instance, the nutch resource type is coherent:
>resource.xml:
>[code]
><resource xmlns="http://www.wyona.org/yanel/1.0"
> name="nutch"
>[/code]
>
>nutch.rtd:
>[code]
><{http://www.wyona.org/yanel/resource/1.0}nutch/>
>#xslt: /xslt/myxslt.xsl
>[/code]
>
>Thanks,
>
>Paloma
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list