RSRSSS https://envs.net/~lucidiot/rsrsss/feed.xml Really Simple Really Simple Syndication Syndication — An RSS feed about RSS feeds en Creative Commons BY-SA 4.0 International, ~lucidiot lucidiot@envs.net (lucidiot) lucidiot@envs.net (lucidiot) Vim 8.1 https://www.rssboard.org/rss-specification 10080 https://creativecommons.org/licenses/by-sa/4.0/ lucidiot lucidiot Creative Commons BY-SA 4.0 International, ~lucidiot application/rss+xml en weekly 1 1973-01-01T12:00+01:00 https://envs.net/~lucidiot/rsrsss/ Animated glitchy RSS logo https://envs.net/~lucidiot/rsrsss/img/image.gif RSRSSS logo 144 144 RSRSSS Tue, 15 Dec 2020 07:40:36 +0000 RSRSSS Meta Feed https://envs.net/~lucidiot/rsrsss/ Nothing better to start off an RSS feed about RSS feeds than to make itself its first item. Who needs HTML anyway? Wed, 16 Dec 2020 07:40:22 +0000 XSLT Meta XSL I added an XSLT stylesheet to this RSS feed! This means that when you open this feed in a web browser that does not support subscribing to RSS feeds, you will instead get a nice looking page without me ever writing actual raw HTML. In older or less common web browsers that still support RSS subscriptions (as every good web browser should), such as Pale Moon, you will still get the default page that asks you if you want to subscribe.

Some of my friends had mentioned adding RSS to their static site generators was hard; how about turning your index page into the RSS feed, and letting browsers generate the HTML for you?

]]>
Regular Flolloping Fri, 1 Jan 2021 11:04:02 +0000 regularflolloping Feed https://regularflolloping.com/rss.xml A blog from a friend on the fediverse with a rather low post frequency, but that often presents the issues of technology, of capitalism, or just of having a life using unusual approaches, often full of metaphors. javapool updates Sat, 9 Jan 2021 17:02:51 +0000 javapool Feed http://tilde.town/~m455/javapool.rss a town wiki page if you want to learn about the lore. ]]> Things of Interest Mon, 18 Jan 2021 17:15:11 +0000 qntm Feed https://qntm.org/rss.php I think I found this blog through tilde.news or lobste.rs, but I couldn't really find the source. I can't find out much about the blog's creator, other than them being a prominent SCP writer.

This feed indeed has some interesting things, related to SCP, sci-fi (especially time traveling), or programming. I bookmarked the Perl introduction, if I ever want to learn Perl and scare my fellow Python developers at work.

]]>
Replacing Yahoo with TinyTinyRSS in Pale Moon Sat, 23 Jan 2021 21:11:31 +0000 palemoon-tinytinyrss Tip I have been trying to avoid using Firefox and prefer Pale Moon as much as I can, in preparation for the rather pessimistic outcomes I see with the current management at Mozilla. It works pretty well for most of my uses, although I sometimes have to fallback to Firefox when I need to use websites that rely heavily on JS and do not use compilator options that would enhance compatibility, like Imgur and GitHub. Using Pale Moon on a 11+ years old ThinkPad X201 Tablet also really shows how resource hungry the Web is.

Some of my favorite things with Pale Moon include turning it into Netscape, sync support, and built-in RSS preview and subscription support via Live Bookmarks. I however have an issue with the RSS preview: it allows you to subscribe not only via Live Feeds but also with other desktop applications that you might have installed, such as Thunderbird, or Yahoo. My issue is that I wanted to add a button to quickly subscribe on envs.net's TinyTinyRSS instance, and after various attempts I could not add it in the user interface.

Here comes the trusty about:config to the rescue! Looking up yahoo in the configuration values pointed me to two keys in the configuration:

browser.contentHandlers.types.0.title
Initially set to My Yahoo!, I changed it to TinyTinyRSS.
browser.contentHandlers.types.0.uri
Initially set to https://add.my.yahoo.com/rss?url=%s, I changed it to https://rss.envs.net/public.php?op=subscribe&feed_url=%s. I found this URL by looking at the bookmarklets configuration in TinyTinyRSS and reading the short JS code that redirects you to TinyTinyRSS.

I initially tried to add a button next to the My Yahoo! one by creating two new keys, .types.1.title and .types.1.uri, but that failed. I did not yet look into the Pale Moon source code to see why this could have failed.

