💾 Archived View for gemlog.blue › users › ml › 1599524504.gmi captured on 2022-01-08 at 15:44:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

Re: Backlinks in Gus, an Elpher Function

GUS - Gemini Universal Search

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

acdw - RE: Backlinks in GUS

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:

Documentation: Backlinks

An idea

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.

The code

;;                            ~~ 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)))))))

Footer

2020-09-07 by ML

tag: gemini

tag: emacs

tag: elpher

tag: mr

Up to post index

Previous post (Links 2020-09-07)

Next post (Noncompete)