💾 Archived View for gemlog.blue › users › ml › 1599524504.gmi captured on 2023-01-29 at 05:56:56. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
The GUS search engine above contains a "backlinks" functionality, which, given a gemini page, lists the known links to that page. I found out about this from this exchange about the feature:
vee - GUS, Backlinks, and Replies in Geminispace
This does seem like it could be useful, so I wrote a short elisp function for elpher that automatically visits the GUS backlinks of the current page. The code can be found near the bottom of the post.
(To avoid any licensing issues, I explicitly put this code in the public domain using CC0)
Edit 2020-09-07: Here's a link to the GUS documentation for backlinks:
I think it would be useful if GUS supported searching for all backlinks to a certain capsule, instead of only to a specific url. As far as I can tell it doesn't have this functionality, so you have to check each page individually.
;; ~~ PUBLIC DOMAIN ~~ ;; This work is waived of all rights, including copyright, according to the CC0 ;; Public Domain Dedication. http://creativecommons.org/publicdomain/zero/1.0/ (defun elpher-go-gus-backlinks-current () (interactive) (let ((address (elpher-page-address elpher-current-page))) (when (equal (url-type address) "gemini") (elpher-go (concat "gemini://gus.guru/backlinks?" (url-domain address) (car (url-path-and-query address)))))))
2020-09-07 by ML
tag: gemini
tag: emacs
tag: elpher
tag: mr