[OPEN-ILS-GENERAL] Open-ils-general Digest, Vol 44, Issue 8

Levani EL levaniele at gmail.com
Fri Feb 12 00:15:03 EST 2010


thank

On Thu, Feb 11, 2010 at 6:26 AM, <
open-ils-general-request at list.georgialibraries.org> wrote:

> Send Open-ils-general mailing list submissions to
>        open-ils-general at list.georgialibraries.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://libmail.georgialibraries.org/mailman/listinfo/open-ils-general
> or, via email, send a message with subject or body 'help' to
>        open-ils-general-request at list.georgialibraries.org
>
> You can reach the person managing the list at
>        open-ils-general-owner at list.georgialibraries.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Open-ils-general digest..."
>
>
> Today's Topics:
>
>   1. add marc field in opac (Levani EL)
>   2. Re: add marc field in opac (Soulliere, Robert)
>   3. Re: add marc field in opac (Dan Scott)
>   4. Re: add marc field in opac (Mike Rylander)
>   5. Re: add marc field in opac (Soulliere, Robert)
>   6. Evergreen 1.6.0.1 and OpenSRF 1.2.2 release       announcement
>      (Dan Scott)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Feb 2010 02:11:27 +0400
> From: Levani EL <levaniele at gmail.com>
> Subject: [OPEN-ILS-GENERAL] add marc field in opac
> To: open-ils-general at list.georgialibraries.org
> Message-ID:
>        <854bcd01002101411l465cab64ge7149f56fa0c1296 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> this is visible marc fields in opac how add new field?
>
> Title
> Author
> ISBN
> Edition
> Publication Date
> Publisher
> Physical Description
> Format
> Abstract
> Online Resources
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20100211/9ff0698b/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Feb 2010 17:39:01 -0500
> From: "Soulliere, Robert" <robert.soulliere at mohawkcollege.ca>
> Subject: Re: [OPEN-ILS-GENERAL] add marc field in opac
> To: Evergreen Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID:
>        <CEA75392DDDF7B479A1D4D5BB73FF1D20C118541D9 at MCFE-140-EX001.mc.local
> >
> Content-Type: text/plain; charset="us-ascii"
>
> Levani,
>
> The best guidance for adding new fields is found on the Wiki here:
>
> http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:supercat_opac_example
>
> I was experimenting with this on our test server today. Here are some other
> very simple examples.
>
> Add Call Number (MARC tag 050):
> <tr>
>                <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
>                <td type='opac/slot-data+marcxml' query='datafield[tag=050]
> subfield'  class='rdetail_item'>
>                    <script type='opac/slot-format'>
>                     return dojox.data.dom.textContent(item);
>                    </script>
>                </td>
>            </tr>
>
>
> Add statement of responsibility (MARC tag 245 subfield c) - this is useful
> if you want to place statement of responsibility in a separate field from
> title.
>
> <tr>
>                <td nowrap='nowrap' class='rdetail_desc'>Statement of
> Responsibility</td>
>               <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'>
>                    <script type='opac/slot-format'>
>                    return dojox.data.dom.textContent(item);
>                    </script>
>                </td>
>            </tr>
>
>
> Regards,
> Robert
>
>
> ________________________________________
> From: open-ils-general-bounces at list.georgialibraries.org [
> open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Levani EL
> [levaniele at gmail.com]
> Sent: February 10, 2010 5:11 PM
> To: open-ils-general at list.georgialibraries.org
> Subject: [OPEN-ILS-GENERAL] add marc field in opac
>
> this is visible marc fields in opac how add new field?
>
> Title
> Author
> ISBN
> Edition
> Publication Date
> Publisher
> Physical Description
> Format
> Abstract
> Online Resources
>
>
>
> This E-mail contains privileged and confidential information intended
> only for the individual or entity named in the message.  If the reader
> of this message is not the intended recipient, or the agent responsible
> to deliver it to the intended recipient, you are hereby notified that
> any review, dissemination, distribution or copying of this communication
> is prohibited.  If this communication was received in error, please
> notify the sender by reply E-mail immediately, and delete and destroy
> the original message.
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Feb 2010 20:20:15 -0500
> From: Dan Scott <dan at coffeecode.net>
> Subject: Re: [OPEN-ILS-GENERAL] add marc field in opac
> To: Evergreen Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID: <1265851215.26090.24.camel at dan-karmic-liblap>
> Content-Type: text/plain; charset="UTF-8"
>
> On Wed, 2010-02-10 at 17:39 -0500, Soulliere, Robert wrote:
> > Levani,
> >
> > The best guidance for adding new fields is found on the Wiki here:
> >
> http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:supercat_opac_example
> >
> > I was experimenting with this on our test server today. Here are some
> other very simple examples.
> >
> > Add Call Number (MARC tag 050):
> > <tr>
> >                 <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
> >                 <td type='opac/slot-data+marcxml'
> query='datafield[tag=050] subfield'  class='rdetail_item'>
> >                     <script type='opac/slot-format'>
> >                      return dojox.data.dom.textContent(item);
> >                     </script>
> >                 </td>
> >             </tr>
> >
> >
> > Add statement of responsibility (MARC tag 245 subfield c) - this is
> useful if you want to place statement of responsibility in a separate field
> from title.
> >
> > <tr>
> >                 <td nowrap='nowrap' class='rdetail_desc'>Statement of
> Responsibility</td>
> >                <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'>
> >                     <script type='opac/slot-format'>
> >                     return dojox.data.dom.textContent(item);
> >                     </script>
> >                 </td>
> >             </tr>
>
> I'm scheduled to give a presentation to give at EG 2010 on the use of
> BibTemplate.js. To boil it down to a single example, you might want to
> try something like:
>
> <tr class='hide_me' id='tag506'>
>        <td nowrap='nowrap' class='rdetail_desc'>Usage restrictions</td>
>        <td type='opac/slot-data' query='datafield[tag=506]
> subfield[code=a]'
> class='rdetail_item'>
>                <script type='opac/slot-format'><![CDATA[
>                dojo.query('#tag506').removeClass('hide_me');
>                return '<span>' + dojox.data.dom.textContent(item) +
> '</span> ';
>                ]]></script>
>        </td>
> </tr>
>
> 1. class='hide_me' hides the row entirely; we won't unhide it unless
> there is actually some content to display
>
> 2. id='tag506' gives us a handle to use to unhide the row if we do have
> some content to display
>
> 3. inside the <script> tag, the first thing we do is unhide the row
> (because we won't hit this script unless there is something to display)
>
> 4. then we return the content. I wrap it in a span tag in case there are
> multiple instances, this pushes each instance onto its own line instead
> of concatenating all of the instances together.
>
> There you go, now you don't have to attend my session!
>
> I've thought about advocating something like the Laurentian detail page
> as a new default - you can grab a copy from
>
> http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/branches/rel_1_6_0/web/opac/skin/lul/xml/rdetail/rdetail_summary.xml- just be careful with the online resources customization that wants to do a
> live lookup of SFX resources if the item has an ISSN.
>
> For a live example, see
>
> http://laurentian.concat.ca/opac/en-CA/skin/lul/xml/rdetail.xml?r=821890&t=music&tp=keyword&l=105&d=1&hc=11189&rt=keyword
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 10 Feb 2010 20:35:46 -0500
> From: Mike Rylander <mrylander at gmail.com>
> Subject: Re: [OPEN-ILS-GENERAL] add marc field in opac
> To: Evergreen Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID:
>        <b918cf3d1002101735n6403912di9faf0b0ccee24b6d at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Feb 10, 2010 at 5:39 PM, Soulliere, Robert
> <robert.soulliere at mohawkcollege.ca> wrote:
> > Levani,
> >
> > The best guidance for adding new fields is found on the Wiki here:
> >
> http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:supercat_opac_example
> >
> > I was experimenting with this on our test server today. Here are some
> other very simple examples.
> >
> > Add Call Number (MARC tag 050):
> > <tr>
> > ? ? ? ? ? ? ? ?<td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
> > ? ? ? ? ? ? ? ?<td type='opac/slot-data+marcxml'
> query='datafield[tag=050] subfield' ?class='rdetail_item'>
> > ? ? ? ? ? ? ? ? ? ?<script type='opac/slot-format'>
> > ? ? ? ? ? ? ? ? ? ? return dojox.data.dom.textContent(item);
> > ? ? ? ? ? ? ? ? ? ?</script>
> > ? ? ? ? ? ? ? ?</td>
> > ? ? ? ? ? ?</tr>
> >
> >
> > Add statement of responsibility (MARC tag 245 subfield c) - this is
> useful if you want to place statement of responsibility in a separate field
> from title.
> >
> > <tr>
> > ? ? ? ? ? ? ? ?<td nowrap='nowrap' class='rdetail_desc'>Statement of
> Responsibility</td>
> > ? ? ? ? ? ? ? <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'>
> > ? ? ? ? ? ? ? ? ? ?<script type='opac/slot-format'>
> > ? ? ? ? ? ? ? ? ? ?return dojox.data.dom.textContent(item);
> > ? ? ? ? ? ? ? ? ? ?</script>
> > ? ? ? ? ? ? ? ?</td>
> > ? ? ? ? ? ?</tr>
> >
>
> It actually gets even simpler than this.  For the examples you show
> here you don't even need the formatter element.  Just add:
>
> <tr>
>  <td nowrap='nowrap' class='rdetail_desc'>Statement of Responsibility</td>
>  <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'> </td>
> </tr>
> <tr>
>  <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
>  <td type='opac/slot-data' query='datafield[tag=050] > subfield'
> class='rdetail_item'> </td>
> </tr>
>
> BibTemplate will supply a default formatter that simply inserts the
> full text content of the nodes your query specifies.
>
> UPDATE: I see that Dan gave an example that unhides a hidden version.
> It's a style decision on how dynamic/consistent/inconsistent/whatever
> you want the page you're drawing to be, IMO, but either way, it's easy
> to do.  :)
>
> --
> Mike Rylander
>  | VP, Research and Design
>  | Equinox Software, Inc. / The Evergreen Experts
>  | phone:  1-877-OPEN-ILS (673-6457)
>  | email:  miker at esilibrary.com
>  | web:  http://www.esilibrary.com
>
>
> >
> > Regards,
> > Robert
> >
> >
> > ________________________________________
> > From: open-ils-general-bounces at list.georgialibraries.org [
> open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Levani EL
> [levaniele at gmail.com]
> > Sent: February 10, 2010 5:11 PM
> > To: open-ils-general at list.georgialibraries.org
> > Subject: [OPEN-ILS-GENERAL] add marc field in opac
> >
> > this is visible marc fields in opac how add new field?
> >
> > Title
> > Author
> > ISBN
> > Edition
> > Publication Date
> > Publisher
> > Physical Description
> > Format
> > Abstract
> > Online Resources
> >
> >
> >
> > This E-mail contains privileged and confidential information intended
> > only for the individual or entity named in the message. ?If the reader
> > of this message is not the intended recipient, or the agent responsible
> > to deliver it to the intended recipient, you are hereby notified that
> > any review, dissemination, distribution or copying of this communication
> > is prohibited. ?If this communication was received in error, please
> > notify the sender by reply E-mail immediately, and delete and destroy
> > the original message.
> >
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 10 Feb 2010 21:18:26 -0500
> From: "Soulliere, Robert" <robert.soulliere at mohawkcollege.ca>
> Subject: Re: [OPEN-ILS-GENERAL] add marc field in opac
> To: Evergreen Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID:
>        <CEA75392DDDF7B479A1D4D5BB73FF1D20C118541DB at MCFE-140-EX001.mc.local
> >
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks Dan and Mike!
>
> I didn't initiate the question but I learned two better ways to add marc
> fields.
>
> I hope that both methods and examples get added to the "Customizing the
> OPAC" section of the Evergreen Docbook documentation. This is an incredible
> feature of Evergreen!
>
> Regards,
> Robert
> ________________________________________
> From: open-ils-general-bounces at list.georgialibraries.org [
> open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Mike
> Rylander [mrylander at gmail.com]
> Sent: February 10, 2010 8:35 PM
> To: Evergreen Discussion Group
> Subject: Re: [OPEN-ILS-GENERAL] add marc field in opac
>
> On Wed, Feb 10, 2010 at 5:39 PM, Soulliere, Robert
> <robert.soulliere at mohawkcollege.ca> wrote:
> > Levani,
> >
> > The best guidance for adding new fields is found on the Wiki here:
> >
> http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:supercat_opac_example
> >
> > I was experimenting with this on our test server today. Here are some
> other very simple examples.
> >
> > Add Call Number (MARC tag 050):
> > <tr>
> >                <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
> >                <td type='opac/slot-data+marcxml'
> query='datafield[tag=050] subfield'  class='rdetail_item'>
> >                    <script type='opac/slot-format'>
> >                     return dojox.data.dom.textContent(item);
> >                    </script>
> >                </td>
> >            </tr>
> >
> >
> > Add statement of responsibility (MARC tag 245 subfield c) - this is
> useful if you want to place statement of responsibility in a separate field
> from title.
> >
> > <tr>
> >                <td nowrap='nowrap' class='rdetail_desc'>Statement of
> Responsibility</td>
> >               <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'>
> >                    <script type='opac/slot-format'>
> >                    return dojox.data.dom.textContent(item);
> >                    </script>
> >                </td>
> >            </tr>
> >
>
> It actually gets even simpler than this.  For the examples you show
> here you don't even need the formatter element.  Just add:
>
> <tr>
>  <td nowrap='nowrap' class='rdetail_desc'>Statement of Responsibility</td>
>  <td type='opac/slot-data' query='datafield[tag=245]
> subfield[code=c]' class='rdetail_item'> </td>
> </tr>
> <tr>
>  <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
>  <td type='opac/slot-data' query='datafield[tag=050] > subfield'
> class='rdetail_item'> </td>
> </tr>
>
> BibTemplate will supply a default formatter that simply inserts the
> full text content of the nodes your query specifies.
>
> UPDATE: I see that Dan gave an example that unhides a hidden version.
> It's a style decision on how dynamic/consistent/inconsistent/whatever
> you want the page you're drawing to be, IMO, but either way, it's easy
> to do.  :)
>
> --
> Mike Rylander
>  | VP, Research and Design
>  | Equinox Software, Inc. / The Evergreen Experts
>  | phone:  1-877-OPEN-ILS (673-6457)
>  | email:  miker at esilibrary.com
>  | web:  http://www.esilibrary.com
>
>
> >
> > Regards,
> > Robert
> >
> >
> > ________________________________________
> > From: open-ils-general-bounces at list.georgialibraries.org [
> open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Levani EL
> [levaniele at gmail.com]
> > Sent: February 10, 2010 5:11 PM
> > To: open-ils-general at list.georgialibraries.org
> > Subject: [OPEN-ILS-GENERAL] add marc field in opac
> >
> > this is visible marc fields in opac how add new field?
> >
> > Title
> > Author
> > ISBN
> > Edition
> > Publication Date
> > Publisher
> > Physical Description
> > Format
> > Abstract
> > Online Resources
> >
> >
> >
> > This E-mail contains privileged and confidential information intended
> > only for the individual or entity named in the message.  If the reader
> > of this message is not the intended recipient, or the agent responsible
> > to deliver it to the intended recipient, you are hereby notified that
> > any review, dissemination, distribution or copying of this communication
> > is prohibited.  If this communication was received in error, please
> > notify the sender by reply E-mail immediately, and delete and destroy
> > the original message.
> >
>
> This E-mail contains privileged and confidential information intended
> only for the individual or entity named in the message.  If the reader
> of this message is not the intended recipient, or the agent responsible
> to deliver it to the intended recipient, you are hereby notified that
> any review, dissemination, distribution or copying of this communication
> is prohibited.  If this communication was received in error, please
> notify the sender by reply E-mail immediately, and delete and destroy
> the original message.
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 10 Feb 2010 21:26:03 -0500
> From: Dan Scott <dan at coffeecode.net>
> Subject: [OPEN-ILS-GENERAL] Evergreen 1.6.0.1 and OpenSRF 1.2.2
>        release announcement
> To: Evergreen Development Discussion List
>        <open-ils-dev at list.georgialibraries.org>,       Evergreen
> Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID: <1265855163.26090.72.camel at dan-karmic-liblap>
> Content-Type: text/plain; charset="UTF-8"
>
> The Evergreen development team is pleased to announce the immediate
> availability of OpenSRF 1.2.2 and Evergreen 1.6.0.1 from
> http://evergreen-ils.org/downloads (including the Windows staff client
> and a minimalist virtual image).
>
> Evergreen 1.6.0.1 is both a bug-fix and translation release: see
> http://evergreen-ils.org/dokuwiki/doku.php?id=feature_list_1_6_0 for an
> overview of the changes since 1.6.0.0. This release continues the
> momentum of increased community contributions of bug reports, fixes, and
> translations.
>
> OpenSRF 1.2.2 follows just one week after the quietly released OpenSRF
> 1.2.1. Both releases focus on bug fixes and enhanced portability; most
> importantly for OpenSRF, it is now compatible with current versions of
> ejabberd, process and resource handling has been improved, and the
> OpenSRF HTTP translator interface delivers better browser compatibility
> and closer compliance to the OpenSRF-over-HTTP specification.
>
> We invite you to try these releases, our best yet! And if you happen to
> find any bugs, please report them to
> https://bugs.launchpad.net/evergreen and
> https://bugs.launchpad.net/opensrf or to the Evergreen Development
> Discussion list.
>
>
>
> End of Open-ils-general Digest, Vol 44, Issue 8
> ***********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20100212/ff665086/attachment-0001.htm 


More information about the Open-ils-general mailing list