<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/alex-2012.css" ?>
<rss version="2.0"
    xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://web.resource.org/cc/"
    xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<title>Alex Schroeder: Standards</title>
<link>http://alexschroeder.ch/wiki/Diary</link>
<atom:link href="http://www.google.com/profiles/kensanata" rel="me" type="text/html" />
<atom:link href="http://alexschroeder.ch/wiki?action=rss;full=1" rel="self" type="application/rss+xml" />
<description>The Homepage of Alex Schroeder.</description>
<pubDate>Fri, 24 May 2013 08:41:53 GMT</pubDate>
<lastBuildDate>Fri, 24 May 2013 08:41:53 GMT</lastBuildDate>
<generator>Oddmuse</generator>
<copyright>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation.</copyright>
<cc:license>http://www.gnu.org/copyleft/fdl.html</cc:license>
<image>
<url>http://alexschroeder.ch/pics/alex.png</url>
<title>Alex Schroeder: Standards</title>
<link>http://alexschroeder.ch/wiki</link>
</image>

<item>
<title>Web Standards Dream Bubble</title>
<link>http://alexschroeder.ch/wiki/2010-10-15_Web_Standards_Dream_Bubble</link>
<guid>http://alexschroeder.ch/wiki/2010-10-15_Web_Standards_Dream_Bubble</guid>
<description>&lt;p&gt;I maintain the &lt;a class="near" title="Names" href="http://campaignwiki.org/planet"&gt;Old School RPG Planet&lt;/a&gt;. The list of feeds it manages is saved &lt;a class="inter CW outside" href="http://campaignwiki.org/wiki/Planet/Feeds"&gt;on a wiki page&lt;/a&gt;. I wanted to write a little script that will allow me to quickly add feeds to that list. And I did! There&amp;#x2019;s now a way to &lt;a class="url http outside" href="http://www.campaignwiki.org/submit"&gt;submit new feeds to the feed&lt;/a&gt; instead of editing the wiki page.&lt;/p&gt;&lt;p&gt;The problem? The thing tries to parse web pages, trying to discover feed addresses. And that works well for sites that validate. But the two first Blogspot sites I tried each had over two hundred errors! Once the markup is borked, parsing doesn&amp;#x2019;t work, and thus feed discovery doesn&amp;#x2019;t work.&lt;/p&gt;&lt;p&gt;Now, if I need to work around broken markup, I start wondering why tried to standardize HTML… What a glorious waste of time! In the end, we just treat it as &lt;a class="near" title="Wikipedia" href="http://en.wikipedia.org/wiki/tag soup"&gt;tag soup&lt;/a&gt; anyway. &lt;img class="smiley" src="http://www.emacswiki.org/pics/evil.png" alt="&amp;gt;{" /&gt;&lt;/p&gt;&lt;p&gt;If you&amp;#x2019;re still interested &lt;a class="url http outside" href="http://www.campaignwiki.org/submit/source"&gt;in the source code&lt;/a&gt;, no problem. Lately all my CGI-scripts are able to spew forth their source code.&lt;/p&gt;&lt;p&gt;Unfortunately it is not complete, yet. It doesn&amp;#x2019;t update the wiki page. I didn&amp;#x2019;t bother once I realized that the entire parsing idea was not going to work. &lt;img class="smiley" src="http://www.emacswiki.org/pics/cry.png" alt=":'(" /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;: Wohoo, replaced HTML and XML parsing with regular expression matching, wrote what I needed, and finished the script! &lt;a class="url http number" href="http://www.campaignwiki.org/submit"&gt;&lt;span&gt;&lt;span class="bracket"&gt;[&lt;/span&gt;1&lt;span class="bracket"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; &lt;img class="smiley" src="http://www.emacswiki.org/pics/smile.png" alt=":)" /&gt;&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Web"&gt;Web&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Web"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Perl"&gt;Perl&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Perl"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Standards"&gt;Standards&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Standards"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=HTML"&gt;HTML&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/HTML"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Sat, 16 Oct 2010 23:01:09 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2010-10-15_Web_Standards_Dream_Bubble</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>updated</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>3</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2010-10-15_Web_Standards_Dream_Bubble</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2010-10-15_Web_Standards_Dream_Bubble</wiki:diff>
<category>Web</category>
<category>Perl</category>
<category>Standards</category>
<category>HTML</category>
</item>
</channel>
</rss>
