ZotFile Renaming Bug (Date/Year)
I'm not sure how/if this type of bug report works now, since the ZotFile page refers folks to a specific thread that has now been closed, but here's some undesirable behavior I noticed...
The ZotFile renaming rules state: %y year (extracted from Date field)
I am using: {%a_}{%y - }{%t}
If my Zotero record date is stored in m/d/y format, I get: {%a_}{mmddyy - }{%t}
For example: one dated 10/15/11 renames to "Name_101511 - Blah blah blah.pdf" when I would like "Name_2011 - Blah blah blah.pdf". I really do want just the year in the file name, but there are too many to reformat the Zotero date records.
Has anyone else encountered this problem, and any ideas on how it could be fixed?
The ZotFile renaming rules state: %y year (extracted from Date field)
I am using: {%a_}{%y - }{%t}
If my Zotero record date is stored in m/d/y format, I get: {%a_}{mmddyy - }{%t}
For example: one dated 10/15/11 renames to "Name_101511 - Blah blah blah.pdf" when I would like "Name_2011 - Blah blah blah.pdf". I really do want just the year in the file name, but there are too many to reformat the Zotero date records.
Has anyone else encountered this problem, and any ideas on how it could be fixed?
(ZotFile is barely maintained/updated these days, so I wouldn't count on very active bugfixes there)
extensions.zotfile.wildcards.default
in the Config Editor to this value:{"a": "author", "A": {"field": "author", "operations":[{"function":"exec","regex": "\\w{1}"},{"function":"toUpperCase"}]}, "F": "authorLastF", "I": "authorInitials", "d": "editor", "D": {"field": "editor", "operations":[{"function":"exec","regex": "\\w{1}"},{"function":"toUpperCase"}]}, "L": "editorLastF", "l": "editorInitials", "t": "titleFormated", "h": "shortTitle", "j": "publicationTitle", "s": "journalAbbreviation", "p": "publisher", "w": {"default": "publisher", "audioRecording": "label", "bill": "legislativeBody", "case": "court", "computerProgram": "company", "film": "distributor", "journalArticle": "publicationTitle", "magazineArticle": "publicationTitle", "newspaperArticle": "publicationTitle", "patent": "issuingAuthority", "presentation": "meetingName", "radioBroadcast": "network", "report": "institution", "thesis": "university", "tvBroadcast": "network"}, "n": "patentNumber", "i": "assignee", "y": "year", "v": "volume", "e": "issue", "T": "itemType", "f": "pages", "x": "extra", "c": "collectionPaths", "g": "authorLastG", "q":"lastAuthor", "Q":"lastAuthor_lastInitial", "u":"lastAuthor_lastf", "U":"lastAuthor_initials", "b":"citekey"}
Here's a related pull request: https://github.com/jlegewie/zotfile/pull/625.
- Forgive me for another question, but I know just enough about GitHub to get myself into trouble. Does this pull request mean that future downloads of the ZotFile xpi would incorporate your fix, or would we have to edit the configuration each time going forward?
https://www.zotero.org/support/kb/profile_directory