From 96b45972cd883cd7cfd28ad6a167e1629e3d8b2d Mon Sep 17 00:00:00 2001 From: lucidiot Date: Sun, 3 Sep 2023 18:07:52 +0200 Subject: [PATCH] Post about the ICBM namespace --- feed.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/feed.xml b/feed.xml index 8f7c631..4c7fa16 100644 --- a/feed.xml +++ b/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" @@ -1319,5 +1320,36 @@

A mix between The Onion and O(log n), 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.

]]> + + + Let your haters nuke you over RSS + Sun, 03 Sep 2023 18:05:52 +0200 + icbm + Tip + Geospatial + https://web.archive.org/web/20130307033513/http://postneo.com/icbm/ + 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 icbm XML namespace allows you to specify an ICBM address in either the <channel> or the <item> elements, allowing you to relate a location to either the entire RSS feed or a single specific item on that feed.

+
+<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>
+
+

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 tautology club whose blog has a feed for, or the location of something mentioned within the feed.

+

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.

+ ]]>
+ 33.6772827 + -106.4753787 +