Skip to content

Hooks

A number of hooks are available to customize the behavior of Elfeed at key points without resorting to advice.

  • elfeed-new-entry-hook’ : Called each time a new entry it added to the database, allowing for automating tagging and such.
  • elfeed-new-entry-parse-hook’ : Called with each new entry and the full XML structure from which it was parsed, allowing for additional information to be drawn from the original feed XML.
  • elfeed-http-error-hook’ : Allows for special behavior when HTTP errors occur, beyond simply logging the error to the buffer named ‘elfeed-log-buffer-name’.
  • elfeed-parse-error-hook’ : Allows for special behavior when feed parsing fails, beyond logging.
  • elfeed-db-update-hook’ : Called any time the database has had a major modification.
  • elfeed-db-unload-hook’ : Called before unloading the database.
  • elfeed-update-hook’ : Called any time a feed is updated.
  • elfeed-update-init-hook’ : Called before feed updates.
  • elfeed-tag-hook’ : Called before an entry gets tagged.
  • elfeed-untag-hook’ : Called before an entry gets untagged.
  • elfeed-show-update-hook’ : Called after the show buffer has been updated.
  • elfeed-search-update-hook’ : Called after the search buffer has been updated.
  • elfeed-tree-update-hook’ : Called after the tree buffer has been updated.