Re: [Dspace-tech] trying to find pdf file from upload.

2014-11-04 Thread Jose Blanco
I have one more question/concern. I wonder if there is a way to clear the cache for the bitstream for these sorts of items. When I upload an item as an admin I wont see the citation page, as expected, but when I logout and now I'm an anonymous user, I still don't see the citation page until I clea

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-31 Thread Adan Roman
Hi all I had studied the advantages of both libraries for a project and I concluded that basically itext is best for creation and modification of pdfs, while PDFBox highlighted in the extraction of information from these pdfs. If DSpace is intended to add the ability to convert / download do

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-30 Thread Peter Dietz
It might be worth it to take a peak at the old iText. I noticed in a StackOverflow post that it exists. I guess we could make a content disseminator interface. Subclass that to PDF-Citation-CoverPage, then have a PDFBOX implementation, and an iText (LGPL) implementation, and have spring wire it up.

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-30 Thread helix84
Hi Adán, we've already been using PDFbox in DSpace before this feature for PDF text extraction and thumbnail generation in filter-media and as a PDF packager, so this is a good choice. That said, we'll need to address the encoding issue mentioned and described in [1] - probably by upgrading when P

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-30 Thread Adan Roman Ruiz
Hello Peter. have you thought to use an old version of itext? 4.1.6 / 4.2.0 Were released under the LGPL and MPL. regards Adán Román Ruiz ARVO Consultores 2014-10-29 20:12 GMT+01:00 Peter Dietz : > Yep. > > BTW, Thanks for your interest in this feature, I've decided to rewrite the > PDF Citatio

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-29 Thread Peter Dietz
Yep. BTW, Thanks for your interest in this feature, I've decided to rewrite the PDF Citation Coverpage from iText (incompatible license with DSpace), to PDFBOX (compatible license with DSpace), and this will be a new feature of DSpace 5. Feel free to test that version. See the Pull Request: https

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-29 Thread Jose Blanco
I see my problem. I was accessing as Admin, so citation page was not showing as the code says to do. Thanks! Jose On Wed, Oct 29, 2014 at 11:48 AM, Jose Blanco wrote: > Peter, I had to work on something else, but I'm back on this. It > seems like every time I upload an item, the citation cover

Re: [Dspace-tech] trying to find pdf file from upload.

2014-10-29 Thread Jose Blanco
Peter, I had to work on something else, but I'm back on this. It seems like every time I upload an item, the citation cover page does not show unless I clear the browser cache. I tried this in firefox and chrome. Any idea? Thanks! Jose On Thu, Sep 25, 2014 at 4:07 PM, Jose Blanco wrote: > It

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-25 Thread Jose Blanco
It was a caching problem. Let me test it some more. Thank you! Jose On Thu, Sep 25, 2014 at 4:03 PM, Jose Blanco wrote: > Peter, never mind about the PDS 2. It was a sample pdf that was > there. So that was OK, but why does my new deposit not show the > citation page. I deposited it in the s

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-25 Thread Jose Blanco
Peter, never mind about the PDS 2. It was a sample pdf that was there. So that was OK, but why does my new deposit not show the citation page. I deposited it in the same collection as the other items that are showing the citation page. Cache? I'm going to clear it, and see, but it should not be

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-25 Thread Jose Blanco
Peter, It built but when I download a pdf file I get the citation page, but the actual pdf file, has just has: "PDF 2" I then deposited a new item and I don't see that citation page, but do see the pdf file just fine. Any idea? On Thu, Sep 25, 2014 at 2:09 PM, Peter Dietz wrote: > Maven > > ht

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-25 Thread Peter Dietz
Maven https://github.com/osulibraries/DSpace/blob/osukb/dspace-api/pom.xml#L262 com.itextpdf itextpdf 5.1.2 jar com.itextpdf.tool xmlworker 1.1.0 jar NB: iTextPDF i

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-25 Thread Jose Blanco
Peter, where does com.itextpdf come from in the file CitationDocument.java come from? I must have to add this to the pom.xml file. On Fri, Sep 19, 2014 at 7:20 PM, Peter Dietz wrote: > Jose, > > That feature hasn't been contributed, and is currently only in OSU's > codebase (1.8.x currently): >

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-19 Thread Peter Dietz
Jose, That feature hasn't been contributed, and is currently only in OSU's codebase (1.8.x currently): That config file: https://github.com/osulibraries/DSpace/blob/osukb/dspace/config/modules/disseminate-citation.cfg The main class that generates the PDF is: https://github.com/osulibraries/DSpa

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-19 Thread Jose Blanco
Sorry about that. I hit send before finishing the email. What I wanted to say is that I can't find: dspace/config/modules/disseminate-citation.cfg in dspace 4.2 On Fri, Sep 19, 2014 at 1:31 PM, Jose Blanco wrote: > Peter, Thank you for helping me out with this. I can't find: > > > On Fri, Se

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-19 Thread Jose Blanco
Peter, Thank you for helping me out with this. I can't find: On Fri, Sep 19, 2014 at 11:54 AM, Peter Dietz wrote: > Hi Jose, > > Perhaps a similar idea is the citation cover-page project I had worked on at > OSU. We don't modify the original PDF at all, upon download/dissemination, > it generat

Re: [Dspace-tech] trying to find pdf file from upload.

2014-09-19 Thread Peter Dietz
Hi Jose, Perhaps a similar idea is the citation cover-page project I had worked on at OSU . We don't modify the original PDF at all, upon download/dissemination, it generates a pdf that adds that extra page and serves it. Due to lice

[Dspace-tech] trying to find pdf file from upload.

2014-09-17 Thread Jose Blanco
I would like to make a change to my DSpace instance. This is what I want to do. When a user uploads a creative commons license for an item with a pdf file via the user interface, I would like to append a page to the pdf file with some bib information and a cc logo indicating the license. I am lo