Hi,
The xml root says:
<search-results xmlns="http://search.opencastproject.org"
xmlns:ns2="http://mediapackage.opencastproject.org" ....
The real issue though is that the wrong data is in the XML file
Regards
James
On 07/02/13 16:38, Karen Dolan wrote:
James,
I had a similar problem parsing a dublin core that had mixed
http://purl.org/dc/elements/1.1/ and http://purl.org/dc/terms/
namespaces. The Matterhorn code I used only recognizing values
identified by the http://purl.org/dc/terms/ namespace.
<?xml version="1.0"?>
<dublincorexmlns="http://www.opencastproject.org/xsd/1.0/dublincore/"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/"
xsi:schemaLocation="http://www.opencastproject.org
http://www.opencastproject.org/schema.xsd"xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/">
.....
<dc:titlexml:lang="en">
Land and Vegetation: Key players on the Climate Scene <-- totally
ignored
</dc:title>
<dcterms:title xml:lang="en">
Sea and Flauna: Swamped Under <-- In the right namespace
</dcterms:title>
.....
</dublincore>
Maybe the javascript that is parsing the title bias's the namespace?
What is the xmlns of the ns2?
- Karen
On Feb 7, 2013, at 11:02 AM, James Perrin
<james.s.per...@manchester.ac.uk
<mailto:james.s.per...@manchester.ac.uk>> wrote:
Hi Karen,
Edits are made before the recording and ingestion occurs. ie it's in
upcoming.
We are getting the feeling that the problems start to occur after it
has been processed and engage (and other interfaces) request objects
from the database.
I'm very quickly looking through stuff, so I might be wrong but
episode.xml returns the title in <ns2:title> and <dcTitle> the
episodes.xsl picks out <dcTitle> for display in Engage. My colleague
says he has seen these being different and <dcTitle> was wrong.
Regards
James
On 07/02/13 15:39, Karen Dolan wrote:
James,
Out of curiosity, are the metadata edits made between recording
scheduling and ingesting, or between ingesting and distribution, or
after distribution, i.e. on an episode, to redistribute changes?
Best of luck with this,
Karen
_______________________________________________
Matterhorn mailing list
Matterhorn@opencastproject.org <mailto:Matterhorn@opencastproject.org>
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
matterhorn-unsubscr...@opencastproject.org
_______________________________________________
--
------------------------------------------------------------------------
James S. Perrin
Media Technologies Team
Devonshire House, University Precinct
The University of Manchester
Oxford Road, Manchester, M13 9PL
t: +44 (0) 161 275 6945
e: james.per...@manchester.ac.uk <mailto:james.per...@manchester.ac.uk>
w: www.manchester.ac.uk/researchcomputing
<http://www.manchester.ac.uk/researchcomputing>
------------------------------------------------------------------------
"The test of intellect is the refusal to belabour the obvious"
- Alfred Bester
------------------------------------------------------------------------
--
------------------------------------------------------------------------
James S. Perrin
Media Technologies Team
Devonshire House, University Precinct
The University of Manchester
Oxford Road, Manchester, M13 9PL
t: +44 (0) 161 275 6945
e: james.per...@manchester.ac.uk
w: www.manchester.ac.uk/researchcomputing
------------------------------------------------------------------------
"The test of intellect is the refusal to belabour the obvious"
- Alfred Bester
------------------------------------------------------------------------
_______________________________________________
Matterhorn mailing list
Matterhorn@opencastproject.org
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
matterhorn-unsubscr...@opencastproject.org
_______________________________________________