Omnivore + Obsidian

Recently I've been finding the combination of obsidian & the omnivore plugin to be quite a useful way of maintaining a database of info from articles (etc)!

Once you've got the plugin installed in your vault (you can also find it in Obsidian's “Community plugins” browser), you can edit the Article Template as you see fit.

I'm sure there are smoother ways of setting this up, but my template currently looks like this:

#Omnivore 
# {{{title}}}

[Read on Omnivore]({{{omnivoreUrl}}})
url:: [link]({{{originalUrl}}})

{{#highlights.length}}
<!--
## Highlights

{{#highlights}}
- hl:: >{{{text}}} {{#note}}^[*{{{note}}}*]{{/note}}
 {{#labels}} #{{name}} {{/labels}} 

{{/highlights}}
-->
{{/highlights.length}}

---
{{{content}}}

I have found that it works great with the dataview plugin. I make a new markdown file to serve as an index using this code block:

```dataview
table without id
	list(file.name, url) as "article", list(date_published, author, hl) as "info & excerpts"
from #Omnivore 
where date_published 
sort date_published desc, date_saved desc
```

This creates a table with a list of the articles sorted in reverse chronological order (ie. the most recent one is at the top), and includes any excerpts which you have highlighted in Omnivore.

It ends up looking like this:

I also edited the Article Template above so that any annotations I add to a highlight can be displayed as a footnote beneath the excerpt, like this:

Some of the articles you save will inevitably not have properly formatted date_published info — those are currently excluded from the above code block. I put another code block beneath that one which looks like this:

```dataview
table without id
	list(file.name, url) as "article", list(date_published, author, hl) as "info & excerpts"
from #Omnivore 
where date_published = null
sort date_published desc, date_saved desc
```

Omnivore also has an “edit info” option for each article saved, so if you'd like to move an article without date_published info into its proper spot in the table which is sorted by date, you can open it in a browser and edit the article's date info. (This date-editing option currently appears to only be available in a web browser, not on the mobile app.)

You can also make more specialized lists of this sort by using Omnivore's “tags” feature editing the line so it reads from #Omnivore and #[NewTag] – I have also found that Omnivore supports the use of nested tags, which can help narrow or broaden the specificity of various index tables :)


P.S. – if you want quick & easy access to the markdown articles via these index files, just remove the snippet of text which says without id from the code block. That will create an extra column which is a direct link to the markdown file, like this: