Closed StrollStars closed 1 year ago
Adding to this, setting a Custom query
like label:send-to-vault
has no effect, it still fetches all new articles. Is this a bug or is something wrong with my query? It works in the Omnivore search bar.
Hey @ltroj, may I know if you have selected "advanced" filter type in the settings? We need it to be selected to make the custom query work.
Hey @StrollStars, this is currently not configurable in the plugin.
What I'm doing right now is the same as @ltroj. I add the label "sent to obsidian" to the articles in Omnivore. In the plugin, I select "advanced" Filter
type and set the Custom query
to label:"sent to obsidian"
in the settings
Hey @ltroj, may I know if you have selected "advanced" filter type in the settings? We need it to be selected to make the custom query work.
Thanks, that works!
Those settings aren't really self-explanatory though, maybe these should be labeled different. Filter: import all my articles
and Filter: import just highlights
fetches the same articles it seems? Or do I need to use the content
variable in my template to see the effects?
In the plugin, I select "advanced"
Filter
type and set theCustom query
tolabel:"sent to obsidian"
in the settings
Thanks for your help, so can it support multiple conditions?
Glad to know it works, @ltroj. Yeah, we are working on a doc to guide users on the configuration of the plugin.
Filter: import all my articles
is to import all the articles with or without highlights and Filter: import just highlights
is to import articles with highlights that are the results from the search filter: has:highlights
. These two are a bit confusing and I will rewrite the descriptions
@ltroj Thanks for your help.
@sywhb Perhaps the setting can be made easier. For example, label, status, type and other options can be provided in the drop-down box, and then followed by the content that the user wants to input, so as to combine a filter. Going a step further, it supports AND and OR clauses to join multiple combinations.
@StrollStars we support AND, OR and NOT clauses in label filters.
label:Newsletter
finds all pages that have the label Newsletterlabel:Cooking,Fitness
finds all your pages with either the Cooking or Fitness labelslabel:Newsletter label:Surfing
finds all pages with both the Newsletter and Surfing labelslabel:Coding -label:News
finds all pages with the Coding label that do not have the News labelI agree with you it's good to have a UI for such a complex feature. Probably we can add it after the functionality is stablized and we can move on to some enhancements
@sywhb I agree with you, thank you for your help, it has met my needs so far, closed.
@StrollStars we support AND, OR and NOT clauses in label filters.
Some examples:
label:Newsletter
finds all pages that have the label Newsletterlabel:Cooking,Fitness
finds all your pages with either the Cooking or Fitness labelslabel:Newsletter label:Surfing
finds all pages with both the Newsletter and Surfing labelslabel:Coding -label:News
finds all pages with the Coding label that do not have the News labelI agree with you it's good to have a UI for such a complex feature. Probably we can add it after the functionality is stablized and we can move on to some enhancements
For clarity, we should express that quotes are to be used when multiple words are used in a label and that it is case sensitive.
Recommend appending to the list of examples.
Some examples:
label:Newsletter
finds all pages that have the label Newsletterlabel:Cooking,Fitness
finds all your pages with either the Cooking or Fitness labelslabel:Newsletter label:Surfing
finds all pages with both the Newsletter and Surfing labelslabel:Coding -label:News
finds all pages with the Coding label that do not have the News labellabel:"send to obsidian"
finds all pages with the send to obsidian mutli-word label
@GonzOdin Thank you for your help.
Now I can only save or mark specific articles first, or delete the articles that I don't want to sync, and then sync.