How to automatically rename attached HTML files
I'm running version 7.0.1-beta.3 for Windows. The **automatic** renaming mechanism functions reliably for PDF source files, but not for HTML sources, such as on-line blog entries and newspaper articles that I use extensively in my work. In such cases I have to right-click on the associated Snapshot entry in the list and invoke the Rename File command. This feature works well, but setting it up to run automatically would be a huge improvement.
I have tried to use the hidden preference "pref. extensions.zotero.autoRenameFiles.fileTypes" to resolve the problem. Its default value on my machine is ""application/pdf,application/epub+zip,image/". I haven't been able to find any documentation about how I might be able to edit this value to meet the challenge that I have encountered. If that is what I need to do.
Surely others on this list have faced the same challenge. I would appreciate any assistance that they might be able to provide.
I have tried to use the hidden preference "pref. extensions.zotero.autoRenameFiles.fileTypes" to resolve the problem. Its default value on my machine is ""application/pdf,application/epub+zip,image/". I haven't been able to find any documentation about how I might be able to edit this value to meet the challenge that I have encountered. If that is what I need to do.
Surely others on this list have faced the same challenge. I would appreciate any assistance that they might be able to provide.
In my previous post under a similar but not exactly the same title, I wrote that " I have tried to use the hidden preference "pref. extensions.zotero.autoRenameFiles.fileTypes" .
I should have written that "I have tried to use the hidden preference "extensions.zotero.autoRenameFiles.fileTypes"
text/html
should work, but we'll add "HTML" as an option in the settings. Now that Zotero 7 supports webpage annotation, we're working on some changes to help make it possible to treat snapshots as first-class attachments like PDFs.text/html
to the end of the hidden pref, after a comma. That's a comma-separated list of content types (or content-type prefixes) to be renamed, andtext/html
is the one for snapshots.(I haven't tested this, but it should work.)
"application/pdf,application/epub+zip,image/,text/html" - without the quotes of course.
What's next?
As instructed, (I think) I've changed the value of the "extensions.zotero.autoRenameFiles.fileTypes" hidden preference to "application/pdf,application/epub+zip,text/html", without the quotes of course.
I would really appreciate your assistance in resolving this glitch.