[ http://jira.dspace.org/jira/browse/DS-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10798#action_10798 ]
Stuart Lewis commented on DS-377: --------------------------------- The easiest way to add this to the jspui is to edit dspace-jspui/dspace-jspui-webapp/src/main/webapp/layout/header-default.jsp In the code block at the top of the file add: String dspaceversion = ConfigurationManager.getProperty("dspace.project.version"); Then make use of that further down in the <head> <meta name="DSpace.project.version" content="<%= dspaceversion %>" /> However... would it be more correct to report it using: <meta name="Generator" content="DSpace {version}" /> The jspui already includes '<meta name="Generator" content="DSpace" />' so it is just a case of changing this to be: <meta name="Generator" content="DSpace <%= dspaceversion %>" /> > Add META tags identifying DSpace source version to Web UIs > ---------------------------------------------------------- > > Key: DS-377 > URL: http://jira.dspace.org/jira/browse/DS-377 > Project: DSpace 1.x > Issue Type: New Feature > Components: DSpace API, JSPUI, XMLUI > Affects Versions: 1.6.0 > Reporter: Larry Stone > Assignee: Larry Stone > Priority: Minor > Fix For: 1.6.0 > > Attachments: version-meta.patch.txt > > > Add a META tag to the HTML generated for each web-UI page that identfies the > version of the DSpace source running on the site. This lets administrators > and developers tell at a glance what their test servers are running, and > curious visitors see what version of DSpace is behind a production site. > The change is very simple and automated in action. Maven is already doing > property-substitution on the dspace.cfg file, so let it plug in the verison > of the "dspace" project (under group "org.dspace"), which should always be > the same as the released or snapshot project for the source tree. From there > it's a simple matter of putting it in a pageMeta element for the XMLUI. > NOTE: This still needs a volunteer to either implement it for JSPUI or point > out the most efficient way to do -- I'll be happy to code and test but I > don't know the JSPUI well enough to spot the most effective place to put a > META tag that goes on every page. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel