Re: [Dspace-tech] PDF viever
actually... I really jumped the gun when I thought I had it working... turns out that the images that did finally come through in the viewer were simply cached images... I had been playing with direct links to see what the problem was so I was in fact just looking at cached images from page 1 and 2... so, I'm right back where I started... I can view the PDF in a full size viewer... I can also look at individual images that make up the viewer pages... BUT... when in the iFrame on the item page it just won't work... :-( Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 2:11 PM, Peter Dietz dietz...@osu.edu wrote: I'm glad you worked that out. I had never ran into window size problems. But I was thinking of having buttons to let the user expand/shrink the size of the viewer window. Some simple jQuery to make the height equal height+100, and perhaps even a button to close the viewer. mets:fileSec mets:fileGrp USE=CONTENT mets:file CHECKSUMTYPE=MD5 GROUPID=group_file_156873 ID=file_156873 MIMETYPE=application/pdf SIZE=2672965 CHECKSUM= 56f01cd0d6ce9bdfea6eebb1c3f9103c mets:FLocat LOCTYPE=URL xlink:title=HIL_ENICH_FMS_1.pdf xmlns:xlink= http://www.w3.org/TR/xlink/; xlink:type=locator xmlns:xlink= http://www.w3.org/TR/xlink/xlink:href= /dspace/bitstream/handle/1811/37140/HIL_ENICH_FMS_1.pdf?sequence=1 xmlns:xlink=http://www.w3.org/TR/xlink// /mets:file /mets:fileGrp From the DRI above you have a few choices of how you may want to construct the link to your bitstream. In the example I posted, I grab the bitstream ID xsl:value-of select=substring(@ID,6)/, so I can avoid spaces completely. Otherwise if you want to use the filename, you'll have to do a url encode. a href=#preview onclick=embeddedPreview(' http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true')http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true%27%29 ; Preview /a (in my post here, the Google accessible / production box is still jspui and this a work living on development, thus the /retrieve/) Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Thu, May 13, 2010 at 10:51 AM, Fred Edwards fred.edwa...@smu.cawrote: it wasn't a time out issue... it was an issue with teh size of the iFrame... the original code set the preview iFrame to be height='342px' I changed it to be 830px and lo and behold... preview pages... so my issues seem to be resolved. thanks to those, on and off list, who have been looking into this for me. Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 10:06 AM, Fred Edwards fred.edwa...@smu.cawrote: now I'm kinda wondering if it is a time-out issue somewhere... Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 9:50 AM, Jason Fowler jfow...@sbts.edu wrote: If it doesn’t like the spaces, you could just change the filenames and reupload the bitstreams. I try to never use spaces in filenames because *nix based systems hate them. If you have high res images in the PDF, Google struggles with it. Still, you can put some image only stuff in there. For example, here’s a pdf of a MSS we have in our repository. http://docs.google.com/viewer?url=http%3A%2F%2Fdigital.library.sbts.edu%2Fbitstream%2Fhandle%2F10392%2F226%2FFreedomInPreaching.pdf%3Fsequence%3D1 *From:* Fred Edwards [mailto:fred.edwa...@smu.ca] *Sent:* Thursday, May 13, 2010 8:27 AM *To:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] PDF viever it seems its a little more insidious than that... what I was experiencing first seems to indicate that the viewer isn't happy with PDFs that have spaces in the file name... now, secondly, a working URL and PDF (one with no spaces in the file name) will properly display when directly browsed to... ie. grab the URL from the page source that the viewer is supposed to use... copy and paste to the address bar... and google will display the PDF no problem... however, within the embedded iframe that same PDF will only be somewhat loaded... the pages all display an icon for a broken image and not the PDF pages... erk Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax
Re: [Dspace-tech] PDF viever
really is solved this time... the problem is browser security google needs/wants to push a cookie onto the user... my security settings blocks third party cookies once google.com is made an exception the issue is resolved... for my PC... I can't say that I personally find this solution palatable, but the problem is solved and policy is another story. Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 2:38 PM, Fred Edwards fred.edwa...@smu.ca wrote: actually... I really jumped the gun when I thought I had it working... turns out that the images that did finally come through in the viewer were simply cached images... I had been playing with direct links to see what the problem was so I was in fact just looking at cached images from page 1 and 2... so, I'm right back where I started... I can view the PDF in a full size viewer... I can also look at individual images that make up the viewer pages... BUT... when in the iFrame on the item page it just won't work... :-( Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 2:11 PM, Peter Dietz dietz...@osu.edu wrote: I'm glad you worked that out. I had never ran into window size problems. But I was thinking of having buttons to let the user expand/shrink the size of the viewer window. Some simple jQuery to make the height equal height+100, and perhaps even a button to close the viewer. mets:fileSec mets:fileGrp USE=CONTENT mets:file CHECKSUMTYPE=MD5 GROUPID=group_file_156873 ID= file_156873 MIMETYPE=application/pdf SIZE=2672965 CHECKSUM= 56f01cd0d6ce9bdfea6eebb1c3f9103c mets:FLocat LOCTYPE=URL xlink:title=HIL_ENICH_FMS_1.pdf xmlns:xlink=http://www.w3.org/TR/xlink/; xlink:type=locator xmlns:xlink=http://www.w3.org/TR/xlink/xlink:href= /dspace/bitstream/handle/1811/37140/HIL_ENICH_FMS_1.pdf?sequence=1 xmlns:xlink=http://www.w3.org/TR/xlink// /mets:file /mets:fileGrp From the DRI above you have a few choices of how you may want to construct the link to your bitstream. In the example I posted, I grab the bitstream ID xsl:value-of select=substring(@ID,6)/, so I can avoid spaces completely. Otherwise if you want to use the filename, you'll have to do a url encode. a href=#preview onclick=embeddedPreview(' http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true')http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true%27%29 ; Preview /a (in my post here, the Google accessible / production box is still jspui and this a work living on development, thus the /retrieve/) Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Thu, May 13, 2010 at 10:51 AM, Fred Edwards fred.edwa...@smu.cawrote: it wasn't a time out issue... it was an issue with teh size of the iFrame... the original code set the preview iFrame to be height='342px' I changed it to be 830px and lo and behold... preview pages... so my issues seem to be resolved. thanks to those, on and off list, who have been looking into this for me. Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 10:06 AM, Fred Edwards fred.edwa...@smu.cawrote: now I'm kinda wondering if it is a time-out issue somewhere... Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Thu, May 13, 2010 at 9:50 AM, Jason Fowler jfow...@sbts.edu wrote: If it doesn’t like the spaces, you could just change the filenames and reupload the bitstreams. I try to never use spaces in filenames because *nix based systems hate them. If you have high res images in the PDF, Google struggles with it. Still, you can put some image only stuff in there. For example, here’s a pdf of a MSS we have in our repository. http://docs.google.com/viewer?url=http%3A%2F%2Fdigital.library.sbts.edu%2Fbitstream%2Fhandle%2F10392%2F226%2FFreedomInPreaching.pdf%3Fsequence%3D1 *From:* Fred Edwards [mailto:fred.edwa...@smu.ca] *Sent:* Thursday, May 13, 2010 8:27 AM *To:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] PDF viever it seems its a little more insidious than that... what I was experiencing first seems
Re: [Dspace-tech] PDF viever
any idea how to debug this? everything appears fine, however the viewer doesn't seem to grab the PDF... I can browse to the URL generated by the script and see the PDF, so the URL handed to Google is fine as well... does the viewer have a problem with using a port besides port 80? Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Fri, May 7, 2010 at 8:08 PM, Peter Dietz dietz...@osu.edu wrote: I was working on XMLUI today, and implemented the document preview for XMLUI. I also added the howto on that to the documentation for Document Preview, http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewer http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewerI imagine this might be helpful. -- I didn't update the instructions for jspui. Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Wed, May 5, 2010 at 4:56 AM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi Jason Thanks for the reply. Please explain the process step by step in most easiest way, I tried the one I found on the net but with no good results. Regards, Lewatle -Original Message- From: Jason Fowler [mailto:jfow...@sbts.edu] Sent: 23 April 2010 03:21 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. You could do something very similar to what I have explained here for the inclusion of the video tag for HTML5 pseudo streaming. http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-ds pace/http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-dspace/ Instead of embedding the video tag, you would put in code to embed the viewer. I am in a bit of a hurry now. If you need more information, let me know and I can explain this more fully next week. Blessings, Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, April 23, 2010 4:52 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] PDF viever Hi all I want to enable PDF viewer for DSpace so that a user who doesn't have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand
Re: [Dspace-tech] PDF viever
Two thoughts. First, are there any bitstream restrictions that would allow you to browse to the URL but would not allow Google's servers to access it? Second, try manually entering the URL into this form (http://docs.google.com/viewer?pli=1) only omit the sequence section from the end of the URL. See if that makes a difference. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Fred Edwards [fred.edwa...@smu.ca] Sent: Wednesday, May 12, 2010 2:48 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever any idea how to debug this? everything appears fine, however the viewer doesn't seem to grab the PDF... I can browse to the URL generated by the script and see the PDF, so the URL handed to Google is fine as well... does the viewer have a problem with using a port besides port 80? Fred Edwards Systems Technician Patrick Power Library Saint Mary's University Halifax, Nova ScotiaB3H 3C3 Phone: (902) 420-5096 Fax: (902) 420-5561 E-mail:fred.edwa...@smu.camailto:fred.edwa...@smu.ca Website: http://www.smu.ca/library/ -- On Fri, May 7, 2010 at 8:08 PM, Peter Dietz dietz...@osu.edumailto:dietz...@osu.edu wrote: I was working on XMLUI today, and implemented the document preview for XMLUI. I also added the howto on that to the documentation for Document Preview, http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewer http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewerI imagine this might be helpful. -- I didn't update the instructions for jspui. Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Wed, May 5, 2010 at 4:56 AM, Lewatle Phaladi lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote: Hi Jason Thanks for the reply. Please explain the process step by step in most easiest way, I tried the one I found on the net but with no good results. Regards, Lewatle -Original Message- From: Jason Fowler [mailto:jfow...@sbts.edumailto:jfow...@sbts.edu] Sent: 23 April 2010 03:21 PM To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. You could do something very similar to what I have explained here for the inclusion of the video tag for HTML5 pseudo streaming. http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-ds pace/ Instead of embedding the video tag, you would put in code to embed the viewer. I am in a bit of a hurry now. If you need more information, let me know and I can explain this more fully next week. Blessings, Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edumailto:jfow...@sbts.edu From: Lewatle Phaladi [lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za] Sent: Friday, April 23, 2010 4:52 AM To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] PDF viever Hi all I want to enable PDF viewer for DSpace so that a user who doesn't have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- ___ DSpace-tech mailing list DSpace-tech
Re: [Dspace-tech] PDF viever
Hi Jason Thanks for the reply. Please explain the process step by step in most easiest way, I tried the one I found on the net but with no good results. Regards, Lewatle -Original Message- From: Jason Fowler [mailto:jfow...@sbts.edu] Sent: 23 April 2010 03:21 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. You could do something very similar to what I have explained here for the inclusion of the video tag for HTML5 pseudo streaming. http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-ds pace/ Instead of embedding the video tag, you would put in code to embed the viewer. I am in a bit of a hurry now. If you need more information, let me know and I can explain this more fully next week. Blessings, Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, April 23, 2010 4:52 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] PDF viever Hi all I want to enable PDF viewer for DSpace so that a user who doesn't have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] PDF viever
Hi Jason Thanks for your explanation, I also suggest free solution as we will not afford buying modules. Please sent me the URL that I can visit and learn how to set up PDF View to my repository if you have one. Regards, Lewatle -Original Message- From: Jason Fowler [mailto:jfow...@sbts.edu] Sent: 27 April 2010 03:08 AM To: Mark Diggory Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever Mark, Not exactly. I am suggesting embedding one viewer within the item-summary-view-DIM, a viewer that shows up specifically for the PDF mime type. It would be great to do it for those other for formats, but as you point out, it's against Google's terms of service. For what it's worth, I think you guys at @mire have a much, much better solution. For institutions that cannot afford it, the DIY Google viewer solution I suggested might be helpful. I have you to thank for suggesting that approach to embedding objects, by the way. I think you mentioned before that embedding videos using the HTML5 video tag could be achieved in XMLUI using stylesheet transformations. It was a great idea. There are all sorts of mime-type specific things that can be embedded using stylesheets. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI From: mdigg...@gmail.com [mdigg...@gmail.com] On Behalf Of Mark Diggory [mdigg...@atmire.com] Sent: Friday, April 23, 2010 3:45 PM To: Jason Fowler Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever On Fri, Apr 23, 2010 at 6:20 AM, Jason Fowler jfow...@sbts.edumailto:jfow...@sbts.edu wrote: That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. I'm pondering googles terms of service here: http://docs.google.com/viewer/TOS?hl=en http://docs.google.com/viewer/TOS?hl=enSpecifically... You may not use the Service to develop a visual document search and preview application which embeds multiple uses of the Google Docs Viewer in a single webpage for DOC, DOCX, or PPTX filetypes. Sounds somewhat like what is being proposed. regards, Mark p.s. Please excuse a shameless but on topic plug... We do provide an affordable option for document streaming / Page turning on XMLUI ( http://atmire.com/docstreaming.php ). Our latest version works within DSpace, creating individual pages for the viewer and storing them internally. -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] PDF viever
Mark, Not exactly. I am suggesting embedding one viewer within the item-summary-view-DIM, a viewer that shows up specifically for the PDF mime type. It would be great to do it for those other for formats, but as you point out, it's against Google's terms of service. For what it's worth, I think you guys at @mire have a much, much better solution. For institutions that cannot afford it, the DIY Google viewer solution I suggested might be helpful. I have you to thank for suggesting that approach to embedding objects, by the way. I think you mentioned before that embedding videos using the HTML5 video tag could be achieved in XMLUI using stylesheet transformations. It was a great idea. There are all sorts of mime-type specific things that can be embedded using stylesheets. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI From: mdigg...@gmail.com [mdigg...@gmail.com] On Behalf Of Mark Diggory [mdigg...@atmire.com] Sent: Friday, April 23, 2010 3:45 PM To: Jason Fowler Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever On Fri, Apr 23, 2010 at 6:20 AM, Jason Fowler jfow...@sbts.edumailto:jfow...@sbts.edu wrote: That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. I'm pondering googles terms of service here: http://docs.google.com/viewer/TOS?hl=en http://docs.google.com/viewer/TOS?hl=enSpecifically... You may not use the Service to develop a visual document search and preview application which embeds multiple uses of the Google Docs Viewer in a single webpage for DOC, DOCX, or PPTX filetypes. Sounds somewhat like what is being proposed. regards, Mark p.s. Please excuse a shameless but on topic plug... We do provide an affordable option for document streaming / Page turning on XMLUI ( http://atmire.com/docstreaming.php ). Our latest version works within DSpace, creating individual pages for the viewer and storing them internally. -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] PDF viever
Hi all I want to enable PDF viewer for DSpace so that a user who doesn't have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] PDF viever
That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. You could do something very similar to what I have explained here for the inclusion of the video tag for HTML5 pseudo streaming. http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-dspace/ Instead of embedding the video tag, you would put in code to embed the viewer. I am in a bit of a hurry now. If you need more information, let me know and I can explain this more fully next week. Blessings, Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, April 23, 2010 4:52 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] PDF viever Hi all I want to enable PDF viewer for DSpace so that a user who doesn’t have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] PDF viever
Hi Jason I will follow your instructions and if there is anything I will also let you know. Regards, Lewatle -Original Message- From: Jason Fowler [mailto:jfow...@sbts.edu] Sent: 23 April 2010 03:21 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] PDF viever That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. You could do something very similar to what I have explained here for the inclusion of the video tag for HTML5 pseudo streaming. http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-ds pace/ Instead of embedding the video tag, you would put in code to embed the viewer. I am in a bit of a hurry now. If you need more information, let me know and I can explain this more fully next week. Blessings, Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, April 23, 2010 4:52 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] PDF viever Hi all I want to enable PDF viewer for DSpace so that a user who doesn't have PDF application installed can just view the document on the web browser without the need to install PDF viewer. I am using XMLUI as a default and I need to show those changes on XMLUI. I also discovered that setting up most functionalities for JSPUI is quite straight forward than for XMLUI. The thumbnail preview is well setup on JSPUI than on XMLUI where I can see changes happened on the web interface. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] PDF viever
On Fri, Apr 23, 2010 at 6:20 AM, Jason Fowler jfow...@sbts.edu wrote: That should be pretty easy in XMLUI using something like Google's viewer, especially if you have no collections that need to be authenticated. You should be able to simply make changes to your theme.xsl file to enable it (and perhaps messages.xml). No java coding would be necessary using this method. I'm pondering googles terms of service here: http://docs.google.com/viewer/TOS?hl=en http://docs.google.com/viewer/TOS?hl=enSpecifically... You may not use the Service to develop a visual document search and preview application which embeds multiple uses of the Google Docs Viewer in a single webpage for DOC, DOCX, or PPTX filetypes. Sounds somewhat like what is being proposed. regards, Mark p.s. Please excuse a shameless but on topic plug... We do provide an affordable option for document streaming / Page turning on XMLUI ( http://atmire.com/docstreaming.php ). Our latest version works within DSpace, creating individual pages for the viewer and storing them internally. -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech