I don't know of a better way, unfortunately.  When we've attached queries as
datastreams we've generally just referenced an external file.  Often the
file is dynamically edited to edit the query as needed.

On Thu, Oct 27, 2011 at 4:33 PM, Kyle Banerjee <baner...@uoregon.edu> wrote:

> I thought about that -- my first attempt involved converting relevant
> symbols to XML entities. But that choked on ingestion because the result was
> a stream with no root element (or any other elements for that matter)
>
> What I'm doing now is serviceable, but it has a hacky feel to it. I just
> wanted to make sure I'm not attaching a plain text stream the dumb and
> complicated way.
>
> kyle
>
>
> Inline datastreams need to be XML, correct?  So in that case could you wrap
>> the query in an XML node and then do some work to unwrap it on the other
>> end?  I'm not sure that makes the process any less ugly...
>>
>>  On Thu, Oct 27, 2011 at 2:14 PM, Kyle Banerjee <baner...@uoregon.edu>wrote:
>>
>>>  Howdy all,
>>>
>>> We need a good way to migrate a large number of collections to Islandora.
>>> At least to us, the easiest way to do this seemed to be to shoot a bunch of
>>> FOXML at fedora using curl.
>>>
>>> The mechanism is serviceable, but there's one bit of ugliness I'd like to
>>> get around. We have not yet figured out how to include an ITQL query
>>> datastream inline. Rather, it must be inhaled using <foxml:contentlocation>.
>>> Since the query is different for every collection, we have the URL in the
>>> contentLocation pass some parameters so that the correct string can be
>>> returned. It's not XML, so I can't pass it off as xmlContent. It appears
>>> that to pass binaryContent, it needs to be base64 encoded.
>>>
>>> Am I correct in understanding that the only way to pass this simple text
>>> stream is via reference or by base64 encoding it? Thanks,
>>>
>>> kyle
>>> --
>>> ----------------------------------------------------------
>>> Kyle Banerjee
>>> Digital Services Program Manager
>>> Orbis Cascade Alliance
>>> baner...@uoregon.edu / 503.877.9773
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The demand for IT networking professionals continues to grow, and the
>>> demand for specialized networking skills is growing even more rapidly.
>>> Take a complimentary Learning@Cisco Self-Assessment and learn
>>> about Cisco certifications, training, and career opportunities.
>>> http://p.sf.net/sfu/cisco-dev2dev
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> Fedora-commons-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>>>
>>
>>
>> --
>> Andrew Ashton
>> Director of Digital Technologies
>> Brown University Library
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The demand for IT networking professionals continues to grow, and the
>> demand for specialized networking skills is growing even more rapidly.
>> Take a complimentary Learning@Cisco Self-Assessment and learn
>> about Cisco certifications, training, and career opportunities.
>> http://p.sf.net/sfu/cisco-dev2dev
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>>
>
>
> --
> ----------------------------------------------------------
> Kyle Banerjee
> Digital Services Program Manager
> Orbis Cascade Alliance
> baner...@uoregon.edu / 503.877.9773
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>


-- 
Andrew Ashton
Director of Digital Technologies
Brown University Library
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to