[Dspace-tech] DSpace - how can I use system mail settings ?
With the dpsace.cfg and out-of-the-box mail settings I can't send emails. To test, I run: /dspace/bin/dspace test-email And I get the error: Error sending email: - Error: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused For PHP applications you can set sendmail_path in php.ini and it uses the system's /usr/sbin/sendmail I have installed ssmtp on my system which sets up sendmail as a symlink to the ssmtp program - then all system mail, and all mail send via PHP works with my `ssmtp` package settings. How can I get DSpace to just use the system mail configuration instead of trying to send mail to localhost via port 25? I realize I can put in SMTP settings ( like for gmail or something) in the dpsace.cfg file, but I don't want to have to maintain this separately. The only related thing I could find on this was this post: http://sourceforge.net/mailarchive/message.php?msg_id=30524161 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] java.io.IOException on Dspace 3.1
Very odd indeed. I seem to have confirmed that it is a permissions issue - but using chown to make dspace the owner did not do the trick. I made the asset directory world-writeable (don't do this on yours) and uploaded a file. the new file was owned by tomcat6. Did I miss something in the dspace setup as far as the dspace user and the tomcat user goes? -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] handle server nuts and bolts
I want to understand the nuts and bolts of how the handle server actually works and what it does, how it is used, etc. I have read over - http://www.handle.net/faq.html - https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-TheHandleServer Where can I get more information and a better understanding of it? Thanks -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] How can I set the homepage to display a collection?
Hello All, I am working to upgrade DSpace from 1.8 to 3.1. So far so good - DSpace 3.1 seems to be working but I would like to have a second hostname that accesses the DSpace instance to pull up a specific collection. In the server.xml file I have added a second host definition above the first: Host name=collections.zsr.wfu.edu appBase=/dspace/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=/ docBase=/dspace/webapps/xmlui/handle/10339/3 allowLinking=true/ /Host Here is the default host definition: Host name=localhost appBase=/dspace/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=/ docBase=/dspace/webapps/xmlui allowLinking=true/ Context path=/sword docBase=/dspace/webapps/sword allowLinking=true/ Context path=/oai docBase=/dspace/webapps/oai allowLinking=true/ Context path=/jspui docBase=/dspace/webapps/jspui allowLinking=true/ Context path=/lni docBase=/dspace/webapps/lni allowLinking=true/ Context path=/solr docBase=/dspace/webapps/solr allowLinking=true/ /Host I thought I would be smart and just adjust the appBase from /dspace/webapps to /dspace/webapps/xmlui/handle/10339/3 but this isn't working correctly because both hostnames just load the default DSpace homepage. I have been consulting the documentation but am not having much luck finding where to configure something like this. Thanks, Will -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Send item to Facebook
Hi, We have a Facebook like button on our items (still in dev, but getting ready to be rolled out -- if you try the link below and it's down, it might be because we are rebuilding... try again in a few minutes); users can click and the like will show up on their facebook wall. You can see it at: http://dev.datadryad.org/handle/10255/dryad.1914 (click 'share' under the citation at the top of the page and facebook's like, among other social software options, will appear). Adding it was a matter of putting Facebook's iframe markup in our item view XSLT [we use xmlui, 1.6.2] and supplying a place we'd like it to link to (our DOI): xsl:element name=iframe xsl:attribute name=src !-- $pkgDOI is defined above in the XSLT and encoder is called from URLEncoder -- xsl:value-of select=concat('http://www.facebook.com/plugins/like.php?href= ', encoder:encode(concat('http://dx.doi.org/', $pkgDOI)), 'amp;layout=button_countamp;show_faces=falseamp;width=100amp;action=likeamp;colorscheme=lightamp;height=21') / /xsl:attribute xsl:attribute name=scrollingno/xsl:attribute xsl:attribute name=frameborder0/xsl:attribute xsl:attribute name=styleborder:none; overflow:hidden; width:70px; height:21px;/xsl:attribute xsl:attribute name=allowTransparencytrue/xsl:attribute xsl:text /xsl:text /xsl:element http://dev.datadryad.org/handle/10255/dryad.1914Hope that helps, Kevin On Tue, Oct 5, 2010 at 11:26 AM, Khan, Baseer baseer.k...@wichita.eduwrote: Hello List, Is it possible to add this feature in the current Manakin(1.6.2), A student/faculty/staff like an item can they be able to send it as a link to their Facebook and other social networking sites account or text it to their cellphones (this is a huge hit with students). Thank you, Baseer. * * Mohammed Baseer AhmedKhan [image: Description: Description: NewLogo] Tel (316) 978-5141 mailto: baseer.k...@wichita.edu dan.lar...@wichita.edu ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech image003.jpg-- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Send item to Facebook
On Tue, Oct 5, 2010 at 12:02 PM, Khan, Baseer baseer.k...@wichita.eduwrote: Thank you for the reply; I saw your website this is what we exactly need, I will try to implement this. So I just have to add the lines in xslt file, Did you come across any issue while implementing this? The spacing/width of the frame. I think our width is still probably a bit too narrow... sometimes the 'n' in 'person' (after it has been clicked, indicating that they like it) gets cut off -- and this would happen, too, if the like count went above a single digit. Fixing that should be a matter of adding a few more pixels to the width. We had the issue of using the same DOI for a data package and data file (two separate DSpace records) page, but I think that's pretty much specific to our own use of DSpace. Most places would use the Handle for the individual item as the href, which would be pulled from the metadata. Then, just using the encoder required we define the namespace at the top of the xslt: xmlns:encoder=xalan://java.net.URLEncoder (which introduces the Xalan dependency, but I don't think DSpace/Cocoon plans on changing that anytime soon). That's about it... Kevin *From:* Kevin S. Clarke [mailto:kscla...@gmail.com] *Sent:* Tuesday, October 05, 2010 10:50 AM *To:* Khan, Baseer *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] Send item to Facebook Hi, We have a Facebook like button on our items (still in dev, but getting ready to be rolled out -- if you try the link below and it's down, it might be because we are rebuilding... try again in a few minutes); users can click and the like will show up on their facebook wall. You can see it at: http://dev.datadryad.org/handle/10255/dryad.1914 (click 'share' under the citation at the top of the page and facebook's like, among other social software options, will appear). Adding it was a matter of putting Facebook's iframe markup in our item view XSLT [we use xmlui, 1.6.2] and supplying a place we'd like it to link to (our DOI): xsl:element name=iframe xsl:attribute name=src !-- $pkgDOI is defined above in the XSLT and encoder is called from URLEncoder -- xsl:value-of select=concat(' http://www.facebook.com/plugins/like.php?href=', encoder:encode(concat(' http://dx.doi.org/', $pkgDOI)), 'amp;layout=button_countamp;show_faces=falseamp;width=100amp;action=likeamp;colorscheme=lightamp;height=21') / /xsl:attribute xsl:attribute name=scrollingno/xsl:attribute xsl:attribute name=frameborder0/xsl:attribute xsl:attribute name=styleborder:none; overflow:hidden; width:70px; height:21px;/xsl:attribute xsl:attribute name=allowTransparencytrue/xsl:attribute xsl:text /xsl:text /xsl:element Hope that helps, Kevin On Tue, Oct 5, 2010 at 11:26 AM, Khan, Baseer baseer.k...@wichita.edu wrote: Hello List, Is it possible to add this feature in the current Manakin(1.6.2), A student/faculty/staff like an item can they be able to send it as a link to their Facebook and other social networking sites account or text it to their cellphones (this is a huge hit with students). Thank you, Baseer. * * Mohammed Baseer AhmedKhan [image: Description: Description: NewLogo] Tel (316) 978-5141 mailto: baseer.k...@wichita.edu dan.lar...@wichita.edu ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech image001.jpg-- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] remote import scripts
Not specifically related to DSpace, but Hudson is one way to run scripts on a remote machine and then do something with the results. It's a webapp that would be installed on your remote machine and then you can interact with it through its web interface (while it performs actions on the remote machine). For instance, we use it to (among many other things) run the DSpace reindexing script on a remote machine. http://hudson-ci.org/ Hope that helps, Kevin On Wed, Sep 22, 2010 at 11:32 AM, Carlos S neu...@gmail.com wrote: Hi, Is there any bulk-import script/program that can be run from remote client machine? I have used dspace import and package scripts, but I need to copy my data on dspace system first and then run import programs as system user. Is there any other alternative approach? Thanks, CS. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] searching with diacritics
Hi Jose, Seems there is a corresponding filter in Lucene proper: http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/analysis/ISOLatin1AccentFilter.html We use xmlui, rather than jspui though, so I have no idea how you'd configure it in the jspui setup. Sorry, Kevin On Fri, Sep 3, 2010 at 2:16 PM, Blanco, Jose blan...@umich.edu wrote: Kevin: This is for the solr/statistics webapp, but what about the jspui webapp that one uses lucene. Thanks! Jose -Original Message- From: Kevin S. Clarke [mailto:kscla...@gmail.com] Sent: Monday, August 23, 2010 4:35 PM To: Blanco, Jose Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] searching with diacritics There is a ISOLatin1AccentFilterFactory that does this. To use it you'd add filter class=solr.ISOLatin1AccentFilterFactory/ to your fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index filter class=solr.ISOLatin1AccentFilterFactory/ and analyzer type=query filter class=solr.ISOLatin1AccentFilterFactory/ Though looking at our solr config it doesn't look like we have it in there either. Not sure if there is a reason for not including it. Perhaps (I'm just now looking up the docs for it) because it's been deprecated Cf. http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ISOLatin1AccentFilterFactory) Still, I don't see the newer version solr.ASCIIFoldingFilterFactory in our schema.xml either. Think I'll put it in, reindex, and test. Kevin On Mon, Aug 23, 2010 at 11:41 AM, Blanco, Jose blan...@umich.edu wrote: I noticed that in my instance if I search for: Jose ( without an accent ) I get all the results with Jose ( without an accent ). And if I search for Jose ( with an accent on the e ) I get all the instances that have Jose with accent. My instance is setup with English as the default language, so I thought I experiment in my development environment and change it to French (search.analyzer = org.apache.lucene.analysis.fr.FrenchAnalyzer). I did an index-init after changing it to French. But when I tried the search again, I got the same results. I found that this instace http://riuma.uma.es/xmlui , and it works as I expected. Searching for Jose ( without the accent ), finds all Jose's regardless of whether they have accents or not. Is there a way to map diacritics? It would be great for to be able to search Latin 1 chars with or without accents. Thank you! Jose -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Recommendations for DSpace consultants
Hi Jimmy, I work on the Dryad project (http://datadryad.org), and we have an ongoing relationship with @mire to help with migrations, development, etc. They helped move us from 1.5.2 to 1.6. They also helped (and continue to help) migrate some custom development into DSpace's way of doing things. Additionally, they help with ongoing troubleshooting and have given us a day long workshop to help get us up to speed on the DSpace fundamentals. We've been very satisfied with their work and workshop and would definitely recommend them to folks looking for DSpace consultants. I'd be glad to answer more specific questions or you may be more interested in contacting our project architect, Ryan Scherle rsche...@nescent.org, who would be glad to give you more details about the work we've had them do. Hope that helps... Kevin On Wed, Aug 25, 2010 at 4:24 PM, Jimmy Ghaphery jghap...@vcu.edu wrote: I'm interested in hearing from anyone who has successfully worked with a consultant for DSpace. I am familiar with the list posted here: http://www.dspace.org/service-providers/Service-Providers.html In particular I am looking for assistance with an upgrade to 1.6 including the migration of a custom embargo to the new embargo mechanism, troubleshooting some ongoing bugs we have with case-sensitivity display of jpg's, and knowledge transfer for our staff. Thanks for anything you can share on or off list. --Jimmy -- Jimmy Ghaphery Head, Library Information Systems VCU Libraries http://www.library.vcu.edu -- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech