Hi All

  about displaying a preview of the items in DSpace check www.jobim.org/xmlui

  this is just javascripts and xsl, in xmlui.

usually we have a pdf for download of the complete item and jpg of each page so it can be viewed faster. In some cases we use also a"media-extractor" that extracts jpgs from the pages of a pdf. if someone wants to use it I can send the classes.

  Paulo Jobim

  ----- Mensagem de [email protected] ---------
    Data: Mon, 15 Mar 2010 18:39:49 -0400
    De: Peter Dietz <[email protected]>
Endereço para Resposta (Reply-To): Peter Dietz <[email protected]>
Assunto: Re: [Dspace-tech] Dspace - preview content
      Para: konstantinos mpalasis <[email protected]>, Dspace Tech <[email protected]>

There are no published API's for doing fancy things with the Google Document
Viewer, such as display page 15.
All I know of is: ?url=

If there is a tool/filter that can convert each page of your PDF to a jpeg,
you could display those single page images as the bitstream. You wouldn't
need this displayer then, you could just show that image on the page. So
upon submission of a new pdf to dspace, it runs a script that processes the
file, and adds those images to a bundle.

What is the goal of showing single page? To let people link directly to a
page, or to have statistics of which pages are used most.



On Mon, Mar 15, 2010 at 6:06 PM, konstantinos mpalasis
<[email protected]>wrote:

Thank u Peter !

I have one more question. How can i create pagination in all items? let's
say all .pdf...in other words i don't want people to have the opportunity to
see the whole .pdf at once but to see it page by page (like this one ->
http://thesis.ekt.gr/content/index.jsp?id=0049&lang=en&p=1  , in this case
.pdf has been corvented to .jpg). Is it possible that??

Thank u again for any input,

Costas--

On Mon, Mar 15, 2010 at 5:46 PM, Peter Dietz <[email protected]> wrote:

To apply the code change, either manually make your code look like what I
write in the wiki, or use a patch I just uploaded.

In the spirit of RERO, here's the quick-and-dirty patch for jspui:
http://wiki.dspace.org/static_files/d/d4/DocumentPreviewJSPUI.patch

<http://wiki.dspace.org/static_files/d/d4/DocumentPreviewJSPUI.patch>and
from your [dspace-source] directory, you can patch it with:
patch -p0 < /path/to/DocumentPreviewJSPUI.patch

Also, if you're running this on a development machine, that is not web
routable (private network) you'll need to change the Util.js to rewrite the
url to another server that is.

then of course the full rebuild, mvn, ant, restart...

I'll check out doing the same for XMLUI, there's no reason it wouldn't
work there, save for the fact that I'll still getting my sea-legs with
xmlui. i.e. easily understanding some query that matches the area I'm
customizing, as opposed to a file that is the area I'm customizing.

On Mon, Mar 15, 2010 at 5:57 AM, konstantinos mpalasis <
[email protected]> wrote:

Hi Stuart,

that's exactly what i was looking for ! Thank you!

Can you help me with smth else?

From the page you send me ->
http://peterpants.blogspot.com/2010/02/document-preview-in-dspace-using-google.html


i went to ->
http://wiki.dspace.org/index.php/Document_Preview_with_Google_Docs_viewer


where it has the code and the instructions. My question is: how am i
"patching" ? i don't know the procedure!

Is it smth like that: patch -p0 < /path/to/ ?

sorry,about the silly question..

Costas--



On Mon, Mar 15, 2010 at 10:42 AM, <
[email protected]> wrote:

Send DSpace-tech mailing list submissions to

        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit

        https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of DSpace-tech digest..."


Today's Topics:

   1. Re: Dspace - preview content (Stuart Lewis)
   2. Re: Append bitstream to existing item (Kostas Maistrelis)
   3. Dspace help (Kumara SS)
   4. Re: Dspace help (Hilton Gibson)
   5. Re: Dspace help (Oriol Oliv? Comadira. Biblioteca UdG)


----------------------------------------------------------------------

Message: 1
Date: Mon, 15 Mar 2010 13:43:46 +1300
From: Stuart Lewis <[email protected]>

Subject: Re: [Dspace-tech] Dspace - preview content
To: Konstantinos Mpalasis <[email protected]>

Cc: "[email protected]"
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"


Hi Costas,

> I'm working @ the University of Peloponnese in Greece and recently i
build Dspace. I want in XMLUI to have "content preview" besides  the ability
of downloading the content. Is it possible that? And if it is,how can i
accomplish that?

Is this the sort of thing you are looking for?


http://peterpants.blogspot.com/2010/02/document-preview-in-dspace-using-google.html

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/




------------------------------

Message: 2
Date: Mon, 15 Mar 2010 09:21:44 +0200
From: Kostas Maistrelis <[email protected]>
Subject: Re: [Dspace-tech] Append bitstream to existing item
To: [email protected]
Message-ID: <20100315092144.0f837...@kosa>
Content-Type: text/plain; charset="us-ascii"

On Sun, 14 Mar 2010 19:11:16 -0400
Richard Rodgers <[email protected]> wrote:

Hi all,

Gary, in case the ItemUpdate tool doesn't suit you,
you could try a groovy script I've written (it updates the database,
directly).
If you are interested, I could send it so that you give it a try.

