Post about HTML Journal

This commit is contained in:
~lucidiot 2023-12-31 23:39:22 +01:00
parent a2ed54a98e
commit 19bc6ef61c
1 changed files with 22 additions and 0 deletions

View File

@ -2154,6 +2154,28 @@ return <type id="{$i}" name="{$type}" count="{$count}" />
<p>I am impressed by how much effort people sometimes put into these projects.</p>
]]></description>
</item>
<item>
<title>Make an Atom feed for a single HTML page in two minutes</title>
<pubDate>Sun, 31 Dec 2023 23:38:35 +0100</pubDate>
<guid isPermaLink="false">html-journal</guid>
<category domain="https://envs.net/~lucidiot/rsrsss/">Tool</category>
<link>https://journal.miso.town/</link>
<description><![CDATA[
<p>If you happen to be writing your blog on a single HTML5 page, or are planning to, then you might be interested in using <a href="https://journal.miso.town/" target="_blank">HTML Journal</a>. This simple tool from the cool <a href="https://m15o.net/" target="_blank">m15o</a> lets you convert your webpage into an Atom feed, provided you follow some rather simple rules:</p>
<ul>
<li>Have one, and only one, <code>&lt;h1&gt;</code> tag. That will be your feed's title.</li>
<li>Have each blog post surrounded in <code>&lt;article&gt;&lt;/article&gt;</code> tags.</li>
<li>Have each blog post start with an <code>&lt;h2&gt;</code> tag, whose contents should start with an ISO 8601 date: <code>2023-02-31 Climbing the Reichstag dressed as Spider-Man</code>. The date will be the Atom entry's date, and the rest will be the post's title.</li>
<li>Have literally anything else within that article; that will be the post's content.</li>
</ul>
<p>If you like a verbose specification, well <a href="https://m15o.ichi.city/site/subscribing-to-a-journal-page.html" target="_blank">there's one</a>. But the list above is the gist of it really.</p>
<p>Once you've got your page available somewhere online, you can use <code>https://journal.miso.town/atom?url=</code> followed by your page's URL to get a feed. Or you can use <a href="https://journal.miso.town/journal-to-atom" target="_blank">this form</a> if you can't be bothered with URL-encoding the URL, which is definitely understandable. You can also <a href="https://journal.miso.town/validate-by-url" target="_blank">use a validator</a>.</p>
<p>There are plenty of HTML-to-RSS tools, including some that use CSS selectors, let you do custom scripting, or are tailored to one specific platform like Twitter. But I really like the simplicity of HTML Journal: Just structure the page in the spirit that HTML5 intends, and suddenly, you've got a feed.</p>
<hr />
<p>This is the 100th post on RSRSSS, and it recently became three years old. Thanks for following along, and I'll see you next year!</p>
]]></description>
</item>
</channel>
<access:restriction relationship="allow" />
</rss>