elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Set Initial Query from URL Query Parameter in Elfeed Web

Open debanjum opened this issue 2 years ago • 0 comments

What

  • Previously
    • The initial query was hard-coded to @3-days-ago
  • Now
    • Set initial query to load entries in elfeed-web via url query parameter, i.e ?q=<custom-initial-query>

Illustration

  • Open <elfeed-url>/elfeed/?q=%2bimportant%20%4030-days-ago in web browser
  • This sets initial query to +important @30-days-ago
  • And loads entries tagged as "important" from >30-days-ago

Why

  • Simplify customizing initial query to use for loading entries
  • Create browser bookmarks to your standard elfeed filters. Especially useful when accessing elfeed web via phone as a web app. Reduce unnecessary typing for accessing standard filters.

debanjum avatar Dec 12 '22 22:12 debanjum