Ocean108

tired crip 😴

  • they/them

just fumbling around.
Plant and Pet Enthusiast.
(profile artwork by Carl F. Aagaard)


wafrn
@ocean@wafrn.net
goblin
@ocean@goblin.band

YuushaRuby
@YuushaRuby

Rosting and email are my vision of the future. Rosting or “RSS direct posting” is publishing content directly to an RSS feed. You can just do that.

\ http://rubymayvalentine.net/rss.xml

You can even use escape sequences to do html inside of a “rost.”

The utopia I imagine is all of us with our feed readers of choice hosting our own rss feeds and rosting and emailing each other. Maybe some of us even use IRC or XMPP to communicate. The future can be realized.

Here’s my most recent “rost.” Only people who are subscribed to my rss feed (or read the plaintext xml file like some sort of freak) can view this. It’s not on my blog or anything you know.* You can post directly to rss. You can rost.

*sort of a bad example but this is a slightly modified version of my post that’s almost identical on cohost

Sort of like how “you can send someone a voicemail directly” this is a somewhat unexplored and not often mentioned detail about rss except it’s infinitely better than voicemail.


	<item>
			<title>Advertisement</title>
			<description>
				<![CDATA[
				<p><i>Template engine? Static site generator? JavaScript?</i> </p>

<p>Not on rubymayvalentine.net. We only offer organic, hand-coded, homegrown, css, xml, and html.</p> ]]>
			</description>
			<pubDate>Tue, 10 Sep 2024 19:12:00 GMT</pubDate>
			<link>https://rubymayvalentine.net</link>
			<guid isPermaLink="false">rost#26</guid>
		</item>```


@Ocean108 shared with:

You must log in to comment.

in reply to @YuushaRuby's post:

Yeah I tried out fraidycat and wasn’t a fan. Luckily there’s a lot of rss readers out there that can scrape web pages/build from things like Twitter and what not! If you’re comfortable with self hosting a web based reader I recommend freshrss in combination with Tailscale

Hey I love the idea and wanna try this for myself with a friend to share thoughts and whatnot! Do you think it is compatible with a blog made with a CMS or whatever, or should I make a rss feed specifically for this (and if so, are there editors out there or should I make it manually?)? Thanks!

I’m not sure how your CMS works, but if it autogenerates your rss feed it might be tricky to make posts only to the rss feed unless your CMS lets you do that specifically. If you make a separate RSS feed you’ll likely need to edit it by hand. I know of at least this spreadsheet based rss generator, but I’m not sure about others, I’m not familiar with spreadsheets so I’m not sure how it works https://cohost.org/Cro/post/7705087-link-data-chunk-cl

in reply to @YuushaRuby's post:

in the atom format you can avoid wrapping HTML in CDATA if you use a content type of 'xhtml' and namespace:

<content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://kylieneko.neocities.org/favicon.ico"
            width="64"
            height="64"
            alt="Chibi Kylie sitting in front of a trans-ace-lesbian flag" />
        <p>Can't do any interesting styles like floating or anything, but you can (X)HTML it.</p>
    </div>
</content>

atom requires the first xhtml tag be a div. you can also do a prefix instead of declaring the xmlns every entry, if you don't mind everything being all <x:tag>

dunno if you can pull this off in RSS proper, but it's an xml document so maybe? I don't have time to test before The End.

I did a sample playful test feed at https://kylieneko.neocities.org/firstfeed.xml with comments in the xml. This isn't a feed I'm going to update (beyond being a testbed), so don't subscribe to it, or at least, don't subscribe and expect updates :P

This is interesting and might be helpful to others. Do you mind if I share your comment with others? I’m very much in the “if it ain’t broke don’t fix it” camp for my use case but others might find it helpful to use xhtml if they need their text editor to continue providing help. Also I didn’t know you didn’t have to close your tags in html. I always close my tags.

In HTML, you can get away with not closing certain tags like img. In XHTML, it's strict about that, because it's supposed to be more XML-y. For this reason, XHTML never really caught on, I think. I'm not even sure HTML5 has a corresponding XHTML, but within an RSS or Atom feed you can't do fanypants stuff anyways so it doesn't really matter much.

In the Atom feed format, you can do a content type of XHTML and using the namespace within the <div> like in the example, you can just keep on writing HTML inside the division, no need to escape or CDATA or anything.

I just don't know if a similar hack can be used for RSS. Atom explicitly set up for this. But RSS is XML and supports extensions via namespaces. I don't have time to play with it to see what happens. I just figure that for non-web types, it would be easier to not have to escape things, and most colorizing editors turn everything inside CDATA into a solid color. Making use of the xhtml type could let people doing some HTML in a post take advantage of their editor. Maybe it's not worth it. 🤷‍♀️