[Dspace-tech] Sitemap matcher question and DRI question
Hi, I'm trying to put a lot of static pages on our dspace site and got some trouble when I work on the sitemap and DRI. I updated the sitemap.xmap for ArtifactBrowser to add match entries: === map:match pattern=thes_* type=wildcard map:act type=DSpacePropertyFileReader map:parameter name=dspace.dir value=dspace.dir map:transfor type=Include src=file://{dspace.dir}/config/thes/thes_{1}.xml /map:act map:serialize type=xml /map:match I was told could not find the page. However, if I remove the substitution, for example: === map:match pattern=thes_A type=wildcard map:act type=DSpacePropertyFileReader map:parameter name=dspace.dir value=dspace.dir map:transfor type=Include src=file://{dspace.dir}/config/thes/thes_A.xml /map:act map:serialize type=xml /map:match It works. However, it's annoying to repeat these from A to Z. Does anybody know why substitution variable doesn't work? Another question here is about DRI. From DRI scheme reference, if you have a list with type simple, then you should get a list without numbers and bullets. However, when I use type simple, I'm still getting the terms bulleted. Here is an example: list n=listkt id=list_69 type=simple headHEAD/head termSome term/term /list Did I do something wrong? Thanks, Ying - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Sitemap matcher question and DRI question
Thanks Dorothea. It works. I thought it should be a default behavior :) Thanks again, Ying - Original Message - From: Dorothea Salo [EMAIL PROTECTED] To: DSpace Tech-List dspace-tech@lists.sourceforge.net Sent: Tuesday, July 22, 2008 1:59 PM Subject: Re: [Dspace-tech] Sitemap matcher question and DRI question On Tue, Jul 22, 2008 at 12:43 PM, yinjin [EMAIL PROTECTED] wrote: Hi, Another question here is about DRI. From DRI scheme reference, if you have a list with type simple, then you should get a list without numbers and bullets. However, when I use type simple, I'm still getting the terms bulleted. Here is an example: list n=listkt id=list_69 type=simple headHEAD/head termSome term/term /list What does the HTML look like? And what CSS rules are in force on the list? This should be a relatively easy CSS fix; find a class or id name for the list (preferably class) and set it to list-style-type: none in the theme's stylesheet. Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dublin Core Citations
Hi Robin, Again I had the same problem to specify the different metadata for different document types within one collection. I'd say this is the limitation of DSpace that doesn't allow you to do so. In my project, we need to handle six different document types, conference paper, journal articles, book, book chapter, working paper and thesis dissertation. In our special case - a small organization with only one collection but multiple document types, I decided to represent collections as document types so that from end user's view, it looks like they are submitting different document types to one collection, but at the back end, the documents actually have been organized into different collections. This way, you can specify different metadata for different document types in collection level. However, if you want to preserve the collection use, this maybe not a feasible way. Or if your client doesn't mind, just define each document type as a collection (my client doesn't like this idea). The other way around? My investigation was a lot of work needs to be done on DSpace. Hope this helps, Ying - Original Message - From: Robin Taylor [EMAIL PROTECTED] To: dspace-tech@lists.sourceforge.net Cc: 'yinjin' [EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:53 AM Subject: RE: [Dspace-tech] Dublin Core Citations Apologies for returning to this topic but my brain works very slowly. I am grappling with how to store and manipulate citation data. To recap, Dublin Core only allows for the citation of the item to be held as a string in the bibliographicCitation field. This is limiting, how would you export a citation in another format eg Bibtex ? In response to my original email I got some useful feedback, including the email from Ying below detailing a practical solution for journal article citations. Basically we add a few extra fields in a bespoke schema that allow us to capture the components of the citation in discrete parts. I run into difficulty when I start considering other item types eg book chapter. In each case the metadata that I need to capture is slightly different. By the end I will have a complete new metadata schema for describing a number of different item types - journal, book etc. This is daft, I am reinventing the wheel. I might as well copy the existing DC schema but use a different schema identifier eg CIT so that I can identify fields relating to the citation. I can now see why DC does not readily cater for citation data, really this is metadata relating to another item, the 'parent' item eg the journal or book. In the long term what I really need is some sort of hierarchical structure that would allow an item eg a journal article, to refer to a parent item. The citation for the article would be formed by extracting metadata from both records. In fact this relation does exist with the 'isPartOf' field, but I can't see how I can make use of it in a practical sense. In the short term I can see no alternative to following Ying's example and creating a copy schema for citation data. I realise this is not really a question as such but any comments would be appreciated. Thanks, Robin. -Original Message- From: yinjin [mailto:[EMAIL PROTECTED] Sent: 08 February 2008 16:07 To: [EMAIL PROTECTED]; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dublin Core Citations Hi Robin, I got a similiar request from our client. Our solution maybe not a good one, but I'd like to share it with you. I'll take journal article as an example. We have very similar matadata fields and we define our own citation format. Instead of letting the user input the citation in one field, we ask for each individual field and then assembly them together later for citation display. We defined a seperate schema to hold the metadata fields (e.g. journal, number, volume and pages) that don't fit into DC definitions. I designed an XML to define the citation format for each document type. Here is an example for journal article: - !-- JOURNAL ARTICLE -- citation name=journal-article !-- Author -- field dc-schemadc/dc-schema dc-elementcontributor/dc-element dc-qualifierauthor/dc-qualifier display-format multiple-value-seperator=,@[EMAIL PROTECTED]/display-format /field !-- Year -- field dc-schemadc/dc-schema dc-elementdate/dc-element dc-qualifierissued/dc-qualifier display-format @[EMAIL PROTECTED]/display-format /field !-- Title -- field dc-schemadc/dc-schema dc-elementtitle/dc-element dc-qualifier/dc-qualifier display-format @field@/display-format /field !-- Journal -- field dc-schemadlc/dc-schema dc-elementidentifier/dc-element dc
[Dspace-tech] Dspace build error
Hi All, I'm trying to install dspace 1.5 beta. However, When I run mvn package assembly:assembly, it throws an error: [INFO] [INFO] Building DSpace JSPUI :: Web Application Resources [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Exploding webapp... [INFO] Assembling webapp dspace-jspui-webapp in /home/dspace/project-1/beta_1.5/dspace-1.5.0-beta1-src-release/dspace/../dspace-jspui/dspace-jspui-webapp/target/dspace-jspui-webapp-1.5.0-beta1 [INFO] Copy webapp webResources to /home/dspace/project-1/beta_1.5/dspace-1.5.0-beta1-src-release/dspace/../dspace-jspui/dspace-jspui-webapp/target/dspace-jspui-webapp-1.5.0-beta1 [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org.apache.maven.project.MavenProject cannot be cast to java.lang.String [INFO] [INFO] Trace java.lang.ClassCastException: org.apache.maven.project.MavenProject cannot be cast to java.lang.String at org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:269) at org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:162) at java.io.Reader.read(Reader.java:123) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200) at org.apache.maven.plugin.war.AbstractWarMojo.copyFilteredFile(AbstractWarMojo.java:921) at org.apache.maven.plugin.war.AbstractWarMojo.copyResources(AbstractWarMojo.java:415) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:518) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:347) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:164) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:130) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) I did a google search and looks like it was a maven bug and should have been fixed in maven 2.0.2. I'm using maven 2.0.8 and jdk 1.6. If I remove jspui folder, it works fine. Anyone has any idea? Thanks for any help, Ying- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace build error
Thanks, Mark. mvn -U package works. :) Ying - Original Message - From: Mark Diggory [EMAIL PROTECTED] To: yinjin [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Tuesday, February 26, 2008 3:29 PM Subject: Re: [Dspace-tech] Dspace build error The documentation on building dspace 1.5 beta should clearly say you just use mvn package using mvn package assembly:assembly will cause the package to be constructed twice and result in an error different than this. This particular error is caused because your maven installation has some core jars in it that were recently updated in the maven central repository without incrementing their version id's (actually a very bad practice in the Maven world so I'm suprised to see it in the core maven libraries). Because its not all updating properly your getting this error. try using mvn -U package (which will force and update of your local repository) or if that does not work you may try removing the local repository altogether and reinitializing it (its usually under ~/.m2/repository) Cheers, Mark Diggory On Feb 26, 2008, at 7:18 AM, yinjin wrote: Hi All, I'm trying to install dspace 1.5 beta. However, When I run mvn package assembly:assembly, it throws an error: [INFO] -- -- [INFO] Building DSpace JSPUI :: Web Application Resources [INFO]task-segment: [package] [INFO] -- -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Exploding webapp... [INFO] Assembling webapp dspace-jspui-webapp in /home/dspace/ project-1/beta_1.5/dspace-1.5.0-beta1-src-release/dspace/../dspace- jspui/dspace-jspui-webapp/target/dspace-jspui-webapp-1.5.0-beta1 [INFO] Copy webapp webResources to /home/dspace/project-1/beta_1.5/ dspace-1.5.0-beta1-src-release/dspace/../dspace-jspui/dspace-jspui- webapp/target/dspace-jspui-webapp-1.5.0-beta1 [INFO] -- -- [ERROR] FATAL ERROR [INFO] -- -- [INFO] org.apache.maven.project.MavenProject cannot be cast to java.lang.String [INFO] -- -- [INFO] Trace java.lang.ClassCastException: org.apache.maven.project.MavenProject cannot be cast to java.lang.String at org.codehaus.plexus.util.InterpolationFilterReader.read (InterpolationFilterReader.java:269) at org.codehaus.plexus.util.InterpolationFilterReader.read (InterpolationFilterReader.java:162) at java.io.Reader.read(Reader.java:123) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200) at org.apache.maven.plugin.war.AbstractWarMojo.copyFilteredFile (AbstractWarMojo.java:921) at org.apache.maven.plugin.war.AbstractWarMojo.copyResources (AbstractWarMojo.java:415) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp (AbstractWarMojo.java:518) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp (AbstractWarMojo.java:347) at org.apache.maven.plugin.war.WarMojo.performPackaging (WarMojo.java:164) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java: 130) at org.apache.maven.plugin.DefaultPluginManager.executeMojo (DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif ecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand leFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment s(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke
Re: [Dspace-tech] Keyword in context
Hi Stuart, That's exactly what I want! Just wondering what version of DSpace the patch can be applied to? Will the patch be updated for DSpace 1.5 when it's released? Thanks so much, Ying - Original Message - From: Stuart Lewis [EMAIL PROTECTED] To: yinjin [EMAIL PROTECTED]; dspace-tech@lists.sourceforge.net Sent: Tuesday, February 12, 2008 4:03 AM Subject: Re: [Dspace-tech] Keyword in context Hi Ying, I have an requirement of displaying keyword in context for the search result in DSpace. Could anyone give me a clue of how easy it can be done? Is hignlight package included in DSpace lucence distribution? This patch might do what you want: http://sourceforge.net/tracker/index.php?func=detailaid=1679530group_id=19 984atid=319984 See it in action at: http://www98.griffith.edu.au/dspace/simple-search?query=highlight Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dublin Core Citations
Hi Robin, I got a similiar request from our client. Our solution maybe not a good one, but I'd like to share it with you. I'll take journal article as an example. We have very similar matadata fields and we define our own citation format. Instead of letting the user input the citation in one field, we ask for each individual field and then assembly them together later for citation display. We defined a seperate schema to hold the metadata fields (e.g. journal, number, volume and pages) that don't fit into DC definitions. I designed an XML to define the citation format for each document type. Here is an example for journal article: - !-- JOURNAL ARTICLE -- citation name=journal-article !-- Author -- field dc-schemadc/dc-schema dc-elementcontributor/dc-element dc-qualifierauthor/dc-qualifier display-format multiple-value-seperator=,@[EMAIL PROTECTED]/display-format /field !-- Year -- field dc-schemadc/dc-schema dc-elementdate/dc-element dc-qualifierissued/dc-qualifier display-format @[EMAIL PROTECTED]/display-format /field !-- Title -- field dc-schemadc/dc-schema dc-elementtitle/dc-element dc-qualifier/dc-qualifier display-format @field@/display-format /field !-- Journal -- field dc-schemadlc/dc-schema dc-elementidentifier/dc-element dc-qualifiercitationjournal/dc-qualifier display-format @field@/display-format /field !-- Volume -- field dc-schemadlc/dc-schema dc-elementidentifier/dc-element dc-qualifiercitationvolume/dc-qualifier display-format @field@/display-format /field !-- Number -- field dc-schemadlc/dc-schema dc-elementidentifier/dc-element dc-qualifiercitationnumber/dc-qualifier display-format(@field@)/display-format /field !-- Pages -- field dc-schemadlc/dc-schema dc-elementidentifier/dc-element dc-qualifiercitationpages/dc-qualifier display-format:@field@/display-format /field field dc-schema/dc-schema dc-element/dc-element dc-qualifier/dc-qualifier display-format./display-format /field /citation - I coded a CitationManager to load the XML and assembly the citation into dc.identifier.citation field with given format. Though we used dc.identifier.citation to store generated citation, we did not save it to the database - it allows us to change the citation format whenever we want (and that's one of requests from our client). I have tested it on XMLUI and OAI interfaces, I assume it should work for JSPUI too. To have this happen, there are several other changes made on DSpace code. I have been struggled on how this should be implemented and not sure if it is a good solution. If you come up with a better idea, please let me know too. Best, Ying - Original Message - From: Robin Taylor [EMAIL PROTECTED] To: dspace-tech@lists.sourceforge.net Sent: Friday, February 08, 2008 5:45 AM Subject: [Dspace-tech] Dublin Core Citations I have a question for all the librarians and metadata experts out there, with apologies in advance for my sketchy metadata knowledge. One of our schools is providing us with files of citations to go along with the items. These citations are in Bibtex format Eg. @Article{journals/aim/Sloman99, title = Review of Affective Computing, author = Aaron Sloman, journal = AI Magazine, year = 1999, number = 1, volume = 20, url = http://dblp.uni-trier.de/db/journals/aim/aim20.html#Sloman99;, pages = 127--133, } I need to translate this into Dublin Core. In the case of a journal article it appears that DC does easily allow for the description of the journal, as opposed to the article. DC does allow for a 'bibliographicCitation' but it is expected that it will be one field containing either a human readable citation eg Schrader, Alvin. Internet Censorship: Issues for Teacher-Librarian. Teacher Librarian 26, no.5 (1999): 5 pp Or a machine readable equivelant, perhaps in OpenURL format. See http://dublincore.org/documents/dc-citation-guidelines/ for a better description. So, if I want to translate and store 'journal = AI Magazine' from the Bibtex file I would have to form a 'bibliographicCitation' with this as part of it. If I ever wanted to reuse the constituent parts of the bibliographicCitation I would need to deconstruct it. I would prefer to store the discreet parts and present them as a styled citation when it suits my purpose. I have seen a number of DC schema utilising dc.citation.xxx, but as far as I am aware
[Dspace-tech] Anchor for Add button in submission process
Hi All, I have this problem with DSpace 1.5 manakin, and probably the same in JSPUI too. In submission process, if I want to add more than one subject, when I click on Add button, the page refreshes and brings me back the top of the page, so that I have to scroll down to where I was. Is this a bug has been reported? If not, I will do it. Thanks, Ying- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] A few questions
Hi Dorothea, Thanks for the quick response. 1. I want to put a PDF link in the itemSummaryList page for quick access. In DIM-Handler.xsl, I simply copied the lines from itemSummaryView to itemSummaryList: You may have to do some fairly extensive XSLT work to make this happen, but it should be possible. The full METS information for the item is in the DRI. To get an idea of what you need to pull out for display, go to one of the browse pages and append ?XML to the URL. I do believe that the structure is quite a bit different for browse pages and item-display pages. This is where I get the problem. When I append ?XML for a browse page, it will throw an error: org.dspace.browse.BrowseException: There is no browse index of the type: dateissued?XML. Seems like before cocoon catches the ?XML pattern, the URL has been interpreted as browsed by dateissued?XML For the search result page, instead of providing the mets information for each item displayed, the DRI gives the information as if I'm searching for XML. All I need to find out is what METS looks like for browse pages. Off the top of my head, what you'll have to do instead of copying over the code you copied is look for the template with the itemSummaryList-DIM mode, and alter that to do what you want. I haven't yet looked for it, so I don't know how much work that will be. What are you planning to do for items that have more than one bitstream? Does that not happen in the collection you're designing for? Yes. I have one PDF for each submission. Thanks again for the help, Ying - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Eprints to Dspace migration
Hi Pavan, Try to delete that map file first. Best, Ying - Original Message - From: pavan krishnamurthy [EMAIL PROTECTED] To: Stuart Lewis [sdl] [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Friday, December 21, 2007 2:44 PM Subject: Re: [Dspace-tech] Eprints to Dspace migration Hi Stuart, This is the command i ran to import . ./dsrun org.dspace.app.itemimport.ItemImport -add -e [EMAIL PROTECTED] -s /home/pavan/dspace_data/ -m /home/dspace/dspacemap.map The message it gave is Deleting items listed in mapfile: /home/dspace/dspacemap.map but dspacemap is an empty file . Should dspace map have any contents in it? Thanks Pavan I did not get any error messages On Dec 20, 2007 11:32 PM, Stuart Lewis [sdl] [EMAIL PROTECTED] wrote: Hi Pavan, Has anybody tried with Eprints to Dspace migration. If Please can u send me the steps you followed to migrate . Currently i followed steps given in this site(http://rubric.edu.au/techreports/tech_report-eprints_to_dspace.htm). But i wasn't able to successfully import , i got some 1000 directories created in my output directories which had dublin_core.xml files in it. I was not able to successfully ingest items. If anybody has successfully migrated , can u please list me the steps you followed. It sounds promising that you are able to create the directories and files to ingest, hopefully there is something wrong with the DSpace import command you are using that we can help you with. 1) What command are you running to import the items? 2) What error message is DSpace giving you? Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to create a non-interative submission step in manakin
Hi Tim, Thanks for the information. I have tried to create a non-interative step by following the instructions. It doesn't seem difficult. However, the DSpace will hang there whenever I click the submission or submit to this collection button. Here is what I did. Can you point out where I'm doing wrong? === public class NonInteractiveStep extends AbstractProcessingStep { /** log4j logger */ private static Logger log = Logger.getLogger(NonInteractiveStep.class); /** * Do any processing of the information input by the user, and/or perform * step processing (if no user interaction required) * P * It is this method's job to save any data to the underlying database, as * necessary, and return error messages (if any) which can then be processed * by the appropriate user interface (JSP-UI or XML-UI) * P * NOTE: If this step is a non-interactive step (i.e. requires no UI), then * it should perform *all* of its processing in this method! * * @param context *current DSpace context * @param request *current servlet request object * @param response *current servlet response object * @param subInfo *submission info object * @return Status or error flag which will be processed by * doPostProcessing() below! (if STATUS_COMPLETE or 0 is returned, * no errors occurred!) */ public int doProcessing(Context context, HttpServletRequest request, HttpServletResponse response, SubmissionInfo subInfo) throws ServletException, IOException, SQLException, AuthorizeException { boolean multipleTitles = false; boolean publishedBefore = true; boolean multipleFiles = false; // If step is complete, save the changes subInfo.getSubmissionItem().setMultipleTitles(multipleTitles); subInfo.getSubmissionItem().setPublishedBefore(publishedBefore); subInfo.getSubmissionItem().setMultipleFiles(multipleFiles); // commit all changes to DB subInfo.getSubmissionItem().update(); context.commit(); return STATUS_COMPLETE; // no errors! } /** * Retrieves the number of pages that this step extends over. This method * is used to build the progress bar. * P * This method may just return 1 for most steps (since most steps consist of * a single page). But, it should return a number greater than 1 for any * step which spans across a number of HTML pages. For example, the * configurable Describe step (configured using input-forms.xml) overrides * this method to return the number of pages that are defined by its * configuration file. * P * Steps which are non-interactive (i.e. they do not display an interface to * the user) should return a value of 1, so that they are only processed * once! * * @param request *The HTTP Request * @param subInfo *The current submission information object * * @return the number of pages in this step */ public int getNumberOfPages(HttpServletRequest request, SubmissionInfo subInfo) throws ServletException { // always just one page of initial questions return 1; } } I simply modified the InitialQuestionsStep.java Here is what I have in item-submission-XMLUI.xml file: = !-- This is a non-interactive step which has no UI -- step heading/heading !--can specify heading, if you want it to appear in Progress Bar-- processing-classorg.dspace.submit.step.NonInteractiveStep/processing-class workflow-editablefalse/workflow-editable /step !--Step 1 will be to gather initial information-- !-- step headingxmlui.Submission.general.progress.initial-questions/heading processing-classorg.dspace.submit.step.InitialQuestionsStep/processing-class xml-ui-classorg.dspace.app.xmlui.aspect.submission.submit.InitialQuestionsStep/xml-ui-class workflow-editabletrue/workflow-editable /step -- = Thanks, Ying - Original Message - From: Tim Donohue [EMAIL PROTECTED] To: yinjin [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Thursday, November 15, 2007 12:58 PM Subject: Re: [Dspace-tech] how to create a non-interative submission step in manakin Ying, Take a look at the docs/submission.html documentation with DSpace 1.5alpha. Near the end of that documentation, there are tips on Creating a new Submission Step. If you only implement the required items (#1 #4 in that list), you will end up with a non