Two questions:
1. How are you ensuring that your PDFs are pdf/a compliant.
2. This module inserts the cover page when the item is downloaded. I heard that 
there is another module which does this on upload... is that true?
- hugh paterson

On Nov 17, 2011, at 12:36 PM, Mark Diggory wrote:

> We should just get the code into the modules directory so that you can use it 
> more easily... can you post a ticket in jira to add this code as a new DSpace 
> module... we can then assure all the classes are there and release it so you 
> have less to have to maintain locally and the module can be easily reused.
> 
> best,
> mark
> 
> On Wed, Nov 16, 2011 at 12:53 PM, Thornton, Susan M. (LARC-B702)[LITES] 
> <[email protected]> wrote:
> Looks like you’re missing Java class “ItemUtility”.  Not sure if this is a 
> Dspace module (I don’t see it in any of my Dspace 1.7.1 source directories) 
> or one someone else created.
> 
> Hope this helps,
> 
> Sue
> 
>  
> 
>  
> 
> Sue Walker-Thornton
> 
> (757) 864-2368
> 
>  
> 
> From: Nemiz, Elvi S. [mailto:[email protected]] 
> Sent: Monday, November 14, 2011 9:16 PM
> To: SUZUKI Keiji; [email protected]
> Subject: Re: [Dspace-tech] adding a cover page to a PDF file
> 
>  
> 
> Dear Keiji,
> 
> Thank you for the time and for providing me with a revised CoverPage.java 
> that will allow us to make our resulting pdfs pdf/a compliant. However, I 
> received an error when rebuilding though. Below is my error message:
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project cover: Compilation failure: 
> Compilation
>  failure:
> [ERROR] 
> \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe
> tsu\dspace\util\CoverPage.java:[72,33] cannot find symbol
> [ERROR] symbol  : class ItemUtility
> [ERROR] location: package jp.zuki_ebetsu.dspace.util
> [ERROR] 
> \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe
> tsu\dspace\util\CoverPage.java:[590,24] cannot find symbol
> [ERROR] symbol  : class ItemUtility
> [ERROR] location: class jp.zuki_ebetsu.dspace.util.CoverPage
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> 
> [ERROR]   mvn <goals> -rf :cover
> 
> Please advise if I missed something.
> 
> Sincerely,
> Elvi
> 
> On Mon, Nov 7, 2011 at 2:12 PM, SUZUKI Keiji <[email protected]> wrote:
> 
> Hi Elvi,
> 
> 
> > My question is can we turn
> > this off on some of our collections or communities?
> 
> >  By the way, all of our
> > pdfs are pdf/a compliant, is it possible to convert the resulting pdf with
> > cover page as pdf/a compliant?
> 
> I have implemented these functions and attached the new CoverPage.java
> with this mail.
> Please replace the old one with it and rebuild dspace.
> 
> There are some notes.
> 
> 1) You have to place a font to embed pdf to
> DSPACE-SRC/dspace/modules/cover/main/src/resources
>    and set this path in "coverpage.font.embed" parameter in dspace.cfg
> 2) The config parameters are changed somewhat. I place it last in this mail.
> 3) When I open the resulting pdf with Adobe Reader, it seems as PDF/A
> but I  am not sure if the resulting
>    pdf conforms all of the PDF/A conditions.
> 
> New config parameters which are set in DSPACE/config/dspace.cfg
> 
> =============== from this ==========================
> # for Cover Pagecoverpage.header = ABC University Repository
> coverpage.footer = http://dspace.abc.educoverpage.logo   =
> ${dspace.dir}/webapps/jspui/image/header_logo.jpgcoverpage.logo2  =
> # Whether copy security parameters from original
> pdfcoverpage.copysecurity = false
> # owner password of the original pdf (Required if the original pdf has
> the owner password)
> coverpage.ownerpass =
> # Default data fonts#  Default sans font: use Helvetica unless this
> property is not specifiedcoverpage.font.sans  =
> HeiseiKakuGo-W5,UniJIS-UCS2-H#  Default serif font: use Times Roman
> unless this property is not specifiedcoverpage.font.serif =
> HeiseiMin-W3,UniJIS-UCS2-H
> # Where original pdf is PDF/A (Only PDF/A-1B is supporte)?  (Default
> is false)coverpage.pdfa = true# Set the embed font file #   Require if
> coverpage.pdfa = true
> #   Format: font path (relative path to
> DSPACE-SRC/dspace/modules/cover/src/main/resources)
> #                  + comma + encodingcoverpage.font.embed =
> fonts/ipaexg.ttf,Identity-H
> # Set the CJK fonts: format is Font Name+comma+Encoding Name
> (OPTIONLAL)#   Japanesecoverpage.font.cjk.ja =
> HeiseiMin-W3,UniJIS-UCS2-H#   Traditional
> Chinesecoverpage.font.cjk.zh_tw = MSung-Light,UniCNS-UCS2-H#
> Simplified Chinesecoverpage.font.cjk.zh_cn =
> STSong-Light,UniGB-UCS2-H#   Koreancoverpage.font.cjk.ko =
> HYSMyeongJo-Medium,HYSMyeongJo-Medium
> # Specify communities that are omitted to add cover page
> #    Format: community's handles separated with commas
> (OPTIONAL)coverpage.omit.community = 10236/5
> 
> # Specify collections that are omitted to add cover page#    Format:
> collection's handles separated with commas (OPTIONAL)
> #coverpage.omit.collection = 10236/4,10236/57
> # Specify the metadata that are displayed on the cover page
> #   Format: Tag name + colon + metadata field namecoverpage.field.1 =
> Title:dc.titlecoverpage.field.2 =
> Author(s):dc.contributor.authorcoverpage.field.3 =
> Citation:dc.identifier.citationcoverpage.field.4 = Issue
> Date:dc.date.issuedcoverpage.field.5 =
> URL:dc.identifier.uri#coverpage.field.6 = Right:dc.rights
> =============== until this ============================
> Hope this helps you.
> 
> Keiji Suzuki
> Ebetsu, Japan
> 
> 
> 
> 
> -- 
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
> 
> Access and download SEAFDEC/AQD publications for FREE
> http://repository.seafdec.org.ph
> [SEAFDEC/AQD Institutional Repository (SAIR)]
> - the official digital repository of scholarly and research information of 
> the department
>  
> Search our library collection
> http://opac.seafdec.org.ph/wx
> [SEAFDEC/AQD Library Online Public Access Catalog]
>  
> Questions? Ask a Librarian!
> Email:               [email protected] | [email protected] | 
> [email protected]
> Chat:                [Google Talk]                 seafdecaqdlibrary | 
> [email protected]
> [Yahoo Messenger]        seafdecaqdlibrary
> Call:                  63 33 5119170, 63 33 5119171 local 409 and 413
> Visit:                 Library, SEAFDEC Aquaculture Department, Tigbauan, 
> Iloilo, Philippines
>  
> Like us on Facebook      facebook.com/seafdecaqdlib 
> Follow us on Twitter:      twitter.com/seafdecaqdlib
> Follow us on Google +:   gplus.to/seafdecaqdlib
>  
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> 
> 
> 
> -- 
>  
> Mark Diggory
> 2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
> Esperantolaan 4, Heverlee 3001, Belgium
> http://www.atmire.com
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d_______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to