I’m using external images… not obsidian assets, maybe that’s the problem.
Otherwise, here is what it looks like for me:
My book index (non-capital letters in my latest version):
TABLE subtitle, ("![coverimg|100](" + cover + ")") as cover, creator, referrer, priority, purpose, status from "Books"
where file.name != "_Book Index"
Here is my book page:
creator:: Nassim Taleb
purpose:: Execution, Strategy
referrer:: CEO Summit (june 2016)
status:: To Read
subtitle:: Things That Gain from Disorder
Oi oi oi! That’s indeed quite clever. It doesn’t look very nice though! And I’d be vary of hard-coding the image size.
I’ve been trying to get ![[link to image]] work and now I’m wondering if that could work with your method as well. But I’ve tried to avoid adding links like that in YAML because of issues it has with the syntax. Thanks for sharing this though. I was following your github issue regarding this as well. This is a good workaround.
Yes, you’re right. This doesn’t look good and it’s not very ‘practical’.
But for now it’s the only way I found to use local sources.
About YAML and syntax, hmmm… I’m a newbie in all this things! I just understand the basic of html, css and no more
@mnvwvnm I’d be grateful for a little help with something similar. I’m trying to use Dataview for the first time to create an aggregated list MOC within my daily notes that renders all notes created on that day only.
I have YAML with the following in various notes:
And have tried the following in my Daily Note but am getting an error:
WHERE created = “2021-06-24”
-- PARSING FAILED --------------------------------------------------
1 | LIST
2 | FROM ""
> 3 | WHERE created = “2021-06-24”
Expected one of the following:
'(', 'null', boolean, date, duration, file link, negated field, number, string, variable
I’m not sure what I’m doing wrong – appreciate any advice & thoughts!
I’m not an expert in Dataview (far from that, a very, very newbie)…
My first observation is: why you create a field (“created”) if this data is an “Implicit Field”?
I.e., as you can read in the plugin documentation, there’re some metadata implicit to each file: name, size, created date, last modified date, etc.
In your case, if you are interested in the day that you create the notes, then you just need to query the file.cday implicit metadata and forget the frontmatter entry.
WHERE file.cday = date("2021-06-24")
If you want to define your own field for created date, then you need to have some attention with the way that the plugin reads the format for date. In that case, I think you need to do this:
WHERE created = date("2021-06-24")