Menu
  • HOME
  • TAGS

ant fresh_install build failed

ant,install,dspace

Check dspace.install.dir at build.properties, it seems to have a bad value. Change the value to the location you want to install and use "/" character to the directory. For example C:/Program Files/Dspace.

Want to add drop down with checkbox for all items(i.e. multi-selector drop down)

javascript,jquery,html,css,dspace

If you using custom raw JS pop up then it's very difficult when overlaps of layers are appeared. I suggest some simple codes to make out of it. See http://jsfiddle.net/uxs1oc4b/ or bellow: function actDdrp(e){ e=document.getElementById(e.parentNode.getAttribute('id')); if(e.style.height!='auto') e.style.height="auto"; else e.style.height='32px'; } .ddrp {border:1px solid #ccc; width:250px; height:32px; overflow:hidden; margin-bottom:10px;} .ddrp p{margin:0;...

Location of pdf files in dspace server

pdf,dspace

Given a handle and a bitstream id number, you can get to the path for your file with the following query. By default your bitstream_id will be 1 unless you have added/removed bitstreams from your item. select '${YOUR_ASSETSTORE_PATH}' || substring(bit.internal_id, 1, 2) || '/' || substring(bit.internal_id, 3, 2) || '/'...

Changing community/collection title in DSpace

dspace

For the Mirage theme, it would be in community-view.xsl and in collection-view.xsl However the title is rendered in common.xsl Those xsl files are indirectly imported in Mirage.xsl through dri2xhtml-alt/dri2xhtml.xsl and artifactbrowser/artifactbrowser.xsl. Quite a way to go, but you can keep it simpler by overriding the templates in your own theme....

what is Dspace DSpaceMETSGenerator for?

dspace,cocoon

DspaceMETSGenerator is the DSpace XMLUI class that prepares the data of an Item,Community,Collection for transformation into html from an intermediary format named METS hence the name DSpaceMETSGenerator. You can see the raw METS of an item by going to [dspace.url]/metadata/handle/[handle-prefix]/[handle-suffix]/mets.xml The heavy lifting of the transformation from database objects to...

Want to modify the display value of some SidebarFacet topic in Dspace 4.x XMLUI

xml,xslt,dspace

The changes you made in your input-forms are not retroactive for submitted items (ie, the values were already set), you should use Batch Metadata Editing instead. Then reindex your dspace.

Want to add custom filter type in dspace 4.x search filter facet

xml,xslt,dspace

In [dspace-install-dir]/config/spring/api/discovery.xml, you can add your custom search filter. For example, if you want to add a search filter for dc.type, you should add: <bean id="searchFilterType" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet"> <property name="indexFieldName" value="type"/> <property name="metadataFields"> <list> <value>dc.type</value> </list> </property> <property name="type" value="text"/> <property name="sortOrder" value="VALUE"/>...

Developing external add-ons for dspace?

dspace

Make your add-on a maven project. In its dependencies section, include a dependency to dspace-api of the correct version: <dependencies> <dependency> <groupId>org.dspace</groupId> <artifactId>dspace-api</artifactId> <version>5.1</version> <scope>provided</scope> </dependency> </dependencies> Add your add-on as a dependency to dspace-src/dspace/modules/additions/pom.xml <dependencies> <dependency> <groupId>your-group-id</groupId>...

Post upgrade to Dspace 5.1, 'Generate citation from metadata' failing with no errors logged

dspace

First of all, the citation generator is not a standard DSpace task. Secondly, yes you need to run systemwide curation tasks in the admin UI using [your-prefix]/0; DSpace should throw an error message if that isn't given, not sure whether it does. None of the changes in DSpace 5.1 would...

Update Dspace 4.2 installation directory from source

maven,ant,themes,dspace

You are correct. mvn package will build the code in dspace-source/target. ant update will copy the code from dspace-source/target to your installation directory. The maven build is generic and does not know your configuration settings. The ant task will read your configuration settings (which contain the install path). After running...

DSpace: How does text_lang get set during item submission?

