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 <[email protected]> wrote: > 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 <[email protected]> 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 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 because I just went to it after the >> deposit. >> >> On Thu, Sep 25, 2014 at 3:47 PM, Jose Blanco <[email protected]> wrote: >>> 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 <[email protected]> wrote: >>>> Maven >>>> >>>> https://github.com/osulibraries/DSpace/blob/osukb/dspace-api/pom.xml#L262 >>>> <dependency> >>>> <groupId>com.itextpdf</groupId> >>>> <artifactId>itextpdf</artifactId> >>>> <version>5.1.2</version> >>>> <type>jar</type> >>>> </dependency> >>>> <dependency> >>>> <groupId>com.itextpdf.tool</groupId> >>>> <artifactId>xmlworker</artifactId> >>>> <version>1.1.0</version> >>>> <type>jar</type> >>>> </dependency> >>>> >>>> >>>> NB: iTextPDF is licensed under the AGPL >>>> >>>> Peter Dietz >>>> >>>> On Thu, Sep 25, 2014 at 1:37 PM, Jose Blanco <[email protected]> wrote: >>>>> >>>>> 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 <[email protected]> wrote: >>>>> > 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/DSpace/blob/osukb/dspace-api/src/main/java/org/dspace/disseminate/CitationDocument.java >>>>> > >>>>> > And it's wired in to xmlui bitstream downloads at: >>>>> > >>>>> > https://github.com/osulibraries/DSpace/blob/osukb/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/BitstreamReader.java >>>>> > >>>>> > Andrea Schweer had another citation PDF solution, using curation task. >>>>> > >>>>> > On Sep 19, 2014 1:32 PM, "Jose Blanco" <[email protected]> wrote: >>>>> >> >>>>> >> 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 <[email protected]> wrote: >>>>> >> > Peter, Thank you for helping me out with this. I can't find: >>>>> >> > >>>>> >> > >>>>> >> > On Fri, Sep 19, 2014 at 11:54 AM, Peter Dietz <[email protected]> >>>>> >> > 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 generates a pdf that adds that extra page and serves it. Due to >>>>> >> >> licensing, we'll need to look at java libraries to help accomplish >>>>> >> >> this. The >>>>> >> >> implementation used iTextPDF, which is AGPL (incompatible with >>>>> >> >> DSpace), >>>>> >> >> so >>>>> >> >> the search continues. I'm leaning towards Apache PDFBox. >>>>> >> >> >>>>> >> >> You probably don't NEED to store the CC license info into the PDF >>>>> >> >> itself. >>>>> >> >> i.e. What happens if someone edits the Item, and chooses another >>>>> >> >> license in >>>>> >> >> the future, split apart the pdf and change the last page? No thanks. >>>>> >> >> Just >>>>> >> >> display the PDF to the user with all the info you need. Plus, you >>>>> >> >> already >>>>> >> >> have all the info you need at that point (once its in archive). >>>>> >> >> >>>>> >> >> ________________ >>>>> >> >> Peter Dietz >>>>> >> >> Longsight >>>>> >> >> www.longsight.com >>>>> >> >> [email protected] >>>>> >> >> p: 740-599-5005 x809 >>>>> >> >> >>>>> >> >> On Wed, Sep 17, 2014 at 3:32 PM, Jose Blanco <[email protected]> >>>>> >> >> wrote: >>>>> >> >>> >>>>> >> >>> 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 looking for the code that actually puts the pdf file in the >>>>> >> >>> asset >>>>> >> >>> store. I see that UploadStep.java uploads the file, but I can't >>>>> >> >>> append the cc license yet because the user has not chosen it at >>>>> >> >>> this >>>>> >> >>> point, so I need the code that takes the file and stores it in the >>>>> >> >>> assetstore, so I can append then. >>>>> >> >>> >>>>> >> >>> Many thanks! >>>>> >> >>> Jose >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> ------------------------------------------------------------------------------ >>>>> >> >>> Want excitement? >>>>> >> >>> Manually upgrade your production database. >>>>> >> >>> When you want reliability, choose Perforce >>>>> >> >>> Perforce version control. Predictably reliable. >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >>>>> >> >>> _______________________________________________ >>>>> >> >>> DSpace-tech mailing list >>>>> >> >>> [email protected] >>>>> >> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>> >> >>> List Etiquette: >>>>> >> >>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>>>> >> >> >>>>> >> >> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> DSpace-tech mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>> List Etiquette: >>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>>> >>>> ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

