[Yanel-development] Page displaying and atom feed

Josias Thöny josias.thoeny at wyona.com
Thu Nov 16 14:45:50 CET 2006


On Thu, 2006-11-16 at 12:40 +0100, Paloma Gomez wrote:
> Hi all,
> 
> I have finally made the atom feed show up. However, I have the following
> problem: if I make the atom feed show up, the xhtml page is rendered
> without headers and navigation framework and if I make the page to be
> rendered correctly, the feed doesn't show up. I have tried two different
> rtds but none of them have worked.

Maybe you have to apply two xslts to get both the atom content and the
header/nav stuff right. First atomfeed2xhtml.xsl, and then global.xsl. 
But I guess there is no mechanism implemented to do that.

Michi, do you have an idea how to solve this problem?

> 
> Without any rtd the feed shows up and the content of the page is shown
> without headers and navigation framework.

AFAIK there exists no navigation framework yet. The navigation menu is
just a list of links hardcoded into global.xsl. That's why they don't
show up when global.xsl ist not used...

In order to have a navigation framework for generating dynamic
navigation, we have to find a solution how to aggregate different
sources of content to generate a page.

Is there a plan how to do that?

> With the following rtd file the page renders correctly, but the feed
> doesn't show up:
> ---------------------------------
> <{http://www.wyona.org/yanel/resource/1.0}xml/>
> mime-type: application/xhtml+xml
> xslt: /xslt/global.xsl
> ---------------------------------
> 
> This rtd file is the same used in Yulup Website (in yulup website it is a
> yanel-rti file), but it doesn't work here.
> ---------------------------------------
> <{http://www.wyona.org/yanel/resource/1.0}xml/>
> mime-type: application/xhtml+xml
> xslt: /xslt/global.xsl
> yanel-path: /news/release-atom-entries/
> ----------------------------------------
> 
>  I get the following error message:
> --------------------------------------
> <yanel servlet-context-real-path="/opt/apache-tomcat-5.5.20/webapps/yanel/">
> <request servlet-path="/yanel-website/news/index.html"
> uri="/yanel/yanel-website/news/index.html"/>
> &#8722;
> 	<session id="571A5B4137753792E81C1480E98EDE4C">
> <no-attributes/>
> </session>
> <resource-type-identifier local-name="xml"
> namespace="http://www.wyona.org/yanel/resource/1.0"/>
> &#8722;
> 	<resource>
> <view>View Descriptors: null</view>
> <last-modified>Tue Nov 14 11:17:31 CET 2006</last-modified>
> </resource>
> <exception>InputStream of view is null!</exception>
> </yanel>
> --------------------------------------------------------
> This is the end of the log file:
> ----------------------------------------
> 5938 2006-11-16 12:21:36,043 [http-8080-Processor25] WARN 
> org.wyona.security.impl.PolicyManagerImpl.authorize():149  - No such node:
> /news/introspection-index.xml.policy (Repository: Repository: ID =
> yanel-website, Configuration-File =
> /opt/yanel/src/realms/yanel-website/config/repository.xml, Name = Yanel
> Website Repository)
> 5939 2006-11-16 12:21:36,044 [http-8080-Processor25] WARN 
> org.wyona.security.impl.PolicyManagerImpl.authorize():149  - No such node:
> /news.policy (Repository: Repository: ID = yanel-website,
> Configuration-File =
> /opt/yanel/src/realms/yanel-website/config/repository.xml, Name = Yanel
> Website Repository)
> 5945 2006-11-16 12:21:36,050 [http-8080-Processor25] WARN 
> org.wyona.yanel.impl.map.MapImpl.getResourceTypeIdentifier():78  - No such
> node: /news/introspection-index.xml.yanel-rti (Repository: Repository: ID
> = yanel-website, Configuration-File =
> /opt/yanel/src/realms/yanel-website/config/repository.xml, Name = Yanel
> Website Repository)
> 5945 2006-11-16 12:21:36,050 [http-8080-Processor25] WARN 
> org.wyona.yanel.impl.map.MapImpl.getResourceTypeIdentifier():79  - TODO:
> Implement chain of responsibility ...
> 5965 2006-11-16 12:21:36,070 [http-8080-Processor25] WARN 
> org.wyona.yanel.impl.resources.FileResource.getMimeType():93  -
> org.wyona.yarep.core.NoSuchNodeException: No such node:
> /news/introspection-index.xml.yanel-rti (Repository: Repository: ID =
> yanel-website, Configuration-File =
> /opt/yanel/src/realms/yanel-website/config/repository.xml, Name = Yanel
> Website Repository)
> ----------------------------------------------------------------------
> 
> I'm a bit confused with those parameters and the paths. Is there some
> documentation on this?

Is there a node /news/release-atom-entries/ in your repository?
I don't know either what the yanel-path property means, and I don't
think there is any documentation...
Maybe somebody else can help here?

josias


> 
> Thanks,
> 
> Paloma
> 
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
> 




More information about the Yanel-development mailing list