Created
January 22, 2015 17:31
-
-
Save peterdietz/0bac2c720d8373477897 to your computer and use it in GitHub Desktop.
DSpace Statistics Elastic Search sitemap, stripped of authentication, so it is public
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
The contents of this file are subject to the license and copyright | |
detailed in the LICENSE and NOTICE files at the root of the source | |
tree and available online at | |
http://www.dspace.org/license/ | |
--> | |
<!-- | |
The Dashboard Aspect is responsible providing a dashboard for statistical inquiries to the system. | |
--> | |
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> | |
<map:components> | |
<map:transformers> | |
<map:transformer name="ElasticSearchStatsViewer" src="org.dspace.app.xmlui.aspect.statisticsElasticSearch.ElasticSearchStatsViewer"/> | |
<map:transformer name="RestrictedItem" src="org.dspace.app.xmlui.aspect.artifactbrowser.RestrictedItem"/> | |
<map:transformer name="Navigation" src="org.dspace.app.xmlui.aspect.statisticsElasticSearch.Navigation"/> | |
</map:transformers> | |
<map:matchers default="wildcard"> | |
<map:matcher name="HandleTypeMatcher" src="org.dspace.app.xmlui.aspect.general.HandleTypeMatcher"/> | |
<map:matcher name="StatisticsAuthorizedMatcher" src="org.dspace.app.xmlui.aspect.statistics.StatisticsAuthorizedMatcher"/> | |
</map:matchers> | |
<map:selectors> | |
<map:selector name="AuthenticatedSelector" src="org.dspace.app.xmlui.aspect.general.AuthenticatedSelector"/> | |
<map:selector name="SpecifiedGroupAuthenticatedSelector" src="org.dspace.app.xmlui.aspect.statisticsElasticSearch.SpecifiedGroupAuthenticatedSelector"/> | |
</map:selectors> | |
</map:components> | |
<map:pipelines> | |
<map:pipeline> | |
<map:generate/> | |
<!--Only show the stats link if we have read rights--> | |
<map:match pattern="handle/*/**"> | |
<map:transform type="Navigation"/> | |
</map:match> | |
<map:match pattern="handle/*/*/stats"> | |
<map:transform type="IncludePageMeta"> | |
<map:parameter name="stylesheet.screen.statisticsElasticSearch#1" value="../../static/css/statisticsElasticSearch/style.css"/> | |
<map:parameter name="javascript.url#1" value="https://www.google.com/jsapi" /> | |
<map:parameter name="javascript.static#1" value="loadJQuery.js"/> | |
<map:parameter name="javascript.static#2" value="static/js/statisticsElasticSearch/jquery.ui.datepicker-accessible.min.js"/> | |
<map:parameter name="javascript.static#3" value="static/js/statisticsElasticSearch/visualizeData.js"/> | |
</map:transform> | |
<map:transform type="ElasticSearchStatsViewer"/> | |
<map:serialize type="xml"/> | |
</map:match> | |
<map:match pattern="handle/*/*/stats/*"> | |
<map:transform type="IncludePageMeta"> | |
<map:parameter name="stylesheet.screen.statisticsElasticSearch#1" value="../../static/css/statisticsElasticSearch/style.css"/> | |
<map:parameter name="javascript.url#1" value="https://www.google.com/jsapi" /> | |
<map:parameter name="javascript.static#1" value="loadJQuery.js"/> | |
<map:parameter name="javascript.static#2" value="static/js/statisticsElasticSearch/jquery.ui.datepicker-accessible.min.js"/> | |
<map:parameter name="javascript.static#3" value="static/js/statisticsElasticSearch/visualizeData.js"/> | |
</map:transform> | |
<map:transform type="ElasticSearchStatsViewer"/> | |
<map:serialize type="xml"/> | |
</map:match> | |
<!-- Not a URL we care about, so just pass it on. --> | |
<map:serialize type="xml"/> | |
</map:pipeline> | |
</map:pipelines> | |
</map:sitemap> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment