-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish between attachments that are 'stored copy of file' and 'link to file' #184
Comments
I'm not sure what the feature request is? As far as I know, the |
I don't know the technicalities, but I found this: _File Copies and File Links In case you add a file as a copy, a copy of the selected file is saved in the “storage” subdirectory of the Zotero data directory. These file copies are then synced by Zotero if you have set up file syncing (see the Sync chapter). In case you add a file as a link, Zotero stores a link to the selected file to remember its location. Linked files are not copied, and are not synced by Zotero._ So the stored version is always available, whereas the link is to a document that probably isn't immediately accessible. I use it as a security / backup copy. |
Could you please show me one of your exports where the attachments are? The current implementation should not make any distinctions between remotely and locally stored, or if they are linked attachments. What happens when you click on one of those links? |
The actions on clicking the links in the Roam plug-in and Mdnotes are the same:
The difference is that the linked document is indicated by an icon - see this from the Roam plug-in: I don't know how @alixlahuec identifies this for ZoteroRoam but I assume it is in the API somewhere! Thanks for the work you're doing with Mdnotes. |
I'm afraid that's probably out of the scope for mdnotes and something you'd need (or I'd recommend) to tweak on your editor of choice. If that's Obsidian, I'm pretty sure you can target those links with CSS. |
Added the help wanted tag just in case someone is interested in picking this up and making a PR |
I store my attachments in pCloud (Webdav storage) which Zotero can access and retrieve.
However, I also store some items in local storage which Zotero can only find and retrieve if I am running it on that machine.
I know that it is possible to programmatically distinguish between these two types - a Roam plug-in offered it - but not how it is achieved.
One solution would be to show the link to a stored copy as now, and a link to a file that is stored locally, and so may not be available, has the same 'link' icon that Zotero uses.
The text was updated successfully, but these errors were encountered: