File renaming documentation incomplete & inconsistent
Since the upgrade to Zotero 7, I've been finding that the file renaming documentation (https://www.zotero.org/support/file_renaming) is incomplete and inconsistent, and I'm wondering if and how this could be improved? My question is not a request to try to accommodate every specific file renaming scenario one might have, but to improve the documentation of the base behaviors of the file renaming behavior.
A few examples of what I mean:
- The documentation for `firstCreator` doesn't describe the complete behavior of this variable. For example, only the first creator's last name is output, if there are two creators they're joined by ' and ', and if there are more than two creators the suffix ' et al.' is added. (This may not be the expected behavior, I'm simply describing what I would hope the documentation would include.) It's also not clear if and how this variable can be modified with various parameters.
- `year` is listed as a variable in the initial table of variables, but then isn't included in the Complete List of Fields at the bottom of the page.
- What is the complete list of `itemType` options as recognized by the file renaming process? Ostensibly it's the complete set of item types that Zotero supports, but then how are the variables named? For example, does "Audio Recording" become "audioRecording" or "audiorecording" or "audio-recording"? This documentation detail would seem to apply to other variables such as `audioFileType`, `letterType`, `mapType`, 'presentationType`, etc.
- Similar to the above, `itemType` is mentioned as a variable in the example about using conditionals, but then it isn't listed in the Complete List of Fields.
- What other conditional expressions can be used? Is there a string conditional such as `if empty`, or would this type of expression need to be done with regEx?
These are just a few of the examples I've encountered with the existing documentation being somewhat incomplete when trying to work through some specific file renaming attempts.
A few examples of what I mean:
- The documentation for `firstCreator` doesn't describe the complete behavior of this variable. For example, only the first creator's last name is output, if there are two creators they're joined by ' and ', and if there are more than two creators the suffix ' et al.' is added. (This may not be the expected behavior, I'm simply describing what I would hope the documentation would include.) It's also not clear if and how this variable can be modified with various parameters.
- `year` is listed as a variable in the initial table of variables, but then isn't included in the Complete List of Fields at the bottom of the page.
- What is the complete list of `itemType` options as recognized by the file renaming process? Ostensibly it's the complete set of item types that Zotero supports, but then how are the variables named? For example, does "Audio Recording" become "audioRecording" or "audiorecording" or "audio-recording"? This documentation detail would seem to apply to other variables such as `audioFileType`, `letterType`, `mapType`, 'presentationType`, etc.
- Similar to the above, `itemType` is mentioned as a variable in the example about using conditionals, but then it isn't listed in the Complete List of Fields.
- What other conditional expressions can be used? Is there a string conditional such as `if empty`, or would this type of expression need to be done with regEx?
These are just a few of the examples I've encountered with the existing documentation being somewhat incomplete when trying to work through some specific file renaming attempts.
There have been a few more complex templates posted on this forum that we might add to the documentation. We’re also planning to add some new features based on the feedback we’ve received on this feature so far.