forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vicent Mas <uve...@gmail.com>
Subject problem with feeder plugin
Date Mon, 02 Nov 2009 12:21:28 GMT
Hi,

In a recent post I've been suggested to have a look to the feeder plugin 
(among others) as it could help me to deal with problems in a customised 
contract. I've done it, but I cannot manage to get the plugin working in my 
website. Following the instructions in the feeder plugin site, 
http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.feeder/index.html:

- I've created a feedDescriptor.xml with the content

<document>
  <head>
    <title>Test</title>
  </head>
  <body>
    <feedDescriptor>
      <feed id="BBCSport_UK">
        <url>http://news.bbc.co.uk/rss/sportonline_uk_edition/front_page/rss.xml</url>
      </feed>
    </feedDescriptor>
  </body>
</document>

Nothing is said in the webpage about filename extension or format. I'm assuming 
it has to be a xdoc document with .xml extension. The file lives in the xdocs 
directory of my project (i.e. src/documentation/content/xdocs)

- In a page of my website I've added (inside a <p> element) the link:

<a href="./feedDescriptor.rss.html">BBC Sports UK</a>

- I've executed 'forrest run'

When I click over the rss link I get the following Internal Server Error:

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not 
permitted. 

Request URI

feedDescriptor.rss.html

request-uri

/feedDescriptor.rss.html

Could somebody tell me what am I doing wrong? TIA

Vicent
::

	Share what you know, learn what you don't


Mime
View raw message