Sitemap generator improvements

Bug #1411106 reported by Dan Scott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

* Evergreen master

The sitemap generator currently only generates "dates modified" values corresponding to the date the underlying bib record. However, it is often advantageous to be able to set a minimum date floor to reflect that, for example, the catalogue was enhanced to include more detail, even though the underlying MARC record itself might have changed. Thus, add a --date-floor option for the command line, and fall back to a reasonable default of 2010-01-01 in the absence of any value.

Also, the list of bib record IDs was limited to those contained in asset.opac_visible_copies. However, that leaves out located URIs, of which there may be many, and which search engines love to serve up. We need to adjust the search query accordingly to not leave out any records of note.

Tags: pullrequest
Revision history for this message
Dan Scott (denials) wrote :
Changed in evergreen:
milestone: none → 2.next
milestone: 2.next → 2.8-beta
tags: added: pullrequest
Revision history for this message
Dan Scott (denials) wrote :

Oh, and the branch also uses the org_unit ancestor / descendants functions to try and do a better job of getting the right list of org_units to pull from, when you specify an org_unit at the command line.

Revision history for this message
Ben Shum (bshum) wrote :

Pushed to master for 2.8 beta. Thanks Dan!

Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers