Just as a small side point: _every_ dissemination has the PID in question available as a "special" parameter in WSDL.
--- A. Soroka The University of Virginia Library On Apr 2, 2013, at 6:43 AM, Egbert Gramsbergen wrote: > The example you mention (feeding the result of a risearch to an xslt) can be > done with a single dissemination, using xslt's doc() function pointing to the > url of your specific ri-query. As the primary input of the xslt I prefer to > use the RELS-EXT datastream because it will give you the pid that you will > usually need to construct the query. Of course, instead of pointing to a ri > query you can also point to another dissemination. I also did that at another > occasion, but that gives poorer performance. > > Regards, Egbert Gramsbergen > -----Original Message----- > From: Gibson, Jon E [mailto:[email protected]] > Sent: donderdag 28 maart 2013 0:10 > To: [email protected] > Subject: [fcrepo-user] Chaining disseminators (output --> input) > > Having no luck finding examples or documentation that use such a mechanism, I > thoughtI Would ask this list: > > > Is it possible for the output of one disseminator to be fed as input (a > param) to another disseminator? I have only begun working with Fedora and > find myself wanting to do this. > > For example: having a disseminator based on the Fedora Research Index Search > (risearch) produce xml from a query and feed that xml to a disseminator based > on XSLT to process it and output a web page. > > If it is possible, are there any drawbacks to doing it? (performance or > otherwise) > > If it is not possible, what are my options for such an operation? Would I > need to code external web service where I could use the REST API to make the > query and manipulate the result? Which seems like overkill in a lot of cases > where I just would like to create friendly html output that non-technical > people could use to see certain data about a collection's objects. > > I would rather not statically code the results of such a risearch query into > a XML Datastream in the object which would then need to be kept in sync with > the object if it changes. (This is how something like this is done in the > Image Collection demo that distributes with Fedora - a static LIST datastream > exists that is then fed to and XSLT disseminator to create a web page.) > > Thanks in advance for any answers to someone fairly new to Fedora. > > > > -- Jon Gibson > -- University of Texas Libraries > > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness > in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game on Steam. $5K > grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
