Open pcuellar opened 3 years ago
How do you envision this working? Should it be like a command that you can run which adds all the metadata of the current annotation target to the frontmatter?
That will be great. It can even be included as a property in the main command as an option (e.g.annotation-target-type-metadata
). Bringing the metadata properly formatted to YAML on calling the PDF to annotate will allow folks to better leverage dataview for example.
One edge case further down the line are PDFs or books that don't have metadata. Metadata can be requested via API for PDFs to crossref for example (https://api.crossref.org/swagger-ui/index.html) and for books through WorldCat (https://www.oclc.org/developer/develop/web-services/worldcat-search-api.en.html)
This is super exciting! Thanks for all the hard work. A couple suggestions/ideas:
Cheers!