2008/10/15 <[EMAIL PROTECTED]>

> 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: Adding Creative Commons icon to Manakin display
>      (Walker, David)
>   2. Re: Adding Creative Commons icon to Manakin display (Mark Diggory)
>   3. DSpace 1.5.1 -- item import question (Giuseppe Vacanti)
>   4. Re: DSpace 1.5.1 -- item import question (Mr Havercamp)
>   5. Re: DSpace 1.5.1 -- item import question (Claudia J?rgen)
>   6. Re: XML 1.5.1 problem with Login to restricted bitstreams
>      (Stuart Lewis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Oct 2008 13:39:01 -0700
> From: "Walker, David" <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin
>        display
> To: Dorothea Salo <[EMAIL PROTECTED]>
> Cc: "[EMAIL PROTECTED]"
>        <[email protected]>
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Okay, if you're interested, here's a hack for this problem.  See this
> example:
>
>  http://ecommons.csun.edu/northridge_xmlui/handle/10211.2/284
>
> How it works: DSpace stores the URL of the chosen CC license in one of the
> bitstreams for the item [1].
>
> I created an external PHP script [2] that can take that license_url
> bitstream as a parameter.  The script then calls back to DSpace, extracts
> the CC URL from the bitstream, and redirects the user to the CC site.
>
> Finally, I updated Manakin to pass that license_url to the PHP script. [3]
>
> --Dave
>
> [1]
> http://ecommons.csun.edu/northridge_xmlui/bitstream/handle/10211.2/284/license_url?sequence=2
>
> [2] http://library.calstate.edu/dspace/license/source.php
>
> [3]
>
> <!-- creative commons workaround -->
>
> <xsl:template match="mets:[EMAIL PROTECTED]'CC-LICENSE' or @USE='LICENSE']">
>    <div class="license-info">
>        <p><i18n:text>xmlui.dri2xhtml.METS-1.0.license-text</i18n:text></p>
>        <ul>
>            <xsl:if test="@USE='CC-LICENSE'">
>                <li><a href="
> http://library.calstate.edu/dspace/license/?url=http://ecommons.csun.edu{mets:file/mets:[EMAIL
>  PROTECTED]:title='license_url']/@xlink:href}">Creative
> Commons</a></li>
>            </xsl:if>
>            <xsl:if test="@USE='LICENSE'">
>                <li><a
> href="{mets:file/mets:[EMAIL 
> PROTECTED]:title='license.txt']/@xlink:href}">Original
> License</a></li>
>            </xsl:if>
>        </ul>
>    </div>
> </xsl:template>
>
>
>
>
> ==================
> David Walker
> Library Web Services Manager
> California State University
> http://xerxes.calstate.edu
> ________________________________________
> From: Walker, David [EMAIL PROTECTED]
> Sent: Tuesday, October 14, 2008 10:00 AM
> To: Claudia J?rgen; Dorothea Salo
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin display
>
> I'm not totally familiar with the DSpace bug tracking/resolution process,
> so excuse my ignorance here.  But should I assume it will be awhile before
> this bug gets fixed?
>
> If so, I can think of a few work-arounds, and will get started on those.
>
> --Dave
>
> ==================
> David Walker
> Library Web Services Manager
> California State University
> http://xerxes.calstate.edu
> ________________________________________
> From: Claudia J?rgen [EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 11:59 PM
> To: Dorothea Salo
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin display
>
> Hi Dorothea,
>
> this is a known bug, see:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=2086708&group_id=19984&atid=119984
>
> Sunny greetings
>
> Claudia J?rgen
>
>
> Dorothea Salo schrieb:
> > Not to hijack the thread, but has anyone else noticed that clicking on
> > a CC license brings up a page of HTML -- displayed as plain-text? Or
> > have I done something horrible to my Manakin installation without
> > meaning to?
> >
> > Dorothea
> >
> > On Mon, Oct 13, 2008 at 1:32 PM, Walker, David <[EMAIL PROTECTED]>
> wrote:
> >> Hi all,
> >>
> >> Looks like Manakin does not include the Creative Commons license icon in
> the item display, as the older JSP pages do.
> >>
> >> Seems like a simple addition, but thought I would ask if anyone has done
> this already so that I might crib their XSLT.  Thanks!
> >>
> >> --Dave
> >>
> >> ==================
> >> David Walker
> >> Library Web Services Manager
> >> California State University
> >> http://xerxes.calstate.edu
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> DSpace-tech mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>
> >
> >
> >
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Oct 2008 15:20:28 -0700
> From: Mark Diggory <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin
>        display
> To: "Walker, David" <[EMAIL PROTECTED]>
> Cc: "[EMAIL PROTECTED]"
>        <[email protected]>,    Dorothea Salo
>        <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
>
> Wow, now thats a "Hack" ;-)
>
> This is why putting a url in a Bitstream is a bit "weak". The url
> should have always just been metadata attached to the Item (i.e.
> dc:rights).
>
> I also see now why the XMLUI used the html file as the link... it was
> less work to implement the behavior.
>
> Heres another trick that I think will work...
>
> Change the mime-type/ext on your "license" BitstreamFormat to be text/
> html and "htm" rather than text/plain. Because your only exposing the
> html version in XMLUI, this will allow it to render in the browser...
> I tested this locally and it works without changing the xlink target.
> All that would be left is to add in the the CC logo.
>
> I'll get to work on a better solution under the hood in XMLUI METS
> java classes and see if we can get those url based license fields to
> express as dim fields in the generated mets.xml for the Item, then
> they will be readily available in the XSLT transform.
>
> -Mark
>
>
> On Oct 14, 2008, at 1:39 PM, Walker, David wrote:
>
> > Okay, if you're interested, here's a hack for this problem.  See
> > this example:
> >
> >   http://ecommons.csun.edu/northridge_xmlui/handle/10211.2/284
> >
> > How it works: DSpace stores the URL of the chosen CC license in one
> > of the bitstreams for the item [1].
> >
> > I created an external PHP script [2] that can take that license_url
> > bitstream as a parameter.  The script then calls back to DSpace,
> > extracts the CC URL from the bitstream, and redirects the user to
> > the CC site.
> >
> > Finally, I updated Manakin to pass that license_url to the PHP
> > script. [3]
> >
> > --Dave
> >
> > [1] http://ecommons.csun.edu/northridge_xmlui/bitstream/handle/
> > 10211.2/284/license_url?sequence=2
> >
> > [2] http://library.calstate.edu/dspace/license/source.php
> >
> > [3]
> >
> > <!-- creative commons workaround -->
> >
> > <xsl:template match="mets:[EMAIL PROTECTED]'CC-LICENSE' or
> > @USE='LICENSE']">
> >     <div class="license-info">
> >         <p><i18n:text>xmlui.dri2xhtml.METS-1.0.license-text</
> > i18n:text></p>
> >         <ul>
> >             <xsl:if test="@USE='CC-LICENSE'">
> >                 <li><a href="http://library.calstate.edu/dspace/
> > license/?url=http://ecommons.csun.edu{mets:file/mets:FLocat
> > [EMAIL PROTECTED]:title='license_url']/@xlink:href}">Creative 
> > Commons</a></li>
> >             </xsl:if>
> >             <xsl:if test="@USE='LICENSE'">
> >                 <li><a href="{mets:file/mets:FLocat
> > [EMAIL PROTECTED]:title='license.txt']/@xlink:href}">Original 
> > License</a></li>
> >             </xsl:if>
> >         </ul>
> >     </div>
> > </xsl:template>
> >
> >
> >
> >
> > ==================
> > David Walker
> > Library Web Services Manager
> > California State University
> > http://xerxes.calstate.edu
> > ________________________________________
> > From: Walker, David [EMAIL PROTECTED]
> > Sent: Tuesday, October 14, 2008 10:00 AM
> > To: Claudia J?rgen; Dorothea Salo
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin
> > display
> >
> > I'm not totally familiar with the DSpace bug tracking/resolution
> > process, so excuse my ignorance here.  But should I assume it will
> > be awhile before this bug gets fixed?
> >
> > If so, I can think of a few work-arounds, and will get started on
> > those.
> >
> > --Dave
> >
> > ==================
> > David Walker
> > Library Web Services Manager
> > California State University
> > http://xerxes.calstate.edu
> > ________________________________________
> > From: Claudia J?rgen [EMAIL PROTECTED]
> > Sent: Monday, October 13, 2008 11:59 PM
> > To: Dorothea Salo
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin
> > display
> >
> > Hi Dorothea,
> >
> > this is a known bug, see:
> > http://sourceforge.net/tracker/index.php?
> > func=detail&aid=2086708&group_id=19984&atid=119984
> >
> > Sunny greetings
> >
> > Claudia J?rgen
> >
> >
> > Dorothea Salo schrieb:
> >> Not to hijack the thread, but has anyone else noticed that
> >> clicking on
> >> a CC license brings up a page of HTML -- displayed as plain-text? Or
> >> have I done something horrible to my Manakin installation without
> >> meaning to?
> >>
> >> Dorothea
> >>
> >> On Mon, Oct 13, 2008 at 1:32 PM, Walker, David
> >> <[EMAIL PROTECTED]> wrote:
> >>> Hi all,
> >>>
> >>> Looks like Manakin does not include the Creative Commons license
> >>> icon in the item display, as the older JSP pages do.
> >>>
> >>> Seems like a simple addition, but thought I would ask if anyone
> >>> has done this already so that I might crib their XSLT.  Thanks!
> >>>
> >>> --Dave
> >>>
> >>> ==================
> >>> David Walker
> >>> Library Web Services Manager
> >>> California State University
> >>> http://xerxes.calstate.edu
> >>>
> >>> --------------------------------------------------------------------
> >>> -----
> >>> This SF.Net email is sponsored by the Moblin Your Move
> >>> Developer's challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win
> >>> great prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in
> >>> the world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> _______________________________________________
> >>> DSpace-tech mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>>
> >>
> >>
> >>
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> ~~~~~~~~~~~~~
> Mark R. Diggory
> Home Page: http://purl.org/net/mdiggory/homepage
> Blog: http://purl.org/net/mdiggory/blog
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 15 Oct 2008 10:37:49 +0200
> From: Giuseppe Vacanti <[EMAIL PROTECTED]>
> Subject: [Dspace-tech] DSpace 1.5.1 -- item import question
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I have a problem with importing items. I think I have already RTFMed on
> the web site :).
>
> I can export an item without trouble. If I then try to re-import it,
> either unchanged or by changing some values, I only get two lines of output
>
> Destination collections:
> Owning  Collection: Technical Notes and Reports
>
> but nothing happens. I have also tried to craft my own contents and
> dublin_core.xml according to the instructions, but, again, nothing
> happens besides those two lines of output.
>
> Is there a way to run the ItemImport in a way that makes it be more
> verbose?
>
> In case it is relevant, import a single PDF via the Packager works.
> Exporting a METS package works, and reimporting it doesn't. I mention
> METS here in case it gives additional clues: normally I would like to
> import through ItemImport.
>
> Thanks. Giuseppe
>
>
>
> --
> Giuseppe Vacanti - PGP 0x7650713E
> cosine Science & Computing - cosine.nl/goto/sciencecomputing
> Niels Bohrweg 11, 2333CA Leiden, The Netherlands (KvK 28077080)
> Tel: +31-71-5284962
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 15 Oct 2008 17:26:52 +0800
> From: Mr Havercamp <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] DSpace 1.5.1 -- item import question
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Are you using the import script or calling ItemImport directly? While
> they're probably identical, import may do a couple of additional things
> that solve your problem.
>
> Also are you getting any errors or issues in any of your logs; try
> checking postgresql and tomcat logs for any issues or errors that may be
> reported.
>
> Lastly, does the eperson you are reimporting as have the necessary
> rights to make changes?
>
> Giuseppe Vacanti wrote:
> > Hi,
> >
> > I have a problem with importing items. I think I have already RTFMed on
> > the web site :).
> >
> > I can export an item without trouble. If I then try to re-import it,
> > either unchanged or by changing some values, I only get two lines of
> output
> >
> > Destination collections:
> > Owning  Collection: Technical Notes and Reports
> >
> > but nothing happens. I have also tried to craft my own contents and
> > dublin_core.xml according to the instructions, but, again, nothing
> > happens besides those two lines of output.
> >
> > Is there a way to run the ItemImport in a way that makes it be more
> verbose?
> >
> > In case it is relevant, import a single PDF via the Packager works.
> > Exporting a METS package works, and reimporting it doesn't. I mention
> > METS here in case it gives additional clues: normally I would like to
> > import through ItemImport.
> >
> > Thanks. Giuseppe
> >
> >
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 15 Oct 2008 14:21:07 +0200
> From: Claudia J?rgen  <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] DSpace 1.5.1 -- item import question
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hallo Giuseppe,
>
> could you provide some more information
> - the exact command you run
> - the directory structure
> ...
>
> Are you sure you are using the right -s option?
> -s [input-dir] should point to the directory which contains one
> directory per item to be imported.
>
> Sunny Greetings
>
> Claudia J?rgen
>
>
> Giuseppe Vacanti schrieb:
> > Hi,
> >
> > I have a problem with importing items. I think I have already RTFMed on
> > the web site :).
> >
> > I can export an item without trouble. If I then try to re-import it,
> > either unchanged or by changing some values, I only get two lines of
> output
> >
> > Destination collections:
> > Owning  Collection: Technical Notes and Reports
> >
> > but nothing happens. I have also tried to craft my own contents and
> > dublin_core.xml according to the instructions, but, again, nothing
> > happens besides those two lines of output.
> >
> > Is there a way to run the ItemImport in a way that makes it be more
> verbose?
> >
> > In case it is relevant, import a single PDF via the Packager works.
> > Exporting a METS package works, and reimporting it doesn't. I mention
> > METS here in case it gives additional clues: normally I would like to
> > import through ItemImport.
> >
> > Thanks. Giuseppe
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 15 Oct 2008 13:43:39 +0100
> From: Stuart Lewis <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] XML 1.5.1 problem with Login to restricted
>        bitstreams
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> Content-Type: text/plain;       charset="US-ASCII"
>
> Hi Leonie,
>
> > Hoping others can test this error and assist, its stopping us putting
> > 1.5.1 XML into production.
> >
> > We have bitstreams that are restricted to administrator or collection
> > admins, if a user who does not have authorisation to that bitstream logs
> > into the restricted item they continue to receive the login screen
> > instead of getting a "not authorised message" or they loop around
> > endlessly and hang the browser session.
>
> This seems to be caused by a patch that was designed to allow Shibboleth to
> work, but must have had this side effect.
>
>  - http://tinyurl.com/4mjt38
>
> Undoing that patch will fix the problem, but will then stop Shibboleth
> working.
>
> Thanks,
>
>
> Stuart
> _________________________________________________________________
>
> Gwasanaethau Gwybodaeth                      Information Services
> Prifysgol Aberystwyth                      Aberystwyth University
>
>            E-bost / E-mail: [EMAIL PROTECTED]
>                 Ffon / Tel: (01970) 622860
> _________________________________________________________________
>
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> End of DSpace-tech Digest, Vol 30, Issue 32
> *******************************************
>



-- 
Ramón Ordóñez
InterSalud, S.L.
[EMAIL PROTECTED]
http://www.intersalud.es
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to