> Hi Gary:
>
> You didn't specify which version of DSpace you are using, but for the
just released 1.6 version the answer is "way, mate" using the ItemUpdate
tool (see the doc).
>
> Hope this helps,
>
> Richard R.
>
> On Mar 14, 2010, at 7:00 PM, Gary Browne wrote:
>
> > Hi all,
> >
> > I asked this question in 2007 with no replies. But I'd still like an
answer, even if it's "No way mate.". I'd like to append a bitstream to an
existing item, without removing any existing bitstreams.
> >
> > The "add" and "replace" options of the ItemImport class don't seem
to
> > cover this useful possibility. I'd like to be able to do this
programmatically if possible.
> >
> > Thanks
> > Gary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available

------------------------------

Message: 3
Date: Mon, 15 Mar 2010 13:31:59 +0530
From: Kumara SS <[email protected]>
Subject: [Dspace-tech] Dspace help
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,


          I have installed dspace-1.6.0-src-release on mac os x 10.4.

But when i go to localhost:8080/jspui or localhost:8080/dspace, i am
getting
"HTTP Status 404" error.


Apache tomcat 5.5.28 is also working fine and java 1.5 is installed.


I have installed apache maven-2.2.1 and got
target/dspace-1.6.0-build.dir
folder.

The steps i followed were:


/usr/local/dspace-1.6.0-src-release/dspace> mvn install

All were successful.



/usr/local/dspace-1.6.0-src-release/dspace/target/dspace-1.6.0-build.dir>
ant fresh_install

Build was successful


After this i am not able to understand, what to do next?


Whether i need to change dspace config file in dspace-1.6.0-build,dir or
dspace config file in dspace directory.


Please reply..


Thanks in advance


With regards

Kumara SS
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Mon, 15 Mar 2010 10:29:43 +0200
From: Hilton Gibson <[email protected]>
Subject: Re: [Dspace-tech] Dspace help
To: Kumara SS <[email protected]>

Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi Kumara

Sounds like Apache Jakarta is not redirecting to the Apache2 Tomcat55
server.
See:
http://ir.sun.ac.za/wiki/index.php/Prepare_Ubuntu#Step_6._Setup_Apache2_Tomcat_5.5_Jakarta_Connector

Cheers

hg.


On 15 March 2010 10:01, Kumara SS <[email protected]> wrote:
> Hi all,
>
>
>
> ????????? I have installed dspace-1.6.0-src-release on mac os x 10.4.
>
> But when i go to localhost:8080/jspui or localhost:8080/dspace, i am
getting
> "HTTP Status 404" error.
>
>
> Apache tomcat 5.5.28 is also working fine and java 1.5 is installed.
>
>
> I have installed apache maven-2.2.1 and got
target/dspace-1.6.0-build.dir
> folder.
>
> The steps i followed were:
>
>
> /usr/local/dspace-1.6.0-src-release/dspace> mvn install
>
> All were successful.
>
>
>
/usr/local/dspace-1.6.0-src-release/dspace/target/dspace-1.6.0-build.dir>
> ant fresh_install
>
> Build was successful
>
>
> After this i am not able to understand, what to do next?
>
>
> Whether i need to change dspace config file in dspace-1.6.0-build,dir
or
> dspace config file in dspace directory.
>
>
> Please reply..
>
>
> Thanks in advance
>
>
> With regards
>
> Kumara SS

>
>
------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



--
Systems Administrator
Library and Information Services
Stellenbosch University

http://www.sun.ac.za
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ubuntu.sun.ac.za



------------------------------

Message: 5
Date: Mon, 15 Mar 2010 09:41:50 +0100
From: "Oriol Oliv? Comadira. Biblioteca UdG"    <[email protected]>
Subject: Re: [Dspace-tech] Dspace help
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Kumara SS,

It was a not found error.
You've edited server.xml?
Else you can copy webapps dirs inside tomcat webapps dir.

Best,

Al 15/03/2010 09:01, En/na Kumara SS ha escrit:
>
> Hi all,
>
> I have installed dspace-1.6.0-src-release on mac os x 10.4.
> But when i go to localhost:8080/jspui or localhost:8080/dspace, i am
> getting "HTTP Status 404" error.
> Apache tomcat 5.5.28 is also working fine and java 1.5 is installed.
> I have installed apache maven-2.2.1 and got
> target/dspace-1.6.0-build.dir folder.
> The steps i followed were:
>
> /usr/local/dspace-1.6.0-src-release/dspace> mvn install
>
> All were successful.
>
>
/usr/local/dspace-1.6.0-src-release/dspace/target/dspace-1.6.0-build.dir>
> ant fresh_install
>
> Build was successful
> After this i am not able to understand, what to do next?
> Whether i need to change dspace config file in dspace-1.6.0-build,dir
> or dspace config file in dspace directory.
> Please reply..
> Thanks in advance
>
> With regards
>
> Kumara SS

>
>
>
------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


--
Oriol Oliv? Comadira
*Biblioteca Universitat de Girona*
/Projectes/
DUGi: Repositori Digital de la Universitat de Girona <
http://dugi.udg.edu>
DUGiDoc: Repositori Digital de Documents de la Universitat de Girona
<http://dugi-doc.udg.edu>
DUGiMedia: Repositori Digital d'?udio i V?deo de la Universitat de
Girona <http://diobma.udg.edu>
DUGiFonsEspecials: Repositori dels Fons Especials de la Biblioteca de la
Universitat de Girona <http://dugifonsespecials.udg.edu>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

------------------------------

_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


End of DSpace-tech Digest, Vol 47, Issue 40
*******************************************




--
//CB  Costas Balasis


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries




--
//CB  Costas Balasis




--
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries


----- Final da mensagem de [email protected] -----


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to