Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-30 Thread Tony Bandy
Hello everyone, Galen, Mike,

Thanks much for the input--I appreciate it!

--Tony

Tony Bandy
to...@ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-484-1074 (Direct)
614-486-2966 x19

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Galen 
Charlton
Sent: Wednesday, July 29, 2015 4:03 PM
To: Evergreen Discussion Group open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

Hi,

On Wed, Jul 29, 2015 at 3:25 PM, Tony Bandy to...@ohionet.org wrote:
 2.  Now if I select that particular title:

 http://blanchester.cool-cat.org/eg/opac/record/930326?query=Sandford%2
 C%20John.;qtype=author;locg=111

 The results are:

 Sandford, John, 1944-   Cook, Michele.

Thanks for providing the example.  It turns out that
opac/parts/record/authors.tt2 is in fact responsible for displaying

100 1# ‡a Sandford, John, ‡d 1944 February 23-

as

Sandford, John, 1944-

or more to the point:

span class=rdetail-author-div typeof=Person property=author
resource=#schemacontrib1
  a href=/eg/opac/results?...
span property=nameSandford, John,/span
span property=birthDate1944/span-/span/a
  nbsp
/span

Specifically, as part of generating the schema.org markup, only the year 
component of 1944 February 23- is kept.  The normalization is done in the 
following lines of authors.tt2:

IF subfield.textContent.match('^\s*\d{4}');
  birthdate = subfield.textContent.replace('^\s*(\d{4}).*$', '$1'); END;

I *think* that better markup for the birth date in this case would be the 
following, but I'm hoping Dan Scott can advise further:

time property=birthDate datetime=1944-02-231994 February 23-/time

Or, to avoid putting in a full date string parser into the template, perhaps 
something like this:

time property=birthDate datetime=19441994 February 23-/time

Regards,

Galen
--
Galen Charlton
Infrastructure and Added Services Manager Equinox Software, Inc. / The Open 
Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org  
http://evergreen-ils.org


[OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Tony Bandy
Hello everyone!

I've been whacking away at this for a few days now, but can't seem to be 
finding any info.  Thought maybe if you had run into this, might be able to 
steer me in the right direction?



On our Evergreen 2.7.2 system, when we search for an author, say Ernie Pyle, 
the results list includes a full birthdate in this format:

Author--YEAR-Month-Day

However, when looking at individual title results, the format is only this:

Author--YEAR

I know more than likely it's something with the authors.tt2 file (misc tt2 file 
as well???) but not quite sure



Have you run into this before?  Any thoughts?

Thanks in advance for your help!

--Tony

Tony Bandy
to...@ohionet.orgmailto:to...@ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-484-1074 (Direct)
614-486-2966 x19



Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Galen Charlton
Hi,

On Wed, Jul 29, 2015 at 12:19 PM, Tony Bandy to...@ohionet.org wrote:
 On our Evergreen 2.7.2 system, when we search for an author, say Ernie Pyle,
 the results list includes a full birthdate in this format:

 Author--YEAR—Month—Day

 However, when looking at individual title results, the format is only this:

 Author--YEAR

