Compare commits
3 Commits
6eb76cadce
...
981eee6bea
Author | SHA1 | Date |
---|---|---|
~lucidiot | 981eee6bea | |
~lucidiot | 96b45972cd | |
~lucidiot | d9d7acc38d |
|
@ -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;
|
||||
|
|
43
feed.xml
43
feed.xml
|
@ -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><channel></code> or the <code><item></code> elements, allowing you to relate a location to either the entire RSS feed or a single specific item on that feed.</p>
|
||||
<pre>
|
||||
<rss version="2.0" xmlns:icbm="http://postneo.com/icbm">
|
||||
<channel>
|
||||
<!-- ... -->
|
||||
<icbm:latitude>30.0301</icbm:latitude>
|
||||
<icbm:longitude>32.5776</icbm:longitude>
|
||||
|
||||
<item>
|
||||
<!-- ... -->
|
||||
<icbm:latitude>31.5077090</icbm:latitude>
|
||||
<icbm:longitude>-82.3115156</icbm:longitude>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue