From the way I interpret your situation. I'd either:
1. Declare the ext attribs in "keys"
2. Describe the ext attribs in the metadata payload (linked or inline). The payload schema format should match the metadata, not the resource itself. You can use any format you want including JSON.
3. Do both
Slice is currently the only service that you could use to query by keys/tags anyways, and I think it ignores the X_ attributes.
In the future there will most likely be ways to index the entire envelope. With a real query language. We've already experimented with a Lucene/Solr based solution, but that is currently not part of any release.
- Jim
Sent from my iPhone
Ah – I think get it. I believe what you want to do is instead of submitting those x_ attributes is to actually submit a “payload” with metadata describing those elements. You can submit that in any format you want –do you use a particular standard metadata format internally already? Like Dublin Core or LOM or whatever?
Whatever you choose, you would basically indicate in that format (in the LR payload) that each resource is available in multiple formats. In pseudo-metadata:
{standard lr-envelope header stuff here…,
“resource_data”:”<xml><isbn>123</isbn><formats><format type=”daisy”><format type=”brf”><format type=”epub3”></formats></xml>”
}
Obviously that xml is total mockup – don’t use that, but whatever format (ideally a standardized one) you find that lets you describe your materials, put it in the “resource_data” field (what we often call the payload) and then put a description of that format in “payload_schema”..
Steve
I think those tags are good ones. Assuming categories have some subject related content that makes it even better – but helpful to have categories like “literature” or “algebra” in the keys where possible.
There is some duplication but it is hopefully a healthy inefficiency for the time being.. “Deep envelope inspection” is technically possible too for well defined formats, but that’s not being done right now as you observe.
Steve
From: learnin...@googlegroups.com [mailto:learnin...@googlegroups.com] On Behalf Of Gerardo Capiel
Sent: Wednesday, October 12, 2011 12:03 AM
To: learnin...@googlegroups.com
Subject: [Learningreg-Dev] Re: Examples of using extended elements
OK, we will look at using the payload for the metadata. The question is how much the metadata in the payload do we also want to have in the keys. My understanding is that end users will be able to query/slice based on the tags, but not the payload information. Our current plan is to include in the tags: