Workbench
Getting Pinboard bookmarks Within A Given Date Range in Emacs
A custom pinboard.el function for getting Pinboard bookmarks within a given date range
The emacs pinboard.el package is a nice client for the Pinboard bookmark service.
It provies its own UI for browsing your bookmarks in Emacs, but in my case I wanted to see if I could use it to generate org-mode headings for bookmarks created within a certain date range.
The Pinboard API posts/all endpoint supports fromdt and todt
parameters, but pinboard.el does not (at the time of this writing)
have any functions that support them.
It was pretty easy to write one using the lower-level API functions, though:
pinboard-get-date-range() function
(defun pinboard-get-date-range (from to)
"Get the user's pinboard pins between a given date range."
(pinboard-call
(pinboard-with-params
(pinboard-api-url "posts" "all")
(cons 'fromdt from)
(cons 'todt to)) :pinboard-get-date-range))
(pinboard-get-date-range "2026-02-14T00:00:00.0" "2026-02-14T23:59:59:999")
[((href . https://github.com/killdash9/buffer-flip.el) (description . killdash9/buffer-flip.el: Flip through Emacs buffers Alt-Tab style.) (extended . ) (meta . a806f51d49f87e86708158972743c885) (hash . 096ebfa8aef22ddbd4712990c7023bb5) (time . 2026-02-14T14:16:38Z) (shared . yes) (toread . no) (tags . emacs buffer))]
Fri Feb 13 2026 19:00:00 GMT-0500 (Eastern Standard Time)