Could you send links to search results and title details showing the
problem?  I tried doing an author search for Ernie Pyle in your
catalog, and am not seeing hits that include the author's full
birthdate (which aren't commonly found in name headings).

Regards,

Galen
-- 
Galen Charlton
Infrastructure and Added Services Manager
Equinox Software, Inc. / The Open Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org 
http://evergreen-ils.org


Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Hardy, Elaine
I see the same thing in the PINES database with Sandford, John and  with a 
different author -- Johnson, Michael, ‡d1937 April 22-

For retrieval list: 
http://gapines.org/eg/opac/results?query=johnson%2C%20michael;qtype=author;locg=1;facet=author|personal[Johnson%2C%20Michael%201937%20April%2022-]
The first record in the list : 
http://gapines.org/eg/opac/record/5549682?query=johnson%2C%20michael;qtype=author;locg=1;facet=author|personal[Johnson%2C%20Michael%201937%20April%2022-]


Elaine


J. Elaine Hardy
PINES  Collaborative Projects Manager
Georgia Public Library Service
1800 Century Place, Ste 150
Atlanta, Ga. 30345-4304


404.235.7128
404.235.7201, fax
eha...@georgialibraries.org
www.georgialibraries.org
www.georgialibraries.org/pines


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Tony Bandy
Sent: Wednesday, July 29, 2015 3:26 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

Hi Galen, folks,

Thanks for the update!

---

Here's a search that should show a bit better:


1.  Search our Blanchester Library for books from John Sandford

http://blanchester.cool-cat.org/eg/opac/results?fi%3Aformat=query=Sandford%2C+John.qtype=authorlocg=111

The results are mixed, but if you look at the hit for Uncaged you will 
see:

Sandford, John, 1944 February 23-


2.  Now if I select that particular title:

http://blanchester.cool-cat.org/eg/opac/record/930326?query=Sandford%2C%20John.;qtype=author;locg=111

The results are:

Sandford, John, 1944-   Cook, Michele.

---

I'm not a cataloger, so maybe the full date is a nonstandard use?  I checked 
the authors.tt2 file(s), but wasn't sure--thinking maybe it might be 
something else?  I checked the bugs list as well, but didn't see anything 
directly related...

Thanks for any ideas as you have a moment!

--Tony

Tony Bandy
to...@ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-484-1074 (Direct)
614-486-2966 x19

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Galen Charlton
Sent: Wednesday, July 29, 2015 3:19 PM
To: Evergreen Discussion Group open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

Hi,

On Wed, Jul 29, 2015 at 12:19 PM, Tony Bandy to...@ohionet.org wrote:
 On our Evergreen 2.7.2 system, when we search for an author, say Ernie
 Pyle, the results list includes a full birthdate in this format:

 Author--YEAR—Month—Day

 However, when looking at individual title results, the format is only 
 this:

 Author--YEAR

Could you send links to search results and title details showing the 
problem?  I tried doing an author search for Ernie Pyle in your catalog, 
and am not seeing hits that include the author's full birthdate (which 
aren't commonly found in name headings).

Regards,

Galen
--
Galen Charlton
Infrastructure and Added Services Manager Equinox Software, Inc. / The Open 
Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org  
http://evergreen-ils.org


Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Galen Charlton
Hi,

On Wed, Jul 29, 2015 at 3:25 PM, Tony Bandy to...@ohionet.org wrote:
 2.  Now if I select that particular title:

 http://blanchester.cool-cat.org/eg/opac/record/930326?query=Sandford%2C%20John.;qtype=author;locg=111

 The results are:

 Sandford, John, 1944-   Cook, Michele.

Thanks for providing the example.  It turns out that
opac/parts/record/authors.tt2 is in fact responsible for displaying

100 1# ‡a Sandford, John, ‡d 1944 February 23-

as

Sandford, John, 1944-

or more to the point:

span class=rdetail-author-div typeof=Person property=author
resource=#schemacontrib1
  a href=/eg/opac/results?...
span property=nameSandford, John,/span
span property=birthDate1944/span-/span/a
  nbsp
/span

Specifically, as part of generating the schema.org markup, only the
year component of 1944 February 23- is kept.  The normalization is
done in the following lines of authors.tt2:

IF subfield.textContent.match('^\s*\d{4}');
  birthdate = subfield.textContent.replace('^\s*(\d{4}).*$', '$1');
END;

I *think* that better markup for the birth date in this case would be
the following, but I'm hoping Dan Scott can advise further:

time property=birthDate datetime=1944-02-231994 February 23-/time

Or, to avoid putting in a full date string parser into the template,
perhaps something like this:

time property=birthDate datetime=19441994 February 23-/time

Regards,

Galen
-- 
Galen Charlton
Infrastructure and Added Services Manager
Equinox Software, Inc. / The Open Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org 
http://evergreen-ils.org


Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Tony Bandy
Hi Galen, folks,

Thanks for the update!  

---

Here's a search that should show a bit better:


1.  Search our Blanchester Library for books from John Sandford

http://blanchester.cool-cat.org/eg/opac/results?fi%3Aformat=query=Sandford%2C+John.qtype=authorlocg=111

The results are mixed, but if you look at the hit for Uncaged you will see:

Sandford, John, 1944 February 23-


2.  Now if I select that particular title:

http://blanchester.cool-cat.org/eg/opac/record/930326?query=Sandford%2C%20John.;qtype=author;locg=111

The results are:

Sandford, John, 1944-   Cook, Michele.  

---

I'm not a cataloger, so maybe the full date is a nonstandard use?  I checked 
the authors.tt2 file(s), but wasn't sure--thinking maybe it might be something 
else?  I checked the bugs list as well, but didn't see anything directly 
related...

Thanks for any ideas as you have a moment!

--Tony

Tony Bandy
to...@ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-484-1074 (Direct)
614-486-2966 x19

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Galen 
Charlton
Sent: Wednesday, July 29, 2015 3:19 PM
To: Evergreen Discussion Group open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

Hi,

On Wed, Jul 29, 2015 at 12:19 PM, Tony Bandy to...@ohionet.org wrote:
 On our Evergreen 2.7.2 system, when we search for an author, say Ernie 
 Pyle, the results list includes a full birthdate in this format:

 Author--YEAR—Month—Day

 However, when looking at individual title results, the format is only this:

 Author--YEAR

Could you send links to search results and title details showing the problem?  
I tried doing an author search for Ernie Pyle in your catalog, and am not 
seeing hits that include the author's full birthdate (which aren't commonly 
found in name headings).

