-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I've observed the following about the way this implementation names generated sitemaps (resourcelist, changelist, etc.) when ResourceSync.execute() is invoked (for a set of 50000 resources or less):
- With strategy 0 (
resourcelist):- On first invocation, a file
resourcelist_0000.xmlis created. - Subsequent invocations modify that file and keep the same name.
- On first invocation, a file
- With strategy 1 (
new_changelist):- On first invocation, a file
changelist_0000.xmlis created. - On subsequent invocations, a file
changelist-index.xmlis created, and points to a series ofchangelist_xxxx.xmlfiles.
- On first invocation, a file
- With strategy 2 (
inc_changelist):- On first invocation, a file
changelist_0000.xmlis created. - Subsequent invocations modify that file and keep the same name.
- On first invocation, a file
I've not tested on collections with more than 50000 resources, but per the spec, I expect there'd be a resourcelist-index.xml generated that points to a number of resourcelists.
I am thinking that whenever there is only one resourcelist or changelist for a set of resources, then it should be named simply resourcelist.xml or changelist.xml, without a _0000 suffix, on the basis that a suffix like that is misleading/unnecessary when it is the only such sitemap for a set of resources.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels