Thomas, Thomas S. Pangborn wrote:
I have seen where the Cernunnos code base does have an API. I figured I could code a simple Servlet/JSP to perform this task.
Yes, I think this enhancement could be accomplished in short order. There is already a portlet implementation in the Cernunnos codebase that you could use as an example: http://cernunnos.googlecode.com/svn/trunk/cernunnos-core/src/main/java/org/danann/cernunnos/runtime/web/CernunnosPortlet.java
Ultimately, you will want to invoke the 'import-channel.crn' file for this use case. IIRC, the import-xxx.crn series files take over after the the source XML (.channel file) has already been parsed; you can read the channel XML from wherever you like (file system, SVN, HTTP, multi-part form submission, etc.), parse it, then call 'import-channel.crn' and it should all fall into place.
If you encounter any difficulty with the API, feel free to post to the Cernunnos Discussion group: http://groups.google.com/group/cernunnos-discussion. I'll be sure to get right back to you.
drew wills -- Andrew Wills UNICON, Inc. Office: (480) 558-2476 http://code.google.com/p/cernunnos/ -- Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!" April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
