John Landahl wrote:
<snip>
> Did you have any luck with this? I added Moreover as a content feed, and
> while the ocsdirector.rdf file gets downloaded just fine, the transformation
> (with ocs.xsl) doesn't produce any portlets. The relevant lines of my
> turbine.log file are:
Hm... that is weird. It could be in their OCS format. If the
namespaces aren't correct, etc Xalan won't produce the correct output.
The way it works is:
- Download the OCS feed via HTTP
- XSLT the OCS stream into PSML.
- Use the PortletFactory to add these to the PortletRegistry.
What it looks like is that the ocs.xsl XSLT stylesheet isn't working
correctly. You can run Xalan from the command line and then see what
the resulting XML/OCS document looks like:
java org.apache.xalan.xslt.Process -IN ocsdirectory.rdf -XSL ocs.xsl
It seems like the transform isn't' working correctly.
If you patch the ocs.xsl file I would be +1 for getting this into 1.2
and also finding out what the bug was... hmmmm..
> -- END FEED -> http://w.moreover.com/categories/ocs/ocsdirectory.rdf ->
> SUCCESS
Kevin
--
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
burtonator)
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme
excellence consists in breaking the enemy's resistance without fighting.
- Sun Tzu, 300 B.C.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]