<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: TrafficCam, Version 3</title>
	<atom:link href="http://crschmidt.net/blog/34/trafficcam-version-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://crschmidt.net/blog/34/trafficcam-version-3/</link>
	<description>Ramblings of a GIS Hacker</description>
	<pubDate>Wed, 03 Dec 2008 21:54:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: LonelyBob</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-557</link>
		<dc:creator>LonelyBob</dc:creator>
		<pubDate>Fri, 25 Feb 2005 16:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-557</guid>
		<description>Version including cams from Tokyo, Japan http://www.angelfire.com/linux/kevin77/traffic.v3.py
Took alittle while figuring out the windoze 2 character /t/r prob but using dos2unix fixed that thanks to Luca's post.</description>
		<content:encoded><![CDATA[<p>Version including cams from Tokyo, Japan <a href="http://www.angelfire.com/linux/kevin77/traffic.v3.py" rel="nofollow">http://www.angelfire.com/linux/kevin77/traffic.v3.py</a><br />
Took alittle while figuring out the windoze 2 character /t/r prob but using dos2unix fixed that thanks to Luca&#8217;s post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luca</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-456</link>
		<dc:creator>Luca</dc:creator>
		<pubDate>Tue, 22 Feb 2005 10:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-456</guid>
		<description>Hi Christopher,

Thanks for your help! Now it works. I went through the "dos2unix" option then. I'll leave the .dat file on that uri to be accessed by others.

Ciao,
Luca
</description>
		<content:encoded><![CDATA[<p>Hi Christopher,</p>
<p>Thanks for your help! Now it works. I went through the &#8220;dos2unix&#8221; option then. I&#8217;ll leave the .dat file on that uri to be accessed by others.</p>
<p>Ciao,<br />
Luca</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Outside the box</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-454</link>
		<dc:creator>Outside the box</dc:creator>
		<pubDate>Mon, 21 Feb 2005 23:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-454</guid>
		<description>&lt;strong&gt;Python delivers Traffic Cameras on Nokia's Series 60 Platform&lt;/strong&gt;

Here's the Arizona data required to get Craig Schmidt's Python script (for Nokia Series 60 devices) to deliver Traffic Cams to mobile devices.</description>
		<content:encoded><![CDATA[<p><strong>Python delivers Traffic Cameras on Nokia&#8217;s Series 60 Platform</strong></p>
<p>Here&#8217;s the Arizona data required to get Craig Schmidt&#8217;s Python script (for Nokia Series 60 devices) to deliver Traffic Cams to mobile devices.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie Szurko</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-450</link>
		<dc:creator>Julie Szurko</dc:creator>
		<pubDate>Mon, 21 Feb 2005 21:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-450</guid>
		<description>Nothing to do with your site really.  I was searching my family surname Szurko and noticed a Matt Szurko on this site.  We are looking for relatives so would be interested to chat.</description>
		<content:encoded><![CDATA[<p>Nothing to do with your site really.  I was searching my family surname Szurko and noticed a Matt Szurko on this site.  We are looking for relatives so would be interested to chat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Schmidt</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-420</link>
		<dc:creator>Christopher Schmidt</dc:creator>
		<pubDate>Mon, 21 Feb 2005 16:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-420</guid>
		<description>&lt;p&gt;Alasdair: If you're up to ensuring that the format you put up won't fail, I'd be glad to set it there for you. My main concern is with setting them to files which might change and be unparseable: the error handling in this case is pretty sucky at the moment. If you're willing to test before you update, then I'll set it there. Let me know.&lt;/p&gt;

&lt;p&gt;Luca: You're using a platform which uses two characters for line endings, most likely windows, \r\n. The loader expects only one character line endings, so when it loads your tabs line, the key for the final value is given an extra character ('s\r') and your s keys can't be set because of it. You want to run the file through a program called "dos2unix" in order to fix it up. Alternatively, you can offer a patch to the loader which is smarter, which I'll also take. Look around the "readline" parts.&lt;/p&gt;

&lt;p&gt;DanC: Although it's true that you can do something simple like that, it doesn't do what most people want from XML: If I were to go with a "simple" XML parsing solution like that, I'd simply run into people putting more than it could handle into it (comments, for example) and wondering why it didn't work. I'd rather lay out a very simple, non-extensible format, since then people don't expect it to work without putting some work in it ;) One of the problems that many people seem to have with XML is that they expect that if they write it an XML file, everyone will be able to read it. (Silly, I know, but it happens.) So, I suppose I'd just prefer my nice simple format to keep things happy with people who don't realize why their file might not work..&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Alasdair: If you&#8217;re up to ensuring that the format you put up won&#8217;t fail, I&#8217;d be glad to set it there for you. My main concern is with setting them to files which might change and be unparseable: the error handling in this case is pretty sucky at the moment. If you&#8217;re willing to test before you update, then I&#8217;ll set it there. Let me know.</p>
<p>Luca: You&#8217;re using a platform which uses two characters for line endings, most likely windows, \r\n. The loader expects only one character line endings, so when it loads your tabs line, the key for the final value is given an extra character (&#8217;s\r&#8217;) and your s keys can&#8217;t be set because of it. You want to run the file through a program called &#8220;dos2unix&#8221; in order to fix it up. Alternatively, you can offer a patch to the loader which is smarter, which I&#8217;ll also take. Look around the &#8220;readline&#8221; parts.</p>
<p>DanC: Although it&#8217;s true that you can do something simple like that, it doesn&#8217;t do what most people want from XML: If I were to go with a &#8220;simple&#8221; XML parsing solution like that, I&#8217;d simply run into people putting more than it could handle into it (comments, for example) and wondering why it didn&#8217;t work. I&#8217;d rather lay out a very simple, non-extensible format, since then people don&#8217;t expect it to work without putting some work in it <img src='http://crschmidt.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> One of the problems that many people seem to have with XML is that they expect that if they write it an XML file, everyone will be able to read it. (Silly, I know, but it happens.) So, I suppose I&#8217;d just prefer my nice simple format to keep things happy with people who don&#8217;t realize why their file might not work..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Connolly</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-413</link>
		<dc:creator>Dan Connolly</dc:creator>
		<pubDate>Mon, 21 Feb 2005 15:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-413</guid>
		<description>re "We can’t make the file format too complex: the default Python install comes with no XML support, remember, so we’re using a very basic, tab delimited layout for this." parsing ordinary XML (with no parameter entities, etc.) in pure python can be really easy. See &lt;a href="http://dm93.org/2005/0501mva/vhsindex.html"&gt;my VHS index&lt;/a&gt; and the &lt;a href="http://dm93.org/2005/0501mva/movieIndex.py"&gt;movieIndex.py&lt;/a&gt; thingy that has a 3-line XML parser:

&lt;pre&gt;
def tags(markup):
    """quick-n-dirty XML parser
    """
    for tag in markup.split("&gt;"):
        yield tag
&lt;/pre&gt;

&lt;em&gt;hmm... no comment preview... I hope this turns out OK...&lt;/em&gt;
</description>
		<content:encoded><![CDATA[<p>re &#8220;We can’t make the file format too complex: the default Python install comes with no XML support, remember, so we’re using a very basic, tab delimited layout for this.&#8221; parsing ordinary XML (with no parameter entities, etc.) in pure python can be really easy. See <a href="http://dm93.org/2005/0501mva/vhsindex.html">my VHS index</a> and the <a href="http://dm93.org/2005/0501mva/movieIndex.py">movieIndex.py</a> thingy that has a 3-line XML parser:</p>
<pre>
def tags(markup):
    """quick-n-dirty XML parser
    """
    for tag in markup.split(">"):
        yield tag
</pre>
<p><em>hmm&#8230; no comment preview&#8230; I hope this turns out OK&#8230;</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alasdair Allan</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-408</link>
		<dc:creator>Alasdair Allan</dc:creator>
		<pubDate>Mon, 21 Feb 2005 14:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-408</guid>
		<description>Christopher, spotted your &lt;a href="http://www.babilim.co.uk/blog/2005/02/python-traffic-cameras.html#comments"&gt;comment&lt;/a&gt; and was wondering if you'd point to &lt;code&gt;http://www.babilim.co.uk/dat/devon.dat&lt;/code&gt; as the "cannonical" list of Devon cameras, I'll try and keep it up to date and add new ones as I find them. In fact if I get time this week I'll try and do the rest of the U.K. outside of London, as there are several digestable lists of cameras lying around. The U.K. being more or less divided into London, England and "other"... and that's coming from a Scotsman as well.</description>
		<content:encoded><![CDATA[<p>Christopher, spotted your <a href="http://www.babilim.co.uk/blog/2005/02/python-traffic-cameras.html#comments">comment</a> and was wondering if you&#8217;d point to <code><a href="http://www.babilim.co.uk/dat/devon.dat" rel="nofollow">http://www.babilim.co.uk/dat/devon.dat</a></code> as the &#8220;cannonical&#8221; list of Devon cameras, I&#8217;ll try and keep it up to date and add new ones as I find them. In fact if I get time this week I&#8217;ll try and do the rest of the U.K. outside of London, as there are several digestable lists of cameras lying around. The U.K. being more or less divided into London, England and &#8220;other&#8221;&#8230; and that&#8217;s coming from a Scotsman as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luca</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-407</link>
		<dc:creator>Luca</dc:creator>
		<pubDate>Mon, 21 Feb 2005 14:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-407</guid>
		<description>Hi,

I'm working on my .dat file but I receive an "ill line" while the application parse s it! Any suggestion is very appreciated!

http://www.3globe.com/italy_autostrade.dat

Bye,
Luca</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m working on my .dat file but I receive an &#8220;ill line&#8221; while the application parse s it! Any suggestion is very appreciated!</p>
<p><a href="http://www.3globe.com/italy_autostrade.dat" rel="nofollow">http://www.3globe.com/italy_autostrade.dat</a></p>
<p>Bye,<br />
Luca</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-395</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Mon, 21 Feb 2005 13:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-395</guid>
		<description>Hi,
I own a new Yahoo group called "Traffic-Cams" . i have looked at your website and i am very interested
in your traffic-cam application i guess the other members of my group would be interested too
Now..i am a little confused and cannot complety understand what your application is for
i suppose it is for a nokia cellphone and it has preprogrammed url's ...it will alow you to see these cams
on this cellphone ..many things are not clear to me like: will it do video,streaming jpg's or just stills ?

My question is: would you become a member of our group and do a short introduction of what this is all about ?
i am shore our members would appriciate that.
The group can be found here: http://groups.yahoo.com/group/traffic-cams
It would be of interest to you anyway since we have the most extensive list of all traffic-cams in the world
nicely sorted by country or technical details.
You are welcome ! hope to hear from you soon  Thanks !

Ron (contranl) moderator of Yahoo traffic-cams
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I own a new Yahoo group called &#8220;Traffic-Cams&#8221; . i have looked at your website and i am very interested<br />
in your traffic-cam application i guess the other members of my group would be interested too<br />
Now..i am a little confused and cannot complety understand what your application is for<br />
i suppose it is for a nokia cellphone and it has preprogrammed url&#8217;s &#8230;it will alow you to see these cams<br />
on this cellphone ..many things are not clear to me like: will it do video,streaming jpg&#8217;s or just stills ?</p>
<p>My question is: would you become a member of our group and do a short introduction of what this is all about ?<br />
i am shore our members would appriciate that.<br />
The group can be found here: <a href="http://groups.yahoo.com/group/traffic-cams" rel="nofollow">http://groups.yahoo.com/group/traffic-cams</a><br />
It would be of interest to you anyway since we have the most extensive list of all traffic-cams in the world<br />
nicely sorted by country or technical details.<br />
You are welcome ! hope to hear from you soon  Thanks !</p>
<p>Ron (contranl) moderator of Yahoo traffic-cams</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alasdair Allan</title>
		<link>http://crschmidt.net/blog/34/trafficcam-version-3/#comment-362</link>
		<dc:creator>Alasdair Allan</dc:creator>
		<pubDate>Mon, 21 Feb 2005 10:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://crschmidt.net/blog/archives/34/trafficcam-version-3/#comment-362</guid>
		<description>I've also gone off and written my &lt;a href="http://www.babilim.co.uk/blog/2005/02/python-traffic-cameras.html"&gt;own version&lt;/a&gt; of your inital applicaiton. However, I'll grab your latest version and work from there, as you've done exactly what I was going to do next, fetch the list of URLs from a remote site. 

I think this sort of thing really shows how useful a decent high level language for mobile development is going to be, it's just so much easier to work with than Java ME ever was...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve also gone off and written my <a href="http://www.babilim.co.uk/blog/2005/02/python-traffic-cameras.html">own version</a> of your inital applicaiton. However, I&#8217;ll grab your latest version and work from there, as you&#8217;ve done exactly what I was going to do next, fetch the list of URLs from a remote site. </p>
<p>I think this sort of thing really shows how useful a decent high level language for mobile development is going to be, it&#8217;s just so much easier to work with than Java ME ever was&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