With this change, instead of Yahoo, I can quickly subscribe to anyone's RSS feeds faster than ever. This will definitely not help my backlog of 2600+ articles…

]]>
disable-output-escaping Sat, 23 Jan 2021 21:40:04 +0000 d-o-e Meta XSL While writing the previous post about TinyTinyRSS in Pale Moon, I tried to fix an issue I still had with my XSLT: To make HTML tags in <description> blocks work, I had to break an important part of the RSS specification and add tags directly without escaping them. XSLT stylesheets would decode entities or CDATA blocks, and do not provide a function to selectively re-parse XML tags, so I felt I was stuck. I then found out that this bit of code could get me to output the content of a description tag without getting HTML entities, so getting raw HTML as I want it without causing bugs with Pale Moon's RSS preview or bad RSS validator warnings:

<xsl:value-of select="description" disable-output-escaping="yes" />

disable-output-escaping is optional according to the W3C specification since version 1. libxslt, Chromium and Internet Explorer do support it, but Firefox chose not to, and a Bugzilla ticket for it will celebrate its 20th birthday this year. They do say themselves that this causes issues for RSS support, so I chose to just not care about it. If you are a Firefox user and are seeing raw, unparsed HTML tags in there, I can only suggest using another browser, or just subscribing to this feed and reading this in its home, a RSS aggregator.

]]>
Shameless Self Promotion Thu, 4 Feb 2021 19:57:11 +0000 insom Feed https://www.insom.me.uk/feed.xml A blog from a kind friend of mine that has been running for nearly 18 years, mostly covering electronics and software along with books and personal things. I don't know much about electronics but it is fascinating for me to see things being done with that anyway. OPML now available Thu, 4 Feb 2021 22:00:11 +0000 rsrsss-opml Meta OPML https://envs.net/~lucidiot/rsrsss/opml/feeds.opml I added yet another XSLT stylesheet and there is now an OPML subscriptions file available if you are feeling lazy and want to add all the feeds I talk about here. It is built by hand using a Makefile—I need to remember to run it on every new feed…

]]>
sandcats Sat, 13 Feb 2021 20:57:58 +0000 sandcats Feed https://xfnw.tilde.institute/sandcats/feed.rss An RSS feed from a tilde friend that I randomly stumbled upon a few weeks ago, probably on IRC or Mastodon. If you feel like you need some cute sandcat breaks in the middle of your tons of blogs in your feed reader, well there you have it! Directory of directories of directories Sat, 13 Feb 2021 21:37:36 +0000 dirdirdir OPML https://envs.net/~lucidiot/rsrsss/opml/dirdirdir.opml link outline type which you will probably not be able to use unless you have an outline editor. ]]> BBC Weather Fri, 19 Feb 2021 08:15:59 +0000 bbc-weather Feed While I was looking for unusual RSS feeds, I stumbled upon a way to get weather RSS feeds from the BBC Weather service. If you open the page for a location, you will get a URL in this format:

https://www.bbc.com/weather/2644080

Take this integer suffix, which is the ID of the location, and put it in one of these two URLs to get some RSS feeds:

This procedure is documented exactly like so on the BBC help pages!

]]>
fridaypostcard Sat, 27 Feb 2021 12:13:52 +0000 fridaypostcard Feed https://tilde.town/~lucidiot/fridaypostcard.xml #fridaypostcard tradition on tilde.town's IRC channel, where every Friday you can post a link to an image with this tag and a cron job picks it up. This feed does not keep track of any history at all and is cleared on every Friday. Despite my attempts, most of the images in this feed cannot be displayed on a PSP. Most image links use Imgur, which requires HTTPS, and the PSP's RSS reader does not support HTTPS at all. ]]> WordPress feeds Wed, 17 Mar 2021 11:54:11 +0000 wordpress Tip https://wordpress.org/support/article/wordpress-feeds/ WordPress sites natively have support for RSS 1.0, RSS 2.0 and Atom feeds, and they have some docs to help you find them. Even if the website does not advertise them, you can try adding some URL parameters or changing some paths:

Feed type URL parameters URL rewriting
All posts /?feed=rss2 /feed/rss2/
All comments /?feed=comments-rss2 /comments/feed/rss2/
Comments on a post /?p=42&feed=rss2 /[post name]/feed/rss2/
In categories /?cat=1,2,3&feed=rss2 /category/cat1,cat2,cat3/feed/rss2/
In tags /?tag=tag1,tag2,tag3&feed=rss2 /tag/tag1,tag2,tag3/feed/rss2/
In all categories /?cat=1+2+3&feed=rss2 /category/cat1+cat2+cat3/feed/rss2/
In tags /?tag=tag1+tag2+tag3&feed=rss2 /tag/tag1+tag2+tag3/feed/rss2/
By author Undocumented /author/[name]/feed/rss2/
Search results ?s=[query]&feed=rss2

Replace rss2 with atom for an Atom feed, and with rdf for an RSS 1.0 feed.

I added a distinction between RSS 1.0 and RSS 2.0 in ITSB and used it to provide more official feeds from the Antigua and Barbuda Department of Marine Services and Merchant Shipping Inspection and Investigation Division and the mongolian Air Accidents Investigation Bureau.

]]>
Replying to other people in RSS feeds Thu, 25 Mar 2021 22:09:27 +0100 mod_annotation Tip http://web.archive.org/web/20090129072752/http://web.resource.org/rss/1.0/modules/annotation/ On Project Gemini, a protocol in-between HTTP and Gopher, a new community has developed and a lot of original content is being published, relative to Gopher at least. The project sparked renewed interest in those almost-text-only protocols, sometimes offered as alternatives to the web.

Most people just make blogs on there, called gemlogs. Those gemlogs are frequently practicing a habit that has been disappearing from blogs faster than the blogs themselves disappeared in favor of social media: posts that reply to other people's posts.

I like email as a discussion method because it works like letters, just with some faster delivery and cheaper postage cost; no typing notifications and no expectations of a very fast reply like on instant messaging platforms, so you have less anxiety and more time to write out your thoughts. the UI of most email clients encourage you to write more, to not just send one line; the text length limit probably exists due to technical limitations, but you wouldn't be able to reach it without writing book after book in a single email. twitter is probably the worst place to debate on, since having much less space to explain yourself means your thoughts immediately get misinterpreted.

Replying to other people's posts on your own blog or gemlog is basically like e-mail, but the discussion can be read by a lot more people. you get all the benefits of long-form writing and asynchronous communication, combined with sharing with or receiving knowledge from your readers and other people's readers. However, you can hit an issue where the person who posted the text you replied to might be completely unaware of your reply, and might never read it, unlike email. some standards exist to help with this, such as Webmentions, or the trackback namespace for RSS.

I will let you click the link to read more about trackback; because I am posting today to show you an alternative, if you want to use something that approximatively nothing supports: mod_annotation, a proposed RSS 1.0 module. This, like most RSS 1.0 modules, never reached a status of standard module and disappeared from the Internet, so the only way to find them now is to use the Wayback Machine. I love the Wayback Machine.

To use this module, first add a new XML namespace to your feed: xmlns:annotate="http://purl.org/rss/1.0/modules/annotate/". Then, in the <item> tag, add the following tag to reference something else:

<annotate:reference rdf:resource="https://envs.net/~lucidiot/rsrsss/"/>

This module was only proposed for RSS 1.0, but most feed readers barely make any distinction between RSS 1.0 and 2.0, so if a feed reader ever supported this module, you could probably use it safely in RSS 2.0 too.

]]>
Replying to other people in Atom feeds Fri, 26 Mar 2021 19:05:18 +0100 atom-threading Tip https://tools.ietf.org/html/rfc4685 A continuation of yesterday's post on replies in RSS feeds, due to a simple question: how about Atom?

Turns out RFC 4685 defines an XML namespace one can use to define replies. It is rather similar to yesterday's mod_annotation.

To use this namespace, you will need to first add the namespace to your feed: xmlns:thr="http://purl.org/syndication/thread/1.0". You then have access to two new elements and two new attributes, and the spec also defines a new rel value:

  • <thr:in-reply-to> to indicate what you are replying to using the ID indicated in the <id> tag;
  • <link rel="replies"> to point to a page where some, or all, known replies to a post are listed;
  • thr:updated to add on the above link the last date when the page was updated;
  • thr:count to add on the above link the number of known replies listed in the linked page;
  • <thr:total> to indicate the total number of known replies, as the linked replies pages might only contain a portion of them.

None of those are required. You can repeat the <link rel="replies" /> as many times as you might need, if you have multiple pages. The metadata given by the <thr:total> element and the thr:count and thr:updated attributes is non-authoritative, which means it does not have to be exact.

If you are using <thr:in-reply-to>, it is recommended to also include the post's link in a <link rel="related"> to allow a graceful fallback for feed readers that might not support the threading extensions.

The RFC includes a bunch of examples that should be enough to get you started should you ever want to try using this namespace.

Some other formats

Before I start writing posts on threading for just every single syndication format, here is some info for two formats I have experimented with in ITSB:

JSON Feed does not have support for threading in its spec, but you could just make your own extension for that. It does not use JSON-LD either, which would have allowed for a similar extension system as XML; but after experiencing the complexity of JSON-LD first hand at my day job and facing the numerous interoperability issues that causes, I can definitely understand that they wouldn't want to.

Channel Definition Format allows for nested channels, so you could at least create a structured representation of a thread as a tree if you, the original author of the post, knew about all the replies. You cannot, however, specify that you are replying to something yourself. The format does support XML namespace extensions, so you could use thr or mod_annotation.

]]>