[Dspace-tech] adding fck editor to manakin
hi all, need halp in adding fckeditor to dspace manakin in the description of an item when uploading.thanks -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding a field pointing to the publisher's site
Hello Maitumelo, for the jspui and the default item display you can configure this with the dspace.cfg parameter webui.itemdisplay.default add schema.element.qualifier(link) to the list. Hope that helps Claudia Jürgen Morupisi, Maitumelo schrieb: I want to add a field pointing to the publisher's site but when I add a field to the metadata schema it is taken as text not a URL link. Disclaimer This e-mail and any attachments are confidential and strictly and exclusively intended for the addressee. If you are not the intended recipient please notify the sender promptly and delete the message from your computer. Note that any disclosure, circulation, copying, retention or other use of the information contained herein by any unintended recipient is strictly prohibited. The contents of this mail and attachments may be subject to copyrights, patents, trade secrets, trademarks and other intellectual property law protection and the University of Botswana accepts no responsibility for their unauthorized use. The views and opinions expressed herein are those of the author and not necessarily those of the University of Botswana. Whilst the University of Botswana has taken reasonable steps to ensure that this e-mail and attachments are free from viruses it does not guarantee same and shall not be liable for damages arising from any virus infection through e-mails and attachments. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] ERROR: value too long for type character varying(200).
Hi All, I am trying to upload a document, whose title seems very long. It gives the following error while importing: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(200) at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:300) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1301) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:612) at org.dspace.content.MetadataValue.create(MetadataValue.java:253) at org.dspace.content.Item.update(Item.java:1610) at org.dspace.content.InstallItem.installItem(InstallItem.java:145) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:672) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:514) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421) org.postgresql.util.PSQLException: ERROR: value too long for type character varying(200) What could be the solution to this problem. Thanks in advance, -- Filbert Minj -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace
Hi Prathap, check your source directory -s. At the moment you got /home/prathap/item-01 I assume that /home/prathap/item-01 contains the dublin_core.xml, contents and files for the item. The importer expects a source directory which contains 1 directory per item to be imported, e.g. /home/prathap/itemimport as a base directory which contains /home/prathap/itemimport/item-01 /home/prathap/itemimport/item-01/dublin_core.xml /home/prathap/itemimport/item-01/contents /home/prathap/itemimport/item-01/foo.pdf /home/prathap/itemimport/item-02 /home/prathap/itemimport/item-02/dublin_core.xml /home/prathap/itemimport/item-02/contents /home/prathap/itemimport/item-02/foo.pdf ... Hope that helps Claudia Jürgen prathap nk schrieb: Hi All please help me regarding this batch import. After import its showing destination collections, but item is not added in the collection of DSpace UI. please help... Here is the command that i used dsp...@news-grp:/dspace$ bin/import -a -e prathap...@hp.com -c 123456789/41 -s /home/prathap/item-01 -m 20092606.ingest.map Destination collections: Owning Collection: Farewell-GirishPrabhu Adding items from directory: /home/prathap/item-01 Generating mapfile: 20092606.ingest.map Thanks, prathap Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Successfully able to do batch import
Hi all, Now I am able to do batch import via command line. The problem is that we should give the root folder of the files containing folder. means for example if you are files(dublin_core.xml, filename.ext, contents) are under c:\export\item-01\ then you have to declare the source path as c:\export\ only not c:\export\item-01\ The syntax for the command is *(linux)* /dspace/bin/import -a -e usern...@domain.com -c handle/collectionid -s pathtotherootfolder(/export/) -m whatevername *(windows)* c:\dspace\bin\dsrun org.dspace.app.itemimport.ItemImport -a -e usern...@domain.com -c handle/collectionid -s pathtotherootfolder(c:\export\) -m whatevername -- Regards, Yureshwar Ravuri. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] adding a field pointing to the publisher's site
Thank you I am using xmlui 1.5.2 and I have done the following In dspace.cfg under webui.itemdisplay.default I have added dc.relation.uri(link) In input-forms.xml I have added field dc-schemadc/dc-schema dc-elementrelation/dc-element dc-qualifieruri/dc-qualifier repeatablefalse/repeatable labelAlternative Location/label input-typeonebox/input-type hintEnter the URL for the publisher site/hint required/required /field But still it does not show on the simple item record, it only shows on the full item record -Original Message- From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de] Sent: Monday, June 29, 2009 9:03 AM To: Morupisi, Maitumelo Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] adding a field pointing to the publisher's site Hello Maitumelo, for the jspui and the default item display you can configure this with the dspace.cfg parameter webui.itemdisplay.default add schema.element.qualifier(link) to the list. Hope that helps Claudia Jürgen Morupisi, Maitumelo schrieb: I want to add a field pointing to the publisher's site but when I add a field to the metadata schema it is taken as text not a URL link. Disclaimer This e-mail and any attachments are confidential and strictly and exclusively intended for the addressee. If you are not the intended recipient please notify the sender promptly and delete the message from your computer. Note that any disclosure, circulation, copying, retention or other use of the information contained herein by any unintended recipient is strictly prohibited. The contents of this mail and attachments may be subject to copyrights, patents, trade secrets, trademarks and other intellectual property law protection and the University of Botswana accepts no responsibility for their unauthorized use. The views and opinions expressed herein are those of the author and not necessarily those of the University of Botswana. Whilst the University of Botswana has taken reasonable steps to ensure that this e-mail and attachments are free from viruses it does not guarantee same and shall not be liable for damages arising from any virus infection through e-mails and attachments. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech Disclaimer This e-mail and any attachments are confidential and strictly and exclusively intended for the addressee. If you are not the intended recipient please notify the sender promptly and delete the message from your computer. Note that any disclosure, circulation, copying, retention or other use of the information contained herein by any unintended recipient is strictly prohibited. The contents of this mail and attachments may be subject to copyrights, patents, trade secrets, trademarks and other intellectual property law protection and the University of Botswana accepts no responsibility for their unauthorized use. The views and opinions expressed herein are those of the author and not necessarily those of the University of Botswana. Whilst the University of Botswana has taken reasonable steps to ensure that this e-mail and attachments are free from viruses it does not guarantee same and shall not be liable for damages arising from any virus infection through e-mails and attachments. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding a field pointing to the publisher's site
Hi Maitumelo, the config parameter webui.itemdisplay.default is only for the jspui. For the xmlui there is an howto on the wiki: http://wiki.dspace.org/index.php/Modify_item_metadata_display_(Manakin) Hope this helps Claudia Jürgen Morupisi, Maitumelo schrieb: Thank you I am using xmlui 1.5.2 and I have done the following In dspace.cfg under webui.itemdisplay.default I have added dc.relation.uri(link) In input-forms.xml I have added field dc-schemadc/dc-schema dc-elementrelation/dc-element dc-qualifieruri/dc-qualifier repeatablefalse/repeatable labelAlternative Location/label input-typeonebox/input-type hintEnter the URL for the publisher site/hint required/required /field But still it does not show on the simple item record, it only shows on the full item record -Original Message- From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de] Sent: Monday, June 29, 2009 9:03 AM To: Morupisi, Maitumelo Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] adding a field pointing to the publisher's site Hello Maitumelo, for the jspui and the default item display you can configure this with the dspace.cfg parameter webui.itemdisplay.default add schema.element.qualifier(link) to the list. Hope that helps Claudia Jürgen Morupisi, Maitumelo schrieb: I want to add a field pointing to the publisher's site but when I add a field to the metadata schema it is taken as text not a URL link. Disclaimer This e-mail and any attachments are confidential and strictly and exclusively intended for the addressee. If you are not the intended recipient please notify the sender promptly and delete the message from your computer. Note that any disclosure, circulation, copying, retention or other use of the information contained herein by any unintended recipient is strictly prohibited. The contents of this mail and attachments may be subject to copyrights, patents, trade secrets, trademarks and other intellectual property law protection and the University of Botswana accepts no responsibility for their unauthorized use. The views and opinions expressed herein are those of the author and not necessarily those of the University of Botswana. Whilst the University of Botswana has taken reasonable steps to ensure that this e-mail and attachments are free from viruses it does not guarantee same and shall not be liable for damages arising from any virus infection through e-mails and attachments. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech Disclaimer This e-mail and any attachments are confidential and strictly and exclusively intended for the addressee. If you are not the intended recipient please notify the sender promptly and delete the message from your computer. Note that any disclosure, circulation, copying, retention or other use of the information contained herein by any unintended recipient is strictly prohibited. The contents of this mail and attachments may be subject to copyrights, patents, trade secrets, trademarks and other intellectual property law protection and the University of Botswana accepts no responsibility for their unauthorized use. The views and opinions expressed herein are those of the author and not necessarily those of the University of Botswana. Whilst the University of Botswana has taken reasonable steps to ensure that this e-mail and attachments are free from viruses it does not guarantee same and shall not be liable for damages arising from any virus infection through e-mails and attachments. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Manakin - needing to insert something into dri:options (inserting a static link)
I have a link to an external site that I added in my theme's xsl below xsl:apply-templates select=/dri:document/dri:options/. That works great. However, I got a request to see if I can add this link below All of DSpace but above This Collection and to theme it so it looks like those two headings (it's actually a link to browse something that is another web application but themed to look the same as our DSpace instance). Is this possible? - Damian -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Manakin - needing to insert something into dri:options (inserting a static link)
Whoops, I goofed up a bit. What I meant to say is that the link ideally would like to be inserted between Browse and My Account -Original Message- From: Sobieralski, Damian Michael Sent: Monday, June 29, 2009 12:55 PM To: dspace-tech@lists.sourceforge.net Subject: Manakin - needing to insert something into dri:options (inserting a static link) I have a link to an external site that I added in my theme's xsl below xsl:apply-templates select=/dri:document/dri:options/. That works great. However, I got a request to see if I can add this link below All of DSpace but above This Collection and to theme it so it looks like those two headings (it's actually a link to browse something that is another web application but themed to look the same as our DSpace instance). Is this possible? - Damian -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Advanced Search - default select a community on page load
Is there a way to have a specific community pre-selected when the Advanced Search page is loaded (via xmlui)? We only have one community and we would like it already selected so that the top pulldown (Search Scope) on the Advanced Search Page, that this Search Scope pulldown already has a selection of collections (not communities) on initial page load. This can currently be accomplished by selecting the community, clicking the Go Button. This second page lists the collections in the community in the Search Scope pulldown now. So I'd like this state to be loaded on initial Advanced Search page load. Is it possible? As always, thanks in advance for any help that you can offer. - Damian -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to move an item from one collection to another
Hi Janice, In the edit item page there is a Move Item button to serve this purpose. Allen. HKU Hub Administrator, http://hub.hku.hk Janice de Oliveira E Silva Silveira wrote: Hello everyone, We are running DSpace 1.5.2 (xmlui). I have accidentally added an item to the wrong collection, and now I am looking for a path to move an item from one collection to another. Yes, I can either delete it and add it again, or export/import it but I guess there is another way to do it. But how??? Any thoughts? Many thanks, Janice Silveira -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Funny things with upgrading 1.5.1 to 1.5.2
We currently have two instances of dspace that we use, a live dspace and dspacetest. Dspacetest was recently (about a month or two ago), upgraded from 1.5.1 to 1.5.2, with no problems. You can see it in all it's glory here: dspacetest.nt.gov.au Today, we attempted to upgrade our live dspace instance to 1.5.2. After restarting tomcat though, we got a java.net.MalformedURLException: unknown protocol: resource error (full stack trace included). After looking around I found that in 1.5.1 there was a cocoon.xconf which included component-instance class=org.apache.excalibur.source.impl.ResourceSourceFactory name=resource/ which I assume is pointing to the resource. Looking around I couldn't find cocoon.xconf anywhere in 1.5.2 and thought it must have been removed. But still needing the site to work I included it back in webapps/xmlui/WEB-INF, which still did nothing at the time. Looking in webapps/xmlui/WEB-INF/web.xml shows that 1.5.1 included servlet servlet-nameCocoon/servlet-name display-nameCocoon/display-name descriptionCocoon/description servlet-class org.dspace.app.xmlui.cocoon.DSpaceCocoonServlet /servlet-class init-param param-nameconfigurations/param-name param-value/WEB-INF/cocoon.xconf/param-value /init-param but that 1.5.2 doesn't and seems to use DSpaceCocoonServletFilter instead(?) After playing around a bit more, moving files here and there, finally I received no more errors and could view the webpage. However it turns out that all I did was return the xmlui/WEB-INF folder to its exact state before upgrading to 1.5.2, so that technically the site was still running on 1.5.1 code. What I would like is any assistance if possible, as to why I would get this error on one instance of dspace, after another instance had been upgraded properly. To go through my processes for upgrading: ran mvn package in src/dspace-1.5.2-src-release turned off tomcat (which by the way, both instances of dspace are using the same instance of tomcat) ran ant update in src/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir ran ant update_configs in src/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir (which is redudant?) restarted tomcat If it helps the live site is www.territorystories.nt.gov.au, and though looks good is using 1.5.1 code. Thanks Jennifer Whalan Jennifer Whalan Systems Support Officer Innovation Access, Northern Territory Library Department of Natural Resources, Environment, The Arts and Sport Northern Territory Government Phone: (08) 8922 0757 Fax:(08) 8922 0722 Email: jennifer.wha...@nt.gov.au mailto:jennifer.wha...@nt.gov.au Web:www.ntl.nt.gov.au http://www.ntl.nt.gov.au/ The information contained in this message and any attachments may be confidential information and may be subject to legal privilege, public interest or legal profession privilege. If you are not the intended recipient, any use, disclosure or copying of this message or any attachments is unauthorised. If you have received this document in error, please advise the sender. No representation or warranty is given that attached files are free from viruses or other defects. The recipient assumes all responsibility for any loss or damage resulting directly or indirectly from the use of any attached files. An error has occured java.net.MalformedURLException: unknown protocol: resource Cocoon stacktrace [hide] *Sitemap: error when calling sub-sitemap* context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 119:72 /map:mount/ context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 109:34 /map:select type=parameter/ context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 108:36 /map:match type=AspectMatcher/ context:/jndi:/dspace.nt.gov.au//sitemap.xmap - 308:80 /map:mount/ context:/jndi:/dspace.nt.gov.au//sitemap.xmap - 307:32 /map:match/ context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 115:34 /map:serialize type=xml/ context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 114:43 /map:transform type=PageNotFound/ context:/jndi:/dspace.nt.gov.au//aspects/aspects.xmap - 113:22 /map:generate/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 199:34 /map:serialize type=xhtml/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 193:33 /map:transform type=i18n/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 189:48 /map:transform/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 171:45 /map:transform type=IncludePageMeta/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 130:55 /map:generate type=file/ context:/jndi:/dspace.nt.gov.au//themes/TerritoryStories/sitemap.xmap - 127:28 /map:match/ context:/jndi:/dspace.nt.gov.au//themes/themes.xmap - 63:45 /map:mount/ context:/jndi:/dspace.nt.gov.au//themes/themes.xmap - 62:35 /map:match