[Yanel-development] Page displaying and atom feed

Paloma Gomez paloma.gomez at wyona.com
Thu Nov 16 12:40:49 CET 2006


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.

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

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?

Thanks,

Paloma



More information about the Yanel-development mailing list