dspace

Terry, There is no magic property. You will find that this DCValue/MetadataValue attribute is populated differently in different DSpace applications (SWORD, LNI, XMLUI, JSPUI, CLI). In each of the cases where the application code sets the language, there are several methods in the DSpace Item class responsible for populating metadata...

Modifying dspace discover page in xmlui mirage theme

css,xslt,dspace

You can override the template that generates the search box. In [dspace]/webapps/xmlui/themes/Mirage/Mirage.xsl put this after the <xsl:output indent="yes"/> line: <xsl:template match="dri:div[@id='aspect.discovery.SimpleSearch.div.discovery-search-box']"> <!-- You can also add content here to replace the default search box --> </xsl:template> ...

Dspace event : producer consumer

dspace

There is something about the (newer) Spring-based event mechanism in the official docs: https://wiki.duraspace.org/display/DSDOC5x/DSpace+Services+Framework#DSpaceServicesFramework-EventService I can't see any mention about the older event mechanism in the official docs other than in the configuration reference: https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-EventSystemConfiguration and this has a (broken) link to presumably the project proposal you have already found....

Aspect chains in Dspace 1.8.2

dspace,cocoon

The documentation is a bit obscure. There is one aspect chain. Every dynamically generated page passes through it. To understand how it all works, you need to keep in mind that XMLUI is a Cocoon application, and in particular you need to understand the Cocoon "sitemap" which is built up...

Explain Bitstream's Importance in DSpace

dataformat,dspace,bitstream,data-formats

See https://wiki.duraspace.org/display/DSDOC4x/Functional+Overview#FunctionalOverview-Supportedfiletypes DSpace can accommodate any type of uploaded file. While DSpace is most known for hosting text based materials including scholarly communication and electronic theses and dissertations (ETDs), there are many stakeholders in the community who use DSpace for multimedia, data and learning objects. While some restrictions apply, DSpace...

Is it possible to have mulitple front-ends for a single DSpace instance?

dspace

As @terrywb notes, creating separate themes per community/collection might be sufficient for your needs. Although I've never used it, I believe you can use themes.xmap and the xmlui.theme.allowoverrides config setting to mount specific themes at specific mount points (URL paths). See ThemeMatcher.java and themes.xmap for more information. You could place...

Styling of Mirage 2 using themes from bootswatch.com

twitter-bootstrap-3,dspace

I deleted my other answer because I was mistaken. Here is an example of a working bootswatch theme: https://github.com/antoine-atmire/DSpace/tree/mirage2%2Bbootswatch/dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/styles The /styles/bootstrap_color_scheme/_main.scss file gets copied to /styles/main.scss during the build process, so the @import statements should be relative to /styles/main.scss....

How to display appropriate language labels for items that have non-english version

xslt,internationalization,dspace

I had a similar use case -- store the iso version of the language code in dc.language.iso but show it on the item page using the English name of the language. I did this: <xsl:for-each select="dim:field[@element='language' and @qualifier='iso']"> <xsl:value-of select="util:isoLanguageToDisplay(node())"/> <xsl:if test="count(following-sibling::dim:field[@element='language' and @qualifier='iso']) != 0"> <xsl:text>; </xsl:text> </xsl:if> </xsl:for-each>...

Storing additional information about users in Dspace

dspace

This requires some customization. With "users", you really mean authenticated users that have accounts in the system, or people that are mentioned in the metadata of items in your repository? First case: Storing more information in accounts (EPeople) Pre-DSpace 5, this was not an easy challenge. Thanks to the "Metadata...

DSpace error with oai import

solr,dspace,oai

I encountered this error in the past. Looking at my oai.cfg file, I used localhost for some settings and my public URL for others. solr.url=http://localhost/solr/oai # OAI persistent identifier prefix. # Format - oai:PREFIX:HANDLE identifier.prefix = repository.library.georgetown.edu # Base url for bitstreams bitstream.baseUrl = https://repository.library.georgetown.edu If you need to make...