Joshua Lucas wrote:
>
> I downloaded and installed JetSpeed this morning with Tomcat and everything
> worked great!
>
> I would like to contribute to JetSpeed and I was wondering if the inclusion
> of support for the ScriptingNews2 format would be beneficial. Here's a
> couple of examples of the format..
>
> http://scriptingnews.userland.com/xml/scriptingnews2.xml
>
> http://barista.editthispage.com/xml/scriptingnews2.xml
>
> It's similar in some instances to RSS but obviously different overall.
>
> As a JetSpeed newbie, what would be the best course in attacking this? I
> believe I need to write a portlet, a parse and ???.
>
> Any help would be greatly appreciated.
>
So I took a look at the URL. It would be great to add this to JetSpeed.
I initially added Portlet support so that developers could easily add
things like this in an easy manner.
So i see there are two ways to add this:
- Use Castor to generate your own API and have it spit out code via ECS
- Use Cocoon to transform the document via XSL.
The latter is prefered IMO. However, we don't have Cocoon as a Portlet
just yet (I would love to see someone do this). It would be easy to add
in Cocoon support as it isn't that complex (to a degree) and there are
examples of how to use Cocoon from a Servlet within the docs (this would
have to be ported to a Portlet).
I used Castor to generate the RSS document portlets. It works fine.
There are some specific reasons for doing so. Specifically because it
allows you to progmatically create an RSS document from a servlet and
save it to disk. This is important IMO as I want JetSpeed to create and
publish content and not just swallow it.
Also. Check out www.xmltree.com. They have a very large OCS channel
and it would be interesting to see how large the scripting news format
is.
Note that I am adding OCS support into JetSpeed (it is in beta) and when
it is done we will get like another 1600 channels/portlets.
Kevin
--
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile: 408-910-6145
Linux - The revolution will NOT be televised
--
--------------------------------------------------------------
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]