[Yanel-development] Resource types and .yarep-uid files

Michael Wechner michael.wechner at wyona.com
Tue Nov 14 22:19:00 CET 2006


paloma at wyona.com wrote:

>Hi all,
>
>I am trying to add a new document to the Yanel Website. For this purpose,
>I have spent some time having a look at the way other documents that
>already belong to this website have been added.
>
>There are two things that I don't fully understand:
>
>1. Looking into the yanel-website/paths folder I have noticed that a
>document might be associated with several folders placed here:
>
>document-name.html
>document-name.html.yanel-rti
>document-name.xhtml
>document-name.xhtml.yanel-rti
>introspection-document-name.xml
>
>However, documents only have a subset of these folders:
>Example:
>index
>--------------------
>index.html
>index.html.yanel-rti
>index.xhtml
>index.xhtml.yanel-rti
>It does not have an introspection folder
>---------------------------
>mailing-lists
>--------------------------
>mailing-lists.html
>mailing-lists.xhtml
>mailing-lists.html.yanel-rti
>introspection-mailing-lists.xml
>It does not have a mailing-lists.xhtml.yanel-rti
>--------------------------
>I wonder why index does not have an introspection folder and why those
>*.yanel-rti folders sometimes are needed and sometimes aren't.
>  
>
there exists a hardcoded "fallback" for .yanel-rti

src/impl/java/org/wyona/yanel/impl/map/MapImpl.java

which is not nice and needs to be refactored, but for the moment
it does the trick. See also the logfiles (TODO ....). I have re-assigned 
the bug to you ;-)

http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=4985

Let's discuss it tomorrow

>
>
>2. I thought that *.yanel-rti folders should contain a file specifying the
>resource type. However, sometimes the files contain a long string of
>numbers. For instance:
>
>testing.html.yanel-rti -> rtd/page.rtd
>whereas
>index.xhtml.yanel-rti -> eb074873-defe-4849-a5ae-52112ecf49e6
>
>I would like to know what these long strings of numbers mean.
>  
>

this means it uses the FileSystemImplementation of Yarep, which
is a mapping from path to UUID

HTH

Michi

>
>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