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
document.write('<script type="text/javascript" src="http://api.elsevier.com/javascript/scopussearch.jsp"> </' + 'script>'); | |
callbackCitedbycount = function(){ | |
if (sciverse.areSearchResultsValid()) { | |
var resultObj = sciverse.getSearchResults(); | |
if (resultObj.returnedResults >0) { | |
citedbycount = resultObj.results[0].citedbycount; | |
eid = resultObj.results[0].eid; | |
if (citedbycount > 0) { | |
citeHtml = '<span class="bold">Scopus times cited</span>:</span> '; |
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
package nz.ac.lconz.irr.dspace.app.xmlui.aspect.irrstats; | |
import org.apache.log4j.Logger; | |
import org.apache.solr.client.solrj.SolrServerException; | |
import org.dspace.authorize.AuthorizeManager; | |
import org.dspace.content.*; | |
import org.dspace.core.Constants; | |
import org.dspace.core.Context; | |
import org.dspace.eperson.Group; | |
import org.dspace.statistics.ObjectCount; |
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"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xsl xhtml"> | |
<!-- make sure double linefeeds are rendered as paragraph breaks --> | |
<xsl:template name="break"> | |
<xsl:param name="text" select="."/> | |
<xsl:choose> | |
<xsl:when test="contains($text, '

')"> | |
<p> |
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
<?php | |
// Example redirect script for EPrints to DSpace | |
// Written by Andrea Schweer <[email protected]> | |
// | |
// Configure Apache on eprints.example.net server to redirect all requests to this script: | |
// RewriteEngine On | |
// | |
// RewriteCond ${REQUEST_URI} !="/index.php" | |
// RewriteRule ^(.*)$ /index.php/$1 [L] |
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
<xsl:stylesheet | |
xmlns:i18n="http://apache.org/cocoon/i18n/2.1" | |
xmlns:dri="http://di.tamu.edu/DRI/1.0/" | |
xmlns:mets="http://www.loc.gov/METS/" | |
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" | |
xmlns:xlink="http://www.w3.org/TR/xlink/" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:ore="http://www.openarchives.org/ore/terms/" |
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/ | |
--> |
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
/** | |
* Static Service Method for testing spiders against existing spider files. | |
* <p/> | |
* In the future this will be extended to support User Agent and | |
* domain Name detection. | |
* <p/> | |
* In future spiders HashSet may be optimized as byte offset array to | |
* improve performance and memory footprint further. | |
* | |
* @param request |
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
#!/usr/bin/env python | |
# uses http://www.infrae.com/download/OAI/pyoai | |
from oaipmh.client import Client | |
from oaipmh.metadata import MetadataRegistry, oai_dc_reader | |
URL = 'http://researchcommons.waikato.ac.nz/dspace-oai/request' | |
registry = MetadataRegistry() | |
registry.registerReader('oai_dc', oai_dc_reader) | |
client = Client(URL, registry) |
NewerOlder