Compare commits

...

3 Commits

Author SHA1 Message Date
~lucidiot 981eee6bea Do not style nested headers/footers 2023-09-03 18:08:11 +02:00
~lucidiot 96b45972cd Post about the ICBM namespace 2023-09-03 18:07:52 +02:00
~lucidiot d9d7acc38d Post about The Olognion 2023-08-31 22:01:46 +02:00
2 changed files with 48 additions and 5 deletions

View File

@ -91,29 +91,29 @@ article:first-child, section:first-child {
margin-top: 5px;
}
article header, article footer, section header, section footer {
article > header, article > footer, section > header, section > footer {
color: #333;
font-size: 8pt;
}
article header, section header {
article > header, section > header {
border-bottom: 1px solid lightgray;
padding-bottom: 2px;
margin-bottom: 5px;
}
article footer, section footer {
article > footer, section > footer {
border-top: 1px solid lightgray;
margin-top: 5px;
padding-top: 1px;
}
article header h2, article header p, article footer p, section header h2, section header p, section footer p {
article > header h2, article > header p, article > footer p, section > header h2, section > header p, section > footer p {
margin-top: 0;
margin-bottom: 0;
}
article header p *:not(:last-child), section header p *:not(:last-child) {
article > header p *:not(:last-child), section > header p *:not(:last-child) {
border-right: 1px solid gray;
padding-right: 0.25em;
margin-right: 0.25em;

View File

@ -9,6 +9,7 @@
xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:icbm="http://postneo.com/icbm"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:webfeeds="http://webfeeds.org/rss/1.0"
@ -1308,5 +1309,47 @@
<p>A coworker suggested that maybe we should have a standard for french tacos, since many places selling french tacos commit blasphemy by adding veggies in them, sometimes even adding them <em>by default</em> without warning you. I have some experience <a href="https://tildegit.org/casa/bikeshed/src/branch/main/rfb" target="_blank">writing joke RFCs</a>, so that's something to consider.</p>
]]></description>
</item>
<item>
<title>The Olognion</title>
<pubDate>Thu, 31 Aug 2023 19:17:10 +0200</pubDate>
<guid isPermaLink="false">olognion</guid>
<category domain="https://envs.net/~lucidiot/rsrsss/">Feed</category>
<link>https://www.theolognion.com/rss/</link>
<description><![CDATA[
<p>A mix between <em>The Onion</em> and <em>O(log n)</em>, this website is pretty much The Onion for developers. The satirical news reports are published much less often than before but do make me smile a little each time, before the usual existential dread sets back in.</p>
]]></description>
</item>
<item>
<title>Let your haters nuke you over RSS</title>
<pubDate>Sun, 03 Sep 2023 18:05:52 +0200</pubDate>
<guid isPermaLink="false">icbm</guid>
<category domain="https://envs.net/~lucidiot/rsrsss/">Tip</category>
<category domain="https://envs.net/~lucidiot/rsrsss/">Geospatial</category>
<link>https://web.archive.org/web/20130307033513/http://postneo.com/icbm/</link>
<description><![CDATA[
<p>One of the most primitive ways you can specify geospatial information within an RSS feed is also one of the oldest, and it is supported by the W3C validator among others. The <code>icbm</code> XML namespace allows you to specify an <a href="https://en.wikipedia.org/wiki/ICBM_address" target="_blank">ICBM address</a> in either the <code>&lt;channel&gt;</code> or the <code>&lt;item&gt;</code> elements, allowing you to relate a location to either the entire RSS feed or a single specific item on that feed.</p>
<pre>
&lt;rss version="2.0" xmlns:icbm="http://postneo.com/icbm"&gt;
&lt;channel&gt;
&lt;!-- ... --&gt;
&lt;icbm:latitude&gt;30.0301&lt;/icbm:latitude&gt;
&lt;icbm:longitude&gt;32.5776&lt;/icbm:longitude&gt;
&lt;item&gt;
&lt;!-- ... --&gt;
&lt;icbm:latitude&gt;31.5077090&lt;/icbm:latitude&gt;
&lt;icbm:longitude&gt;-82.3115156&lt;/icbm:longitude&gt;
&lt;/item&gt;
&lt;/channel&gt;
&lt;/rss&gt;
</pre>
<p>With this method, you can therefore specify a location where someone may send a nuke if they have been particularly angered by something you published on that feed. Or more commonly, you might want to set a location relevant to the feed, like the location of the <a href="https://xkcd.com/703/" target="_blank">tautology club</a> whose blog has a feed for, or the location of something mentioned within the feed.</p>
<p>There are other, more recent and more standard methods to refer to geographic coordinates in an RSS feed, and not just specific points. We will go over those some other time.</p>
]]></description>
<icbm:latitude>33.6772827</icbm:latitude>
<icbm:longitude>-106.4753787</icbm:longitude>
</item>
</channel>
</rss>