Re: [Dspace-tech] DSpace Creative Commons license display problem
Hello Federico, You will need to create the Mime Type using the Admin UI. The bitstream-formats.xml is only used when performing a fresh install. Call your format CC License with a Mime Type of text/html. Hope this helps. Steve -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Thursday, September 03, 2009 12:59 AM To: dspace-tech@lists.sourceforge.net Cc: Williams, Steven D Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Friday 28 August 2009 13:58:50 Thompson-Young, Alexia A escribió: All, Two patches to address the mime type issue for the CC license have been submitted: http://jira.dspace.org/jira/browse/DS-295 With these patches, someone using FireFox will see the CC license displayed properly. Many thanks to Steve Williams and Ladd Hanson for working on this. FYI, Lexie No luck for me. :-( Using Dspace 1.5.2, Ubuntu 8.04.3, Tomcat 5.5. Frontend with Apache mod_proxy_ajp. I have applied patches, packaged with mvn, updated with ant, updated bitstream-formats.xml with new mimetype from patch. dsp...@dspace:/dspace/config/registries$ diff bitstream-formats.xml bitstream-formats.xml.orig 59,67d58 !-- Used by system: do not remove -- bitstream-type mimetypetext/html/mimetype short_descriptionCC License/short_description descriptionItem-specific Creative Commons license agreed upon to submission/description support_level1/support_level internaltrue/internal /bitstream-type Then restarted Tomcat. An item uploaded pre-patch still show mimetype text/plain: $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 --02:44:47-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 = `license_text?sequence=3' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.771 (13K) [text/plain] An item uploaded post-patch now show application/octet-stream (?!?!?!) $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 --02:48:15-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 = `license_text?sequence=3.1' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.684 (13K) [application/octet-stream] Still far away from the desired text/html mimetype. Now Firefox (Windows GNU/Linux) tries to execute the CC License. It still works on MS Internet Explorer. Am I doing something wrong? Anyone tried this patch? Thanks in advance. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Creative Commons license display problem
El Friday 28 August 2009 13:58:50 Thompson-Young, Alexia A escribió: All, Two patches to address the mime type issue for the CC license have been submitted: http://jira.dspace.org/jira/browse/DS-295 With these patches, someone using FireFox will see the CC license displayed properly. Many thanks to Steve Williams and Ladd Hanson for working on this. FYI, Lexie No luck for me. :-( Using Dspace 1.5.2, Ubuntu 8.04.3, Tomcat 5.5. Frontend with Apache mod_proxy_ajp. I have applied patches, packaged with mvn, updated with ant, updated bitstream-formats.xml with new mimetype from patch. dsp...@dspace:/dspace/config/registries$ diff bitstream-formats.xml bitstream-formats.xml.orig 59,67d58 !-- Used by system: do not remove -- bitstream-type mimetypetext/html/mimetype short_descriptionCC License/short_description descriptionItem-specific Creative Commons license agreed upon to submission/description support_level1/support_level internaltrue/internal /bitstream-type Then restarted Tomcat. An item uploaded pre-patch still show mimetype text/plain: $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 --02:44:47-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 = `license_text?sequence=3' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.771 (13K) [text/plain] An item uploaded post-patch now show application/octet-stream (?!?!?!) $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 --02:48:15-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 = `license_text?sequence=3.1' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.684 (13K) [application/octet-stream] Still far away from the desired text/html mimetype. Now Firefox (Windows GNU/Linux) tries to execute the CC License. It still works on MS Internet Explorer. Am I doing something wrong? Anyone tried this patch? Thanks in advance. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Creative Commons license display problem
All, Two patches to address the mime type issue for the CC license have been submitted: http://jira.dspace.org/jira/browse/DS-295 With these patches, someone using FireFox will see the CC license displayed properly. Many thanks to Steve Williams and Ladd Hanson for working on this. FYI, Lexie -Original Message- From: Williams, Steven D [mailto:s.willi...@austin.utexas.edu] Sent: Friday, August 14, 2009 10:24 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem I believe the Mime Type can be changed in the administration interface under Formats. There is a license format that can be changed. This would also change the default license from plain text to html text. What are the negatives impacts to the default license? Note: It looks like the logo issue mentioned by Mark in the link reference below is no longer a issue with the CC license. Steve -Original Message- From: Walker, David [mailto:dwal...@calstate.edu] Sent: Tuesday, August 11, 2009 4:05 PM To: Jason Fowler; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem Mark Diggory mentioned previously that he figured out how to change the mime-type. He didn't mention how, exactly -- perhaps a more detailed explanation would help folks work around this issue? http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg05740.html Further down that page is the hack that we -- sadly -- still continue to implement here. --Dave == David Walker Library Web Services Manager California State University http://xerxes.calstate.edu From: Jason Fowler [jfow...@sbts.edu] Sent: Tuesday, August 11, 2009 1:27 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem I wouldn't even mind if someone knew some good script-fu to actually change the bitstream format of license_text to HTML at regular intervals. I would rather have it stored correctly and work correctly, but if I need to choose between the two, I would rather it work correctly. Thanks, jf -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Tuesday, August 11, 2009 4:17 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Tuesday 11 August 2009 13:44:22 Jason Fowler escribió: We're running DSpace 1.5.1. Last year there was an issue where DSpace creative commons licenses would not appear correctly in XMLUI when viewing in Firefox. I was just wondering if a fix for this was ever developed for this. Thanks, Jason [cid:image001.png@01CA1A81.73C4A150] I'm interested too. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.406 / Virus Database: 270.13.50/2296 - Release Date: 08/11/09 06:10:00 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace
Re: [Dspace-tech] DSpace Creative Commons license display problem
I believe the Mime Type can be changed in the administration interface under Formats. There is a license format that can be changed. This would also change the default license from plain text to html text. What are the negatives impacts to the default license? Note: It looks like the logo issue mentioned by Mark in the link reference below is no longer a issue with the CC license. Steve -Original Message- From: Walker, David [mailto:dwal...@calstate.edu] Sent: Tuesday, August 11, 2009 4:05 PM To: Jason Fowler; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem Mark Diggory mentioned previously that he figured out how to change the mime-type. He didn't mention how, exactly -- perhaps a more detailed explanation would help folks work around this issue? http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg05740.html Further down that page is the hack that we -- sadly -- still continue to implement here. --Dave == David Walker Library Web Services Manager California State University http://xerxes.calstate.edu From: Jason Fowler [jfow...@sbts.edu] Sent: Tuesday, August 11, 2009 1:27 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem I wouldn't even mind if someone knew some good script-fu to actually change the bitstream format of license_text to HTML at regular intervals. I would rather have it stored correctly and work correctly, but if I need to choose between the two, I would rather it work correctly. Thanks, jf -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Tuesday, August 11, 2009 4:17 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Tuesday 11 August 2009 13:44:22 Jason Fowler escribió: We're running DSpace 1.5.1. Last year there was an issue where DSpace creative commons licenses would not appear correctly in XMLUI when viewing in Firefox. I was just wondering if a fix for this was ever developed for this. Thanks, Jason [cid:image001.png@01CA1A81.73C4A150] I'm interested too. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.406 / Virus Database: 270.13.50/2296 - Release Date: 08/11/09 06:10:00 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Creative Commons license display problem
El Tuesday 11 August 2009 13:44:22 Jason Fowler escribió: We're running DSpace 1.5.1. Last year there was an issue where DSpace creative commons licenses would not appear correctly in XMLUI when viewing in Firefox. I was just wondering if a fix for this was ever developed for this. Thanks, Jason [cid:image001.png@01CA1A81.73C4A150] I'm interested too. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Creative Commons license display problem
I wouldn't even mind if someone knew some good script-fu to actually change the bitstream format of license_text to HTML at regular intervals. I would rather have it stored correctly and work correctly, but if I need to choose between the two, I would rather it work correctly. Thanks, jf -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Tuesday, August 11, 2009 4:17 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Tuesday 11 August 2009 13:44:22 Jason Fowler escribió: We're running DSpace 1.5.1. Last year there was an issue where DSpace creative commons licenses would not appear correctly in XMLUI when viewing in Firefox. I was just wondering if a fix for this was ever developed for this. Thanks, Jason [cid:image001.png@01CA1A81.73C4A150] I'm interested too. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Creative Commons license display problem
Mark Diggory mentioned previously that he figured out how to change the mime-type. He didn't mention how, exactly -- perhaps a more detailed explanation would help folks work around this issue? http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg05740.html Further down that page is the hack that we -- sadly -- still continue to implement here. --Dave == David Walker Library Web Services Manager California State University http://xerxes.calstate.edu From: Jason Fowler [jfow...@sbts.edu] Sent: Tuesday, August 11, 2009 1:27 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem I wouldn't even mind if someone knew some good script-fu to actually change the bitstream format of license_text to HTML at regular intervals. I would rather have it stored correctly and work correctly, but if I need to choose between the two, I would rather it work correctly. Thanks, jf -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Tuesday, August 11, 2009 4:17 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Tuesday 11 August 2009 13:44:22 Jason Fowler escribió: We're running DSpace 1.5.1. Last year there was an issue where DSpace creative commons licenses would not appear correctly in XMLUI when viewing in Firefox. I was just wondering if a fix for this was ever developed for this. Thanks, Jason [cid:image001.png@01CA1A81.73C4A150] I'm interested too. -- Federico Lazcano -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech