Lightweight subscription to Gemini pages
Alex // nytpu
alex at nytpu.com
Sun Nov 22 20:54:49 GMT 2020
Hi,
I have a minor suggestion to make when parsing the feed title from
headers.
I use ASCII art as headers for all my sites, with alt text with a
plaintext header. If you tried to use a feed reader on my gemlog
(gemini://nytpu.com/gemlog/) it would consider the title to be “2020”
rather than the “yet another tech gemlog” indicated by the alt text in
my header. I suggest that a reader should get the title from *either*
the first header on the page, or the first preformatted text line. For
example, with regex you could search for "^[`#]+\s*(.*)$" (with the
capture group being the title).
A minor change, but I know there's a few other pages I've seen around
that also use a header in the same way, so I'd think it'd be helpful.
nytpu
--
Alex // nytpu
alex at nytpu.com
GPG Key: https://www.nytpu.com/files/pubkey.asc
Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B
https://useplaintext.email/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201122/2c731f57/attachment.sig>
More information about the Gemini
mailing list