Regards,

Galen
--
Galen Charlton
Infrastructure and Added Services Manager Equinox Software, Inc. / The Open 
Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org  
http://evergreen-ils.org


Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

2015-07-29 Thread Mike Rylander
Interestingly, the search under the author name link is retaining the full
value from the 100$d.  I suspect normalization in the tpac itself is at
work here...

[looks at code]

Yep, it looks like there is some normalization of $d around line 72
of Open-ILS/src/templates/opac/parts/record/authors.tt2.  If the field
starts with for numbers we take just those, and likewise take just the year
part of the death date.

HTH,


--
Mike Rylander
 | President
 | Equinox Software, Inc. / The Open Source Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  mi...@esilibrary.com
 | web:  http://www.esilibrary.com


On Wed, Jul 29, 2015 at 3:46 PM, Hardy, Elaine eha...@georgialibraries.org
wrote:

 I see the same thing in the PINES database with Sandford, John and  with a
 different author -- Johnson, Michael, ‡d1937 April 22-

 For retrieval list:

 http://gapines.org/eg/opac/results?query=johnson%2C%20michael;qtype=author;locg=1;facet=author|personal[Johnson%2C%20Michael%201937%20April%2022-]
 The first record in the list :

 http://gapines.org/eg/opac/record/5549682?query=johnson%2C%20michael;qtype=author;locg=1;facet=author|personal[Johnson%2C%20Michael%201937%20April%2022-]


 Elaine


 J. Elaine Hardy
 PINES  Collaborative Projects Manager
 Georgia Public Library Service
 1800 Century Place, Ste 150
 Atlanta, Ga. 30345-4304


 404.235.7128
 404.235.7201, fax
 eha...@georgialibraries.org
 www.georgialibraries.org
 www.georgialibraries.org/pines


 -Original Message-
 From: Open-ils-general
 [mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of
 Tony Bandy
 Sent: Wednesday, July 29, 2015 3:26 PM
 To: Evergreen Discussion Group
 Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

 Hi Galen, folks,

 Thanks for the update!

 ---

 Here's a search that should show a bit better:


 1.  Search our Blanchester Library for books from John Sandford


 http://blanchester.cool-cat.org/eg/opac/results?fi%3Aformat=query=Sandford%2C+John.qtype=authorlocg=111

 The results are mixed, but if you look at the hit for Uncaged you will
 see:

 Sandford, John, 1944 February 23-


 2.  Now if I select that particular title:


 http://blanchester.cool-cat.org/eg/opac/record/930326?query=Sandford%2C%20John.;qtype=author;locg=111

 The results are:

 Sandford, John, 1944-   Cook, Michele.

 ---

 I'm not a cataloger, so maybe the full date is a nonstandard use?  I
 checked
 the authors.tt2 file(s), but wasn't sure--thinking maybe it might be
 something else?  I checked the bugs list as well, but didn't see anything
 directly related...

 Thanks for any ideas as you have a moment!

 --Tony

 Tony Bandy
 to...@ohionet.org
 OHIONET
 1500 West Lane Ave.
 Columbus, OH  43221-3975
 614-484-1074 (Direct)
 614-486-2966 x19

 -Original Message-
 From: Open-ils-general
 [mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of
 Galen Charlton
 Sent: Wednesday, July 29, 2015 3:19 PM
 To: Evergreen Discussion Group open-ils-general@list.georgialibraries.org
 
 Subject: Re: [OPEN-ILS-GENERAL] Full author date on individual titles?

 Hi,

 On Wed, Jul 29, 2015 at 12:19 PM, Tony Bandy to...@ohionet.org wrote:
  On our Evergreen 2.7.2 system, when we search for an author, say Ernie
  Pyle, the results list includes a full birthdate in this format:
 
  Author--YEAR—Month—Day
 
  However, when looking at individual title results, the format is only
  this:
 
  Author--YEAR

 Could you send links to search results and title details showing the
 problem?  I tried doing an author search for Ernie Pyle in your catalog,
 and am not seeing hits that include the author's full birthdate (which
 aren't commonly found in name headings).

 Regards,

 Galen
 --
 Galen Charlton
 Infrastructure and Added Services Manager Equinox Software, Inc. / The Open
 Source Experts
 email:  g...@esilibrary.com
 direct: +1 770-709-5581
 cell:   +1 404-984-4366
 skype:  gmcharlt
 web:http://www.esilibrary.com/
 Supporting Koha and Evergreen: http://koha-community.org 
 http://evergreen-ils.org