[Yanel-development] Page displaying and atom feed

Paloma Gomez paloma.gomez at wyona.com
Thu Nov 16 16:50:34 CET 2006


Hi Josias,

Thanks for your quick replies


>> I don't understand how  but the download area of the Yulup website does
>> that. There is an xhtml file index.html, with the content, and a folder
>> release-atom-entries which contains the atom entries. So the download
>> area
>> is made up two different parts: an xhtml file and a set of atom entries.
>> When the page is to be rendered, yanel shows both: the xhtml content and
>> the atom entries within the atom sidebar. Both the xhtml content and the
>> atom entries are editable independently.
>
> Hm, I tried to investigate a little.
> An xml resource can display another resource specified by the
> yanel-path.
>
> Example (index.html.yanel-rti):
>
> <{http://www.wyona.org/yanel/resource/1.0}xml/>
> mime-type: application/xhtml+xml
> xslt: /xslt/global.xsl
> yanel-path: /download/release-atom-entries/
>
> The xml resource will generate the view of the resource
> "/download/release-atom-entries", and then it will apply global.xsl.
> The generation of the first view includes an xslt transformation also
> (atomfeed2xhtml.xsl):
>
> release-atom-entries.yanel-rti:
>
> <{http://www.wyona.org/yanel/resource/1.0}atom/>
> feed-title: Releases
> author: Yulup Release Manager
> xslt: /xslt/atomfeed2xhtml.xsl
> self-url:
> http://www.yulup.org/download/release-atom-entries/?yanel.resource.viewid=atom
> #self-url:
> http://www.yulup.org:9190/ulysses/download/release-atom-entries/?yanel.resource.viewid=atom
>
>
> It seems that a part of the content you see on the yulup download page
> is not coming from website/download/index.html, but from
> website/xslt/atomfeed2xhtml.xsl
> I mean it does not really use the file /website/download/index.html
> (or am I crazy?)

You are right, I have tried modifying part of the text contained in the
xslt and it has showed up. The confusing thing is that the contents of
index.html are almost the same and they are not used at all (at least it
seems so).
>
> I guess it should be possible to do the same thing for the yanel
> website, although I think that this inclusion mechanism is confusing.

I find it quite confusing as well.

Thanks,

Paloma





More information about the Yanel-development mailing list