Jason,

Ok, in this case you don't need a packager, what you need is a Cocoon
Generator that renders the Crosswalk to the browser.

Take a look at the OREGenerator...
http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceOREGenerator.java

It will show how to generate the crosswalk into Cocoon.  You'll find
the Cocoons configuration for the ore.xml generator in the default
sitemap.

<map:match pattern="metadata/handle/*/*/ore.xml**">
                                <map:generate type="DSpaceOREGenerator">
                                        <map:parameter name="handle"
value="{1}/{2}"/>
                                        <map:parameter name="extra"
value="{3}"/>
                                </map:generate>
                                <map:serialize type="xml"/>
                        </map:match>

http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/sitemap.xmap


On Tue, Sep 20, 2011 at 2:35 PM, Jason Stirnaman <[email protected]> wrote:
> Here's the follow-up to my previous question.
>
> I have a crude (but useable) XSLT crosswalk ("nlm") in DSpace. It transforms
> DIM metadata to fit the NLM Journal Publishing profile. I can test the
> output successfully with OAI-PMH.
>
> As it turns out, I don't really need to export bitstreams. I just need the
> metadata for a set of items within a collection that would be specified by
> the end-user/Community Owner. So, if I want just the crosswalk output for
> that set of items and I don't want the OAI protocol wrapper or the
> bitstreams, then do I still need a custom packager for that as in Mark's
> IMSCP example? I expect the answer is yes.
>
> I think what 'm really wanting is to be able to call the crosswalk as a
> method on the collection, in a RESTful way, and return the output as a
> single XML document for the collection containing each of the transformed
> items.
>
> Conjured example: handle/2271/883/nlm.xml or nlm/handle/2271/883
>
> Jason
>
>
> Jason Stirnaman
> Biomedical Librarian, Digital Projects
> A.R. Dykes Library, University of Kansas Medical Center
> [email protected]
> 913-588-7319
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 

Mark Diggory @mire Inc.
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to