omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
13.61k stars 880 forks source link

[FeatureRequest] search operator for article source/URL #2630

Closed kquinsland closed 1 year ago

kquinsland commented 1 year ago

My motivation for this is to create a more powerful rule set that looks like this:

if content.url.host in ['www.siteA.com', www.siteB.com', 'news.siteC.net']:
  apply_label("news")
  apply_label("tech")

But it appears that there is no way to filter by the origin URL for a particular bit of content.

Example:

Let's say that I add these three articles to my "inbox"

And then I search for some terms:

returns the article I expect:

Does not return anything:

Returns something, but is not the article I expect:


The Ask: Add a new search operator for article origin URL. For my needs, I really only care about the host and not the full URL but I can see some use cases where a user may wish to perform a search over the full url. To this end, can I suggest two search operators:

Thoughts?

jacksonh commented 1 year ago

hi @kquinsland can you try site:verge.com ?

kquinsland commented 1 year ago

hi @kquinsland can you try site:verge.com ?

Thanks @jacksonh ... That works as expected!

I do not know why I didn't bother trying that first / didn't see it as an option and just assumed it wasn't currently possible.

jacksonh commented 1 year ago

We need to update the docs I think, along with the onboarding article.