Zotfile Rename based on Collection(s)
Hi,
On the Zotfile page, it is given that rename can be done using Collection's name. But what is the wildcard for that?
I also tried introducing user-defined wildcards in about:config, but it didn't work either.
Basically, the problem is that since "Collection Name" is not a field, I don't know what "keyword" to use in defining a user-defined keyword.
So, how to do it?
On the Zotfile page, it is given that rename can be done using Collection's name. But what is the wildcard for that?
I also tried introducing user-defined wildcards in about:config, but it didn't work either.
Basically, the problem is that since "Collection Name" is not a field, I don't know what "keyword" to use in defining a user-defined keyword.
So, how to do it?
But organizing your files in your filesystem in the same manner as your Zotero Collection should be an obvious choice for any user. I wonder why this feature is not there in the Zotfile.
Can't it be done using some "hack"?
https://forums.zotero.org/discussion/5301/19/zotfile-zotero-plugin-to-rename-move-and-attach-pdfs-send-them-to-ipad-extract-pdf-annotations/#Item_29
Currently I am using the "Extra" field for this, since there is no Category field.
I tried adding Category field by editing the zotero.jar file but it is not showing up currently. I guess I will have to look deeper into the source to achieve this.
Meanwhile could someone forward my request for adding a single-valued "Category" field in Zotero? This is a much-required field if users want to organize their files neatly in their filesystem.
"C": {
"default": {
"field": "extra",
"operations": [ {
"function": "exec",
"regex": "Category: *([^;\\n\\r\\f]+)",
"group": 1} ]
}
}
Given that Zotfile can accomplish the behavior you're looking, I don't think that it's likely for Zotero to implement a new field given that it's a very niche feature. You should avoid trying to modify the database structure in the Zotero code. Even if you get the field to display in your local Zotero client, this will break syncing with zotero.org. Frank Bennett, the creator of Multilingual Zotero, needed to use a huge number of workarounds to get additional fields to work with the MLZ client; it's not something that can be easily done.
%c is the wildcard for collection