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
plugin cannot find notes in Obsidian folder #18
Comments
here is the log. I am trying to find all notes where in YAML there is a valid citekey field--there are 517 notes and most of them have the citekey field in YAML. I don't have literature notes, I include source data for every note from the source. thanks! { |
what's the path to one of the MD files in |
~/obsidian/cinema-project/1. Notes/a silent nazi and a soviet film at nuremberg.md here is the entire file: --- #source/secondary Index[[1945.11.20-1946.10.06 Nuremberg Trials]] Connections[[soviet interpreters at nuremberg trials]] Note49 "Atrocities Against the Jews" is an active document of violence. In its hurried register, naked and half-naked women are seen chased through cobbled streets littered with fallen bodies. A man, bleeding from a head wound, is viciously beaten. A woman is dragged by her hair over a curb (fig. 6). The shots are skewed and |
You should read the documentation about how to configure the settings on the homepage. The default expectation is that your reading notes all begin with In order for the plugin to get the bbtcitekey from the MD file's metadata, it needs to be formatted like the example in the documentation. In your case: ---
type: "journalArticle"
author: "Douglas, Lawrence"
title: "The Shrunken Head of Buchenwald: Icons of Atrocity at Nuremberg"
publication: "Representations"
date: "1998-01-01"
citekey: douglasShrunkenHeadBuchenwald1998
---
# Lawrence Douglas, "The Shrunken Head of Buchenwald: Icons of Atrocity at Nuremberg," Representations (1998) online local
#source/secondary
... If you fix (1) the Custom File Filter setting and (2) the citekey field of the MD metadata, you should be in good shape. |
It worked, thank you! Sorry for the question--I don't understand regex very well so would not have been able to change it correctly myself in the settings. I have 45000+ Zotero items and it didn't take a long time at all to mark 351 items. I did get an error for the notes that did not have a citekey - "Unable to parse 84 of 517 notes" - could that possibly be suppressed? If you search all notes within a folder there is always bound to be several without a citation. I also got this error: "sliceObj Error: 92" Not sure what that is, but it may be useful for you. Thanks again! |
Thanks for the benchmark. I haven't tested the plugin with a database that large so it's great to know that it works ok. The 2 recommended strategies are: (1) use a file naming pattern that unique to your reading notes. The citations plugin suggests (2) use a separate folder for your reading notes. Either strategy will let this plugin differentiate reading-notes (which it should try to link to zotero items) from other MD files (which it should not try to link to zotero items). Otherwise, the plugin doesn't know which files should be associated with Zotero items and which should be ignored. (The "sliceObj Error" just means that it found MD files using the "Custom File Filter" that could not be match to a Zotero item.) |
closing but feel free to reopen if you want to describe a use-case that should be supported. |
So I linked the plugin to a folder in Obsidian "~/obsidian/cinema-project/1. Notes" but when I restart Zotero the message I get "no notes found." Is that because there is a space in the name of the folder? Thanks!
The text was updated successfully, but these errors were encountered: