[
http://opencast.jira.com/browse/MH-7870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28033#comment-28033
]
Sergio Feria commented on MH-7870:
----------------------------------
trouble getting keywords to appear in the feeds. I know that the keywords are
in the episode dublincore.xml in oc:keywords, and I know that in order for them
to appear in the feed, they need to be in the solr results. What I don't know
is how to obtain the keywords from the MediaPackage. Is the proper way to
search for and parse the dublin core catalog, or is there a more direct way to
key the keywords?
My last attempt:
String seriesId = mediaPackage.getSeries();
if (seriesId != null) {
DublinCoreCatalog catalog = null;
try {
catalog = seriesService.getSeries(seriesId);
} catch (SeriesException e) {
logger.warn("Unable to load series {}", seriesId);
} catch (NotFoundException e) {
}
keywords = catalog.getAsText(PROPERTY_KEYWORDS, LANGUAGE_ANY, null);
}
Josh: The keywords should be part of the search result item. You should have
this object if you're building a feed.
Definitely don't call out to services while building feeds, or you'll kill the
server performance wise. Use the search result objects where possible.
> Verify that all relevant metadata maps properly to RSS/Atom for iTunes
> ----------------------------------------------------------------------
>
> Key: MH-7870
> URL: http://opencast.jira.com/browse/MH-7870
> Project: Matterhorn Project
> Issue Type: Sub-Task
> Components: Architecture & Services
> Affects Versions: None
> Reporter: Adam Hochman
> Assignee: Sergio Feria
> Fix For: None
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________