Re: [Dspace-tech] Development goals
Dear Michele (copy to the community), May be I am basically wrong seing DSpace as a community of practice making a tool to promote the dissemination of the good Open Repositories practices. If I understand correctly your plans, DSpace is primarly a community of developpers where users requirements are tackled inside individual institutions and mostly technical problems are shared outside. I am sorry that my dream is different but I will play the real game ! I will follow the Claudia Juergen's advice: Small contributions are beautiful. To be constructive and pragmatic, my main technical challenge remains: adding thesaurus based query expansion to DSpace to be able to mimic PubMed searches exhaustivity and precision in DSpace (we now have 75 thousands documents in our internal repository. MeSH is 30 thousands subjects headings). I will keep focused on this. Have a nice day! Christophe Michele Kimpton a écrit : Dear Christophe and DSpace community, One of the main projects the Foundation ( not federation, and I point this out as they are completely different) has taken on is to put together a team from the community and get funding for DSpace 2.0. The work to be done will involve core architectural changes- under the hood, so to speak- that will be somewhat transparent to many end users. However, these changes will have large implications down the road, in a good way, for the community at large. One of the complaints is to be able to easily change the UI, or create multiple UI's, Web 2.0 interactions,ect., is due to the fact the code is not modular ( as Tim points out). One of the main goals of 2.0 is to make it more modular so organizations can plug and play, meaning choose the interface(s) they prefer. It also allows many more developers to participate in the process- as their contributions can be rolled into the releases much more easily, given the code will not have complex interdependencies with the rest of the core code ( we hope). If we are successful in putting together a modular architecture- than we can have multiple UI's, asset stores, workflows ect. As there are no dedicated developers within the community or the Foundation working full time on DSpace- it is important to empower the community to be able to contribute code that fits their organizational needs- and therefore we must put an architecture in place that supports this process. We hope to start the work for DSpace 2.0 this winter. Once 2.0 is in place we can start a process where users can assess user needs and feature requests(developers can do this now on source forge) but realize the work to develop those features will still need to be done within the community, and maybe the community will be willing to pay for development time to make it happen collaboratively, but that remains to be seen. I plan on hiring a Technology Director within the Foundation to help lead this process(2.0 and beyond). We have secured some of the funding and developer time to do the work required. I hope to secure the remaining funding needed over the next few months. If anyone in the community would like to help me in this process( getting funding, donating developer time, volunteering I welcome your help. sincerely, Michele DSpace Foundation Director On Nov 15, 2007, at 3:09 AM, Christophe Dupriez wrote: Hi Tim, (copy to Michele, Dorothea and the Tech list) Thanks for your views and congratulations for your work with IDEALS. Just to be sure to be well understood: I am not in any way proposing to disturb developpers, I am speaking about organising USERS so they express their needs, build concensus and propose developers to build prototypes they can evaluate. I am also proposing to organize better the commitment process to improve consistency and reliability. This will ask for inter-institutional efforts so I also propose institutions to finance parts of those processes. This is the key of adequation and perenity. I am not saying nothing of this is done now, I am just proposing this to be improved under the drive of the Federation. Wishing you and all a very nice day! Christophe Dupriez Tim Donohue a écrit : All, As a Committer, I'm going to go ahead and step out on limb here, and admit that I agree with most of what has been put forth by both Dorothea and Christophe. That being said, I'm not claiming to speak on behalf of all the Committers :) I would *love* a more beautified DSpace...a clean, flashy, web-2.0 interface, a modular system that is easy to extend via plugins/add-ons, an *easy* way to share/install those plugins/add-ons between institutions, and an *easy* way to upgrade core DSpace (without merge nightmares between your local hacks/customizations and the features of the new version). I'm also in full support of working towards better needs assessment. But, at the same time, a part of me feels that different institutions will have some different
Re: [Dspace-tech] Batch Import and Namespaces
Hi Don, thanks for You reply. Sorry for my late response, but the XML-import seems to me at first as a more official way to do it then using the csv-package. And so I tried it as first. Now I see both ways have their advantages and disadvantages (not surprisingly), and I took up Your thread and looked into ItemImport.java. I succeeded! The changes I made are below. To add the 'schema'-attribute to every dcvalue tag if needed the 'fls.php' needs also some little changes. They are also noted below. The disadvantage of this method is that every imported metadata value gets a default language qualification. And in most cases it makes no sense (eg. dates, index numbers or names) or it is wrong (from a keyword list). The metadata generated by DSpace don't have these qualifiers (it is set to '-'). Best Regards Robert - fls.php: function create_tag($schema, $identifier, $qualifier, $value){ $schemaAttrib = ; if ($schema != 'dc') { $schemaAttrib = schema=\$schema\; } $dc_tag = dcvalue$schemaAttrib element=\$identifier\ qualifier=\$qualifier\$value/dcvalue; return $dc_tag; } # and the call it with the additional first parameter (two times): #create_tag($dc[0],$dc[1],$dc[2], ...) ItemImport.java: /* Node schemaAttr = metadata.item(0).getAttributes().getNamedItem( schema); if (schemaAttr == null) { schema = MetadataSchema.DC_SCHEMA; } else { schema = schemaAttr.getNodeValue(); } */ Node schemaAttr; // Add each one as a new format to the registry for (int i = 0; i dcNodes.getLength(); i++) { schemaAttr = dcNodes.item(i).getAttributes().getNamedItem(schema); if (schemaAttr == null) { schema = MetadataSchema.DC_SCHEMA; } else { schema = schemaAttr.getNodeValue(); } Node n = dcNodes.item(i); addDCValue(myitem, schema, n); } Don Gourley schrieb: Robert, The problem is that a bug in ItemImport prevents you from mixing different schemas in the same dublin_core.xml file. The loadDublinCore method gets the schema from the first dcvalue tag and reuses it for every metadata element. But it is a pretty easy Java fix to move 'schema = schemaAttr.getNodeValue();' from outside the loop that traverses the dcNodes list to inside that loop so it is retrieved for each metadata element if you need to mix schemas. (Sorry, I don't have a patch because we use a more substantially rewritten ItemImport for other customizations.) -Don - 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
[Dspace-tech] Differences between the data model and the trunk
Hi all, I'm writing to underline some differences between the data model shown in the dspace site ( http://www.dspace.org/index.php?option=com_contenttask=viewid=149#data_model ) and the actual code present in the /trunk ( http://dspace-sandbox.googlecode.com/svn/mirror/dspace/trunk/ ). There are differences in the associations between objects of the model: some one-to-many associations in the model are replaced in the code by many-to-many ones. I found 3 examples: - In the model, a Collection can be owned by only one Community, whereas in the code a Collection can be owned by many Community. - In the model, a Bundle can be owned by only one Item, and in the code it can be owned by more then one Item - In the model, a Bitstream can be owned by only one Bundle, and in the code by more then one. In the database schema, all the associations are many-to-many, there are no restrictions. I also looked at Jim's DAO-prototype ( http://dspace-sandbox.googlecode.com/svn/branches/dao-prototype/ ), and he reflects the database schema, using only many-to-many associations. I'm working on a prototype to introduce Hibernate, and i'd base my work on Jim's choice, but i'd like to have some opinions about it, what should we do? update the data model associations? follow the model and update the code in /trunk? what kind of associations should be kept and what dropped? My mentor Andrea will write his opinions replying to this email, to let everyone know them. We both are interested in having other opinions to choose the best way to go ahead. Cheers, Daniele - 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] Viruses and DSpace
Has any thought been given to how Dspace might handle the remote ( hopefully ) possibility of a file containing a virus being deposited into a repository? It seems like jhove might be the kind of tool that could check for this. I believe there is some work going on to incorporate jhove into Dspace, how is that coming along? It's not part of of 1.5, but what about for the following release? The BitstreamFormat renovation (see http://wiki.dspace.org/index.php/BitstreamFormat_Renovation ) doesn't address this directly, but will make it much easier to integrate tools because file formats will be identified more effectively and precisely. Once the format is known you can add a mechanism like the mediafilters, perhaps integrated with workflow, to run specific checks depending on the format type. JHOVE version 1 is just a format validator and technical-metadata extractor, it isn't subtle enough to look for viruses. There _are_ tools in the email filtering domain which detect malicious MS Office files; I've heard of them but don't remember specifics. You could start by looking around the SpamAssassin software and ClamAV (see http://www.clamav.net/ ) However, be aware that any virus-checking software needs constant updating since you're essentially in an arms race. -- Larry (a recovering postmaster) - 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] Development goals
On Nov 16, 2007, at 3:40 AM, Christophe Dupriez wrote: Dear Michele (copy to the community), May be I am basically wrong seing DSpace as a community of practice making a tool to promote the dissemination of the good Open Repositories practices. No. I think your right on in this regard, but just not one tool, many tools that work collaboratively. Yet, also to be a good participant in a larger community of existing tools and platforms. If I understand correctly your plans, DSpace is primarily a community of developpers where users requirements are tackled inside individual institutions and mostly technical problems are shared outside. I am sorry that my dream is different but I will play the real game ! I will follow the Claudia Juergen's advice: Small contributions are beautiful. I think we need to be careful about these definitions. The DSpace Community is a reflection of what its members need and want in an organization of users, managers and developers around the DSpace platform. The most salient roadblock to increasing the transmission of community enhancements into the codebase is that DSpace was basically a monolithic platform with a centralized build process. A significant bottleneck existed (and may still exist until we have a SCM and Issue tracking system that is scalable in terms of Access control) in that the commiters managing the process of reviewing and getting changes into the codebase supplied by the community as patches. The developers who are commiters are so because they want to participate more intimately with the future direction of DSpace. The previous viewpoint that commiters were basically servants or gate-keepers to the contributor community is both ill-fitting and unrealistic because a large number of the commiters are actually emeritus in their behavior and not very active, leaving much of the work in the role of gate-keeper actually to the newly elected commiters. Thus the paradox and the bottleneck. The actual and ideal maintainers, shepherds or stewards of the community are not on the continuum of commiter vs. contributor, but actually on the continuum of active vs. inactive! We need a better process for shifting the dial to the active side. To be constructive and pragmatic, my main technical challenge remains: adding thesaurus based query expansion to DSpace to be able to mimic PubMed searches exhaustivity and precision in DSpace (we now have 75 thousands documents in our internal repository. MeSH is 30 thousands subjects headings). I will keep focused on this. You should be more aggressive in participating in the community on something like this, prod the community to get more participation, and be flexible about the final outcome. I think you'll find that there are other developers in the community with the same interest. It would behoove you and them to get out of the woodwork and have real transparent conversations together on the community lists (hint hint, nudge nudge, Richard Rodgers). Cheers, Mark ~ Mark R. Diggory - DSpace Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology - 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] Batch Import and Namespaces
Hi Christophe, Yes and no. You mean the encoding setting in the XSLT, didn't You? In the input file there is no encoding. After doing so, the import process can start, but I get a Java message that my access to the PostgreSQL via the user 'dspace' is denied: **Test Run** - not actually importing items. Exception in thread main org.postgresql.util.PSQLException: FATAL: Passwort-Authentifizierung f��r Benutzer ��dspace�� fehlgeschlagen at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275) [snip] Are there additional parameters to set the password at the commandline? Via pgAdmin III I get access as db-user 'dspace' to the database. You wrote: If you load manually multi-files documents into DSpace, what do you have (or what do you want)? Multiple bitstreams in a bundle? Multiple bundles? We want to set up a new thesis database (as a first step to a bigger repository). And for 1 thesis there are usually 2 files: a PDF version and a compressed file bundle containing the original sources (eg. MS-Word or TeX) and sometimes statistical raw material, graphics etc. so we need 1 metadata set and 2 associated files. What are the values of the name field of the bundles of the different files? Which name field? Should dim:original contain further attributes? Best regards Robert Dupriez Christophe schrieb: Hi Robert! I am pretty sure that one problem is with the declared encoding of the input file. Could you put: ?xml version=1.0 encoding=iso-8859-1? and retry? Christophe Robert Roggenbuck [EMAIL PROTECTED] a écrit : attached is my dim... Greetings Robert Dupriez Christophe schrieb: Thanks, I am checking... but would you be so kind to send me an extract of your input file? Christophe 6 2000.07.20/12:17:11 2000.09.08/17:03:13 fangmeier FB5 a Hepp, Alexander Isolobale Substitution in Tetraphosphortrisulfid und in seinen Derivaten ger In dieser Arbeit wird der Einfluß von exo- und endocyclischen isolobalen Substitutionenin A4E3, P5E2X, beta-P4E3IR und alpha-P4E3XY untersucht (A=P und/oder As, E =S und/oder Se, X=Halogen, R=CHI2, Y=Halogen.) Die einzelnen Verbindungsklassen wurden synthetisiert und die 31P und 77Se-NMR-Werte bestimmt. Die ermittelten 31P/77Se-NMR-Daten und die 31P/77Se-NMR-Daten aus der Literatur bildeten die Grundlagen zur Untersuchung des Einflusses der isolobalen Substitution. Dazu werden die Elektronegativität der Liganden, Bindungswinkel und die 31P/77Se-NMR-Parameter miteinander in Beziehung gebracht. Dabei wurde ein linearer Zusammenhang zwischen Bindungswinkeln und chemischer Verschiebung bzw. Kopplungskonstanten in den A4E3-Verbindungen beobachtet. Des weiteren konnten lineare Zusammenhänge zwischen der Elektronegativität der exocyclischen Liganden (meist Halogene)und bestimmten NMR-Werten gefunden werden. Beide Phänomene konnten zurückgeführt werden auf den s-Anteil der Bindungen und/oder die Elektronendichte der betrachteten Kerne. Des weiteren wird eine Übersicht der Präparationsmethoden und eine einheitliche Benennung der Kerne in den Phosphorchalkogengerüsten vorgestellt. Die 31P/77Se-NMR-Daten der vorgestellten Phosphorchalkogenide werden im Anhang nach Strukturklassen geordnet aufgeführt (ca. 500 Verbindungen). Keywords: Phosphor, Selen, Schwefel, Iod, Brom, Chlor, Arsen, NMR, 31P, 77Se, Tetraphosphortrisulfid, P4S3, alpha-Tetraphosphortrichalkogendihalogenid, alpha-P4S3I2,beta-Tetraphosphortrichalkogendihalogenid, beta-P4S3I2, Pentaphospordichalkogenhalogenid, P5S2I, Elektronegativität, Hybridisierung, Fermi-Kontakt-Term diss Isolobale substitution in tetraphosphortrisulfide and its derivatives eng ger 20.03.1998 Prof. Dr. Roger Blachnik Prof. Dr. Roger Blachnik Dr. habil. Konstantin Karaghiosoff http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_hepp.tar.gz http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_Int_Hepp.pdf 1880231 2760496 2000.09.08/17:03:12 2000.09.08/17:03:13 http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_hepp.tar.gz http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_Int_Hepp.pdf 7 2000.07.20/12:48:17 2000.09.26/09:15:35 fangmeier FB5 a Lutz, Jörg 31P-NMR-spektroskopische Untersuchungen von Heterocyclen mit alpha-P4S3-, alpha-P4Se3- und P3Se4-Gerüst ger Diese Arbeit beschäftigt sich mit der Untersuchung der Ligandeneinflüsse bei Verbindungen mit alpha-P4S3-, alpha-P4Se3- und P3Se4-Gerüst. Dazu wurden die Verbindungen alpha-P4S3L2 (L = N(C3H7)(C6H5), NC9H10, SeCH3, SeC6H5),alpha-P4Se3L2 (L = NH(C6H5), N(CH3)(C6H5), N(C2H5)(C6H5), N(C3H7)(C6H5),NC9H10, SCH3, SeCH3) und P3Se4L (L = NH(C6H5), NH(C13H9), NH(C25H19),N(CH3)(C6H5), N(C2H5)(C6H5), N(C3H7)(C6H5), NC9H10, SCH3, SeCH3, SeC6H5)synthetisiert und die 31P-NMR-Parameter bestimmt. Durch Vergleich mit31P-NMR-Daten aus der Literatur konnten die
[Dspace-tech] Viruses and DSpace
Message: 2 Date: Fri, 16 Nov 2007 4:08:01 EST From: Larry Stone [EMAIL PROTECTED] Subject: Re: [Dspace-tech] Viruses and DSpace To: Blanco, Jose [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Has any thought been given to how Dspace might handle the remote ( hopefully ) possibility of a file containing a virus being deposited into a repository? It seems like jhove might be the kind of tool that could check for this. I believe there is some work going on to incorporate jhove into Dspace, how is that coming along? It's not part of of 1.5, but what about for the following release? The BitstreamFormat renovation (see http://wiki.dspace.org/index.php/BitstreamFormat_Renovation ) doesn't address this directly, but will make it much easier to integrate tools because file formats will be identified more effectively and precisely. Once the format is known you can add a mechanism like the mediafilters, perhaps integrated with workflow, to run specific checks depending on the format type. JHOVE version 1 is just a format validator and technical-metadata extractor, it isn't subtle enough to look for viruses. There _are_ tools in the email filtering domain which detect malicious MS Office files; I've heard of them but don't remember specifics. You could start by looking around the SpamAssassin software and ClamAV (see http://www.clamav.net/ ) However, be aware that any virus-checking software needs constant updating since you're essentially in an arms race. -- Larry (a recovering postmaster) I realize this may not be particularly relevant to your question, but we handle virus checking as part of the ingest process. ClamAV has Python bindings that make it very simple to integrate into our Python-based batch ingest processes. We also run ClamAV against the Ubuntu-based DSpace server and Solaris-based storage array containing the asset stores. Providing feedback to data contributors about malformed, corrupt, incomplete, and infected data sets is a very important part of our pre-ingest workflow. We use Jhove for file validation and look forward to more geospatial format support. Jhove is excellent at what it does, but I wouldn't anticipate that it will support virus scanning in the future. In addition, we use the Unix file utility and magic numbers to look for executables, since that would be pretty suspicious for geospatial data. Jim -- --- Jim Tuttle Geospatial Data Librarian NCSU Libraries, Box 7111 North Carolina State University Raleigh, NC 27695-7111 jim_tuttle at ncsu.edu (919)513-0651 Phone (919)515-3031 Fax - 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] DSpace Installation Saga: Please Help!
Hello, I guess you get several helpful hints here, but they go slightly different ways to get results. I guess you have to pick just one way and go along with it. The most natural approach for me with my knowledge seems to be the one Kyle suggests. So far, you try to set up the whole thing at once, including postgres, tomcat, apache and mod_jk. For now, just forget about apache. If you can see your pages under tomcat directly you can try to integrate with apache via mod_jk later on. You can even forget about postgres for now, because you will see a dspace error message in your browser if dspace cant connect to the database. But that is certainly not your problem because you have proven that it works by running fresh_install successfully. You listed your version numbers in the first post and I wondered how you had been able to build dspace when you had only a JRE installed but as it worked you should have a javac in place. You might check this. If my understanding ist fine, the tomcat JSP container uses this javac to compile JSPs at runtime. This is, it wont work properly without a JDK installed. Prove me wrong. Did you compile dspace on the same machine? You probably have ant installed in a recent version? You can see the tomcat homepage which means that tomcat is running. It also recognizes the .war files and unpacks them which means that automatic deployment is working too. Surely, there is no permissions problem at this point. tomcat only reads the .war files, so they can be owned by anybody as long as everybody may read them. While tomcat unpacks these files, it has to be allowed to write to the /webapps dir which it obviously is. It is probably allowed to write to /work which it needs to run any .jsp. You might want to check this. The files tomcat writes to /webapps/dspace are then owned by tomcat which is fine. The only thing not discussed so far is the dspace install directory. You should check whether tomcat is able to write to /dspace-install/assetstore or /dspace-install/history and so on. DSpace is not running which means that you dont have a dspace.log which in turn means that you dont have detailed error messages. If I am wrong with my JRE vs. JDK idea, then the only thing where you can find a fault is in your dspace configuration files. The web.xml does not get changed during a default install, so I would just replace it with the default version if you edited that. Then check the first third of your dspace.cfg file which contains all the important path, database and email settings. The rest of this file deals with special datastores, different thumbnail display and cosmetic stuff. The last thing to look at besides dspace.cfg is the log4j configuration file for dspace. Check whether it makes sense to you. I hope you can find the culprit. Bye, Christian Am 16.11.2007 um 02:59 schrieb Drrty Byl: Thanks Graham. Here is one loop from repetitive output in /var/log/tomcat5/catalina.out : INFO: HTMLManager: start: Starting web application at '/dspace' 15-Nov-07 7:49:19 PM org.apache.catalina.core.StandardContext start SEVERE: Error in dependencyCheck 15-Nov-07 7:49:20 PM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured 15-Nov-07 7:49:20 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/dspace] startup failed due to previous errors 15-Nov-07 7:49:20 PM org.apache.catalina.core.StandardContext stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ dspace] has not been started 15-Nov-07 7:49:21 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Nothing in my /usr/share/tomcat5/conf/web.xml points to /dspace/dspace.cfg -- should it? It almost looks like part of Tomcat isn't loading? By the way, /tomcat5/webapps/dspace/ and /tomcat5/webapps/dspace-oai/ directories do contain installation files. I am not running SELinux, nor am I blocking any services or port 8080. Could this be caused by a permissions-related issue? Other Tomcat-related applications (such as jsp examples) are working. On Nov 15, 2007 4:10 PM, Graham Triggs [EMAIL PROTECTED] wrote: Then the application is falling over during startup. The two most obvious causes: 1) The configuration item in web.xml that points to dspace.cfg does not match the location of the file. 2) The initialisation servlet is throwing an exception due to running under a security manager, and therefore it can't read the system properties. Either way, you need to check the Tomcat log files to see what error message is being written. G Drrty Byl wrote: Yes, I have the manager application installed. I logged in as you suggested -- low and behold neither the /dspace nor /dspace-oai applications are running. When I click either of these to start them, the page refreshes and they do not start. Also please note that I have uncommented the code which adds
Re: [Dspace-tech] Getting error RSS feed missing channel description
Hi, we've had the same problem too. In our case, we've got RSS Feeds erros for some collections/communities independent of the number of their items. We've discovered that those collections/communities were created with a null value for description. Setting them to something else, even a space, solved the problem. Best regards, Eduardo Ferraz dos Santos Prodasen - Senado Federal 2007/11/15, Richard M. Davis [EMAIL PROTECTED]: Hi Mika Not a big collection in our case (2 items!), though it could be significant that the user backed out halfway through creating it (leaving one of those lovely Nulls) then returned to it another day. Easiest thing would be to delete it and start again, but wondered first if there was another angle. Does the error even refer to the contents of element /rss/channel/description (which is empty even in feeds that don't throw errors) - or to something else? Perhaps someone knows if it's an upgrade issue - we're overdue for one, and I was hoping the next upgrade would be to 1.5, but may have to settle for 1.4.2 in the short term. Best Richard Mika Stenberg wrote: Richard, We've had the same problem for quite some time now. It seems that when the number of items in a collection gets rather large, the RSS feeds cannot be generated. I posted a message about this on the list some time ago, but havent received any hints on fixing it. If you get any, please let me know. Is there a feature request / bug reporting system for DSpace anyways? Putting issues like this up on display somewhere might be more efficient than throwing it on the message archive. It might prevent devepment of overlapping features / add-ons as well. Mika Hi We're running 1.4 and getting a stream of errors on the RSS feeds (1 and 2) for one particular collection. Does anyone know a quick fix - is there simply a metadata field that's missing, or maybe a database hack that will do the trick? Hope you can help! Richard Davis University of London Original Message Subject: SAS-SPACE: Internal Server Error Date: Thu, 15 Nov 2007 09:59:58 + (GMT) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] An internal server error occurred on http://sas-space.sas.ac.uk/dspace: Date: 15/11/07 09:59 Session ID: 8C7415E7AD6E219400655DF71DC35695 -- URL Was: http://sas-space.sas.ac.uk/dspace/feed/rss_2.0/10065/580 -- Method: GET -- Parameters were: Exception: java.io.IOException: Invalid rss_2.0 feed, missing channel description at org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:227) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest( DSpaceServlet.java:151) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] OpenSearch support?
Mark H. Wood wrote: There's interest here in adding OpenSearch support to our DSpaces. I found some two-year-old pages suggesting the possiblity of such, but the author seems to have moved on. There's no mention of OpenSearch on the DSpace Wiki. Has this been done? That depends on what you mean by support... Writing an OpenSearch plugin for an individual DSpace should be really easy, since DSpace uses parameterized URLs for searches. See, eg: http://gizbuzz.co.uk/2007/making-your-own-opensearch-plugins/ Performing a simple / advanced search on your DSpace instance and inspecting the URLs should make it pretty obvious what you need to do. cheers, Jim -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. - 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