[
https://jira.duraspace.org/browse/DS-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28030#comment-28030
]
Ivan Masár commented on DS-1543:
--------------------------------
The solution (not tested) would be to adapt the code from JSPUI here:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/FeedServlet.java#L134
and add it here:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/utils/FeedUtils.java#L62
In addition, the metadata.dc.* labels from Messages.properties:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-api/src/main/resources/Messages.properties#L1330
should be also added to messages.xml.
> field labels not displayed in RSS 2.0 feed
> ------------------------------------------
>
> Key: DS-1543
> URL: https://jira.duraspace.org/browse/DS-1543
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.8.2, 3.1
> Reporter: Ivan Masár
> Fix For: 3.2
>
>
> In <description> element of the RSS 2.0 feed there's a difference between the
> JSPUI and XMLUI version - field labels are not added in the XMLUI version.
> The /feed/... URL is served by different code in XMLUI than in JSPUI. In
> JSPUI, the field labels are taken from Messages.properties [1]
> (metadata.dc.*), whereas in XMLUI, they're taken from messages.xml [2], where
> they not only do not exist by default, but even after adding them they do not
> work. This localization list is the last parameter to the populate() method.
> [1]
> https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/FeedServlet.java#L231
> [2]
> https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceFeedGenerator.java#L231
> Example results:
> /jspui/feed/rss_2.0/site
> <description>Title: Estimating identification disclosure risk using
> mixed membership models
> Authors: Manrique-Vallier, Daniel; Reiter, Jerome
> Abstract: Statistical agencies and other organizations...(rest
> deleted)</description>
> /xmlui/feed/rss_2.0/site
> <description>Estimating identification disclosure risk using mixed
> membership models Manrique-Vallier, Daniel; Reiter, Jerome Statistical
> agencies and other organizations...(rest deleted)</description>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel