Koha-clms/Koha
Janusz Kaczmarek 36aa5caab6
Bug 36977: Google does not read sitemaps with the name sitemapNNNN.xml
We have experienced problems with Google indexing: it seems (controlled
in Google search console) that Google does not "like" sitemaps
with a name like sitemapNNNN.xml (does not read them).  Changing the name
to sitemap_NNNN.xml miraculously resolves the issue: individual pieces of
sitemap are read as they are declared in sitemapindex.xml.

Test plan:
==========
1. Have your site configured to work with Google search console
   (cf. https://support.google.com/webmasters/answer/9008080).
2. Generate sitemap with:
   misc/cronjobs/sitemap.pl --dir /var/lib/koha/<instance>/sitemap
   (create the directory if necessary)
3. Check with you browser that the sitemap is generated:
   http://<OPAC-url>/sitemapindex.xml
   Check that the individual pieces are readeable:
   http://<OPAC-url>/sitemap0001.xml
4. Go to the Google seach console > Sitemaps > Add a new sitemap
   Enter sitemapindex.xml
5. Most probably Google won't read your sitemap chunks with the
   warning: "Couldn't fetch".
6. Apply the patch. Repeat p. 2, 3, 4, with the difference of the
   chunk name:
   http://<OPAC-url>/sitemap_0001.xml
7. You should see Google reading your entire sitemap with the info:
   "Success".

Signed-off-by: Michael Skarupianski <michael.skarupianski@gmail.com>
Signed-off-by: Michał Kula <148193449+mkibp@users.noreply.github.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-10-30 14:34:52 +01:00
..
Account Bug 35959: Fix C3 merge of Koha::Account::Debit, Koha::Account::Credit 2024-07-05 15:48:05 +02:00
Acquisition Bug 37109: Don't initialise claims fields when duplicating acquisitions orders 2024-10-24 10:45:38 +02:00
App Bug 36598: (QA follow-up): tidy up code 2024-10-18 12:07:50 +02:00
ArticleRequest
…
Auth Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json 2024-06-27 11:50:06 +02:00
Authority
…
BackgroundJob Bug 37403: Wrong progress quantity in job details 2024-10-18 14:26:07 +02:00
Biblio Bug 37380: Add get_control_number() to the metadata extractor 2024-09-16 10:41:04 +02:00
Cache
…
Cash Bug 36481: (QA follow-up) Rename branch_default to library_default 2024-05-01 13:51:41 +01:00
Charges
…
Checkouts
…
Club
…
CodeList/Unimarc
…
Config
…
Course Bug 33568: Course reserves 2024-04-05 15:34:52 +02:00
Database Bug 32313: Update issues to checkouts and copies to items 2024-06-25 18:34:16 +02:00
DateTime/Format Bug 36432: Remove circular dependency from Koha::Object 2024-04-04 15:24:32 +02:00
ERM Bug 35287: (Follow-up 37389): ExtendedAttributes 2024-10-24 13:38:21 +02:00
Edifact Bug 35724: (QA follow-up) Also account for port in FTP 2024-04-19 18:31:37 +02:00
Exceptions Bug 37510: Make Koha::Object->delete throw Koha::Exception 2024-08-16 17:33:46 +02:00
Exporter Bug 31286: (QA follow-up): tidy up code 2024-03-25 09:53:24 +01:00
ExternalContent
…
Filter/MARC Bug 34481: Tidy altered code 2024-06-27 14:04:50 +02:00
Hold
…
ILL Bug 36118: Send patron object to template 2024-10-23 20:02:16 +02:00
Import Bug 37184: Special character encoding problem when importing MARC file from the Acquisitions module 2024-10-29 16:14:33 +01:00
Indexer
…
Installer Bug 35681: Add Koha::Installer::Output 2024-05-02 16:47:40 +02:00
Item Bug 33568: Display library names instead of codes for transfers 2024-04-05 15:34:56 +02:00
Library Bug 6796: Add library_hours table and set opening hours for library 2024-04-12 11:26:03 +02:00
List
…
MetadataRecord Bug 35345: Add --where option to rebuild_elasticsearch.pl 2024-04-22 12:39:26 +02:00
Middleware Bug 36560: (QA follow-up) Tidy code 2024-10-25 16:41:29 +02:00
Misc
…
Notice Bug 23295: (follow-up) Add 'NOTICE_FAILURE_SUSPENSION' as a new system restriction type 2024-10-24 10:45:39 +02:00
Number Bug 37511: Location of the currency symbol (before or *after*) the amount 2024-10-30 11:57:26 +01:00
OAI Bug 35659: (QA follow-up): Add init function tests by using Koha's OAI server 2024-10-28 14:01:32 +01:00
Object Bug 36836: (QA follow-up) Tiny fixes to terminology and capitalization 2024-10-24 13:38:23 +02:00
Objects Bug 35287: (QA follow-up): Squash 2024-10-24 13:38:22 +02:00
Old Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
Patron Bug 35508: Don't update patron attributes if new list of attributes matches list of existing attributes 2024-10-18 17:44:18 +02:00
Patrons Bug 34621: implement Patron import option to 'Renew existing patrons' 'from the current membership expiry date' 2024-04-12 14:02:41 +02:00
Plugins Bug 35536: Add RemovePlugins calls in plugin unit tests 2024-03-22 12:26:39 +01:00
Policy
…
Preservation
…
REST Bug 38204: Tidy 2024-10-30 07:47:42 +01:00
RecordProcessor
…
Result
…
SMS
…
SMTP
…
Schema Bug 37511: (QA follow-up) Add boolean hint 2024-10-30 11:57:28 +01:00
SearchEngine Bug 14007: Filter search result values to remove OpacHiddenItems values 2024-10-25 16:41:39 +02:00
Serial Bug 33568: enumchron/volinfo 2024-04-05 15:34:47 +02:00
Sitemapper Bug 36977: Google does not read sitemaps with the name sitemapNNNN.xml 2024-10-30 14:34:52 +01:00
Subscription
…
SuggestionEngine
…
Tags
…
Template/Plugin Bug 38043: Add unit tests for KohaTimes TT filter 2024-10-11 11:13:54 +02:00
Ticket Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
UI Bug 33292: Add a checkbox to refund a lost fee on return claim 2024-10-24 13:38:14 +02:00
Util Bug 36976: Warning 'Argument "" isn't numeric in numeric' in log when merging bibliographic records 2024-06-28 13:49:24 +02:00
XSLT
…
Z3950Responder Bug 36996: Add z3950Status system preference 2024-07-23 16:53:03 +01:00
pdfformat Bug 33393: tidy layout1page.pm 2024-04-19 19:54:46 +02:00
Account.pm Bug 31427: Remove a few refs to CanBookBeRenewed 2024-03-07 16:36:44 +01:00
ActionLog.pm
…
ActionLogs.pm
…
AdditionalContent.pm Bug 36875: (follow-up) Modify query in translated_content 2024-06-20 17:55:39 +02:00
AdditionalContents.pm Bug 37628: (follow-up) Remove get_opac_news_by_id 2024-08-16 17:33:51 +02:00
AdditionalContentsLocalization.pm
…
AdditionalContentsLocalizations.pm
…
AdditionalField.pm Bug 35287: REST API - Add additional fields support to ERM Licenses 2024-10-24 13:38:19 +02:00
AdditionalFieldValue.pm
…
AdditionalFieldValues.pm
…
AdditionalFields.pm
…
AdvancedEditorMacro.pm
…
AdvancedEditorMacros.pm
…
ApiKey.pm
…
ApiKeys.pm
…
ArticleRequest.pm
…
ArticleRequests.pm
…
AudioAlert.pm
…
AudioAlerts.pm
…
AuthUtils.pm
…
AuthorisedValue.pm Bug 34920: Ensure 'description' property is an empty string if 'lib' is null 2024-07-01 18:55:48 +02:00
AuthorisedValueCategories.pm
…
AuthorisedValueCategory.pm
…
AuthorisedValues.pm Bug 35579: Cache authorised value lookup by MARC field 2023-12-28 12:16:09 +01:00
Authorities.pm
…
Authority.pm Bug 29948: OPACAuthorIdentifiersAndInformation 2024-05-13 14:00:10 +02:00
BackgroundJob.pm Bug 35655: (follow-up) Fix perlcritic error 2024-09-30 13:52:21 -03:00
BackgroundJobs.pm Revert "Bug 36217: Fix background jobs page's include_last_hour filter" 2024-10-18 14:26:01 +02:00
Biblio.pm Bug 30648: Record deleted_biblionumber in holds 2024-10-29 08:46:43 +01:00
BiblioFramework.pm
…
BiblioFrameworks.pm
…
BiblioUtils.pm Bug 35345: Add --where option to rebuild_elasticsearch.pl 2024-04-22 12:39:26 +02:00
Biblioitem.pm
…
Biblioitems.pm
…
Biblios.pm
…
Booking.pm Bug 38175: Handle status in item auto-assignment for bookings 2024-10-24 18:27:26 +02:00
Bookings.pm Bug 38175: (QA follow-up) Ensure we handle cancelled in clash detection 2024-10-24 18:27:24 +02:00
Cache.pm
…
Caches.pm
…
Calendar.pm
…
Checkout.pm Bug 33292: Add logic to handle refunding a lost fee 2024-10-24 13:38:15 +02:00
Checkouts.pm
…
CirculationRule.pm
…
CirculationRules.pm Bug 34440: Add lead and trail time to circulation rules 2024-08-30 16:41:26 +02:00
Cities.pm
…
City.pm
…
ClassSortRule.pm
…
ClassSortRules.pm
…
ClassSource.pm
…
ClassSources.pm
…
ClassSplitRule.pm
…
ClassSplitRules.pm
…
Club.pm
…
Clubs.pm
…
Config.pm
…
CookieManager.pm
…
Course.pm Bug 28762: Use Koha::Course in course-details controller 2024-07-23 16:04:05 +01:00
Courses.pm
…
CoverImage.pm
…
CoverImages.pm
…
CsvProfile.pm
…
CsvProfiles.pm
…
CurbsidePickup.pm
…
CurbsidePickupIssue.pm
…
CurbsidePickupIssues.pm
…
CurbsidePickupOpeningSlot.pm
…
CurbsidePickupOpeningSlots.pm
…
CurbsidePickupPolicies.pm
…
CurbsidePickupPolicy.pm
…
CurbsidePickups.pm
…
Database.pm Bug 36367: Remove schema_stack 2024-06-14 11:17:18 +01:00
DateUtils.pm Bug 36432: Remove circular dependency from Koha::Object 2024-04-04 15:24:32 +02:00
Desk.pm Bug 36480: Add GET /libraries/:library_id/desks 2024-04-26 18:06:10 +02:00
Desks.pm
…
EDI.pm Bug 38271: (QA follow-up) Tidy code 2024-10-29 08:46:39 +01:00
Edifact.pm
…
Email.pm Bug 31627: (follow-up) Update -Id to -ID 2024-05-10 14:11:50 +02:00
Encryption.pm
…
Exception.pm
…
Exceptions.pm Bug 28869: Implement authorised_value_categories.is_integer_only 2024-05-17 10:36:23 +02:00
ExternalContent.pm
…
FrameworkPlugin.pm Bug 37146: Prevent path traversal by validating input 2024-08-01 17:26:37 +02:00
Hold.pm Bug 30648: Add new field to REST API 2024-10-29 08:46:44 +01:00
Holds.pm
…
I18N.pm Bug 35174: Do not explode if po dir does not exist 2023-11-16 08:56:36 +01:00
ImportBatch.pm
…
ImportBatchProfile.pm
…
ImportBatchProfiles.pm
…
ImportBatches.pm
…
Installer.pm Bug 37818: Remove 'XXX' from the installer code 2024-09-13 13:54:17 +02:00
Item.pm Bug 37944: Log object delete as JSON diff, implement for items 2024-10-30 11:57:25 +01:00
ItemType.pm Bug 35906: Add bookable option on itemtype 2024-10-25 15:34:40 +02:00
ItemTypes.pm
…
Items.pm Bug 35906: (QA follow-up) Refactor (slightly) to reduce complexity in Koha/Item(s).pm, catalogue/updateitem 2024-10-25 15:34:44 +02:00
KeyboardShortcut.pm
…
KeyboardShortcuts.pm
…
Libraries.pm
…
Library.pm Bug 37850: Add branchillemail to libraries public REST endpoint 2024-10-21 12:26:14 +02:00
Linktracker.pm
…
Localization.pm
…
Localizations.pm
…
Logger.pm Bug 35907: Add ability to log all custom report runs with or without query 2024-05-10 16:45:45 +02:00
Manual.pm Bug 35463: More preservation manual links 2023-12-20 15:13:45 +01:00
MarcOrder.pm Bug 35026: (QA follow-up): Fix QA tests 2024-08-19 18:59:48 +02:00
MarcOverlayRule.pm
…
MarcOverlayRules.pm
…
MarcSubfieldStructure.pm
…
MarcSubfieldStructures.pm
…
MetaSearcher.pm
…
MetadataIterator.pm
…
MetadataRecord.pm Bug 33749: Use TrimFields instead of stripWhitespaceChars 2023-11-03 12:08:06 -03:00
MoreUtils.pm
…
OAIServer.pm Bug 35659: (more QA follow-ups) 2024-10-28 14:01:29 +01:00
OAIServers.pm Bug 35659: (more QA follow-ups) 2024-10-28 14:01:29 +01:00
OAuth.pm
…
OAuthAccessToken.pm
…
OAuthAccessTokens.pm
…
Object.pm Bug 38273: Make sure same object is returned 2024-10-29 16:14:34 +01:00
Objects.pm Bug 36873: Make Koha::Objects->delete pass parameters to the underlying method 2024-07-01 18:55:43 +02:00
OverdueRule.pm
…
OverdueRules.pm
…
Patron.pm Bug 31143: Work around subtracting datetime if date_of_birth undef 2024-10-23 20:02:19 +02:00
Patrons.pm Bug 37845: Remove C4::Members::DeleteExpiredOpacRegistrations 2024-10-21 15:10:31 +02:00
Plugins.pm Bug 30897: Remove recursive parent identification loop 2024-04-11 16:53:43 +02:00
ProblemReport.pm
…
ProblemReports.pm
…
PseudonymizedTransaction.pm Bug 34611: Add pseudonymize routine to Koha::Statistics 2024-03-19 10:25:05 +01:00
PseudonymizedTransactions.pm
…
Quote.pm
…
Quotes.pm
…
Rating.pm
…
Ratings.pm
…
Recall.pm Bug 23781: SMS notices and messaging preferences for recalls 2024-07-23 16:38:08 +01:00
Recalls.pm Bug 32696: Recalls can inadvertently extend the due date 2024-08-19 17:29:54 +02:00
RecordProcessor.pm
…
RecordSource.pm Bug 37513: Add Koha::RecordSource->usage_count 2024-08-27 12:14:24 +02:00
RecordSources.pm Bug 35919: Add Koha::RecordSource(s) classes 2024-04-26 17:06:03 +02:00
Report.pm Bug 32413: Fix repeated param names for JSON report 2024-10-30 07:47:48 +01:00
Reports.pm
…
Review.pm
…
Reviews.pm
…
Schema.pm
…
Script.pm Bug 36367: Remove _new_userenv 2024-06-14 11:17:17 +01:00
SearchEngine.pm
…
SearchField.pm Bug 20388: (QA follow-up) Tidy 2024-04-16 17:59:47 +02:00
SearchFields.pm
…
SearchFilter.pm Bug 37333: Group search terms in a saved filter 2024-07-18 17:53:11 +02:00
SearchFilters.pm
…
SearchMarcMap.pm
…
SearchMarcMaps.pm
…
Serial.pm
…
Serials.pm
…
Session.pm Bug 36098: Default to 'file' if pref does not exist 2024-03-01 10:55:51 +01:00
SharedContent.pm Bug 27490: Update systempreference 'language' to 'StaffInterfaceLanguages' 2024-09-13 13:54:25 +02:00
SimpleMARC.pm Bug 36515: (QA follow-up) Tidy code 2024-08-02 19:00:05 +02:00
Sitemapper.pm
…
Statistic.pm Bug 37540: Ensure datetime is a string before enqueueing pseudonymization 2024-08-01 18:22:27 +02:00
Statistics.pm
…
StockRotationItem.pm
…
StockRotationItems.pm
…
StockRotationRota.pm
…
StockRotationRotas.pm
…
StockRotationStage.pm
…
StockRotationStages.pm
…
Subscription.pm
…
Subscriptions.pm
…
Suggestion.pm Bug 35597: Move modification logging to Koha::Suggestion 2024-06-13 14:08:33 +01:00
SuggestionEngine.pm
…
Suggestions.pm
…
Tag.pm
…
Tags.pm
…
TemplateUtils.pm
…
Ticket.pm Bug 36758: (follow-up) Fix unit tests 2024-08-12 14:01:08 +02:00
Tickets.pm
…
Token.pm Bug 36102: If CSRF check fails, try with anonymous 2024-03-01 11:00:34 +01:00
TrackedLink.pm
…
TrackedLinks.pm
…
UploadedFile.pm
…
UploadedFiles.pm
…
Uploader.pm Bug: 36818 Escape characters in file names uploaded 2024-06-20 17:55:37 +02:00
Virtualshelf.pm Bug 30955: (QA follow-up) Reduce database hits and clarify notice 2024-10-24 16:55:58 +02:00
Virtualshelfcontent.pm
…
Virtualshelfcontents.pm
…
Virtualshelfshare.pm
…
Virtualshelfshares.pm
…
Virtualshelves.pm
…
Z3950Responder.pm
…
Z3950Server.pm
…
Z3950Servers.pm
…