<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for DansNetwork.com</title>
	<atom:link href="http://dansnetwork.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dansnetwork.com</link>
	<description>Web Design, Javascript, CSS, and More...</description>
	<lastBuildDate>Tue, 22 Jun 2010 01:05:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Web Based Insteon Controller &#8211; SmartLinc/NetLinc by AC</title>
		<link>http://dansnetwork.com/2008/07/27/web-based-insteon-controller-netlinc/comment-page-1/#comment-29631</link>
		<dc:creator>AC</dc:creator>
		<pubDate>Tue, 22 Jun 2010 01:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/07/27/web-based-insteon-controller-netlinc/#comment-29631</guid>
		<description>I wound up writing a little windows app to give me a little more capability in terms of using the SmartLinc to control X10 devices on a timed schedule.  Check it out, if you like: http://www.practical-apps.com/practical-apps/products/freeware/default.aspx</description>
		<content:encoded><![CDATA[<p>I wound up writing a little windows app to give me a little more capability in terms of using the SmartLinc to control X10 devices on a timed schedule.  Check it out, if you like: <a href="http://www.practical-apps.com/practical-apps/products/freeware/default.aspx" rel="nofollow">http://www.practical-apps.com/practical-apps/products/freeware/default.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaScript ISO8601/RFC3339 Date Parser by Daniel</title>
		<link>http://dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/comment-page-1/#comment-29619</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 17 Jun 2010 19:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/#comment-29619</guid>
		<description>Your handling of milliseconds is wrong. You should convert the digits after the decimal to a decimal fraction and then multiply by 1000 to get milliseconds.
Here&#039;s another shorter function:
function parseIsoDate(s){
  var re=/(\d\d\d\d)\D?(\d\d)\D?(\d\d)\D?(\d\d)\D?(\d\d\D?(\d\d\.?(\d*))?)(Z&#124;[+-]\d\d?(:\d\d)?)?/;
  var a=re(s).slice(1).map(function(x,i){
    if (i==6 &amp;&amp; x) x=parseInt(x,10)/Math.pow(10,x.length)*1000; // convert to milliseconds
    return parseInt(x,10)&#124;&#124;0;
  });
  return new Date(
    Date.UTC(a[0],a[1]-1,a[2],a[3]-(a[7]&#124;&#124;0),a[4],a[5],a[6]));
};</description>
		<content:encoded><![CDATA[<p>Your handling of milliseconds is wrong. You should convert the digits after the decimal to a decimal fraction and then multiply by 1000 to get milliseconds.</p>
<p>Here&#8217;s another shorter function:</p>
<p>function parseIsoDate(s){<br />
  var re=/(\d\d\d\d)\D?(\d\d)\D?(\d\d)\D?(\d\d)\D?(\d\d\D?(\d\d\.?(\d*))?)(Z|[+-]\d\d?(:\d\d)?)?/;<br />
  var a=re(s).slice(1).map(function(x,i){<br />
    if (i==6 &amp;&amp; x) x=parseInt(x,10)/Math.pow(10,x.length)*1000; // convert to milliseconds<br />
    return parseInt(x,10)||0;<br />
  });<br />
  return new Date(<br />
    Date.UTC(a[0],a[1]-1,a[2],a[3]-(a[7]||0),a[4],a[5],a[6]));<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaScript ISO8601/RFC3339 Date Parser by Daniel</title>
		<link>http://dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/comment-page-1/#comment-29617</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 17 Jun 2010 17:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/#comment-29617</guid>
		<description>Shorter function:
function parseIsoDate(s){
  var d=new Date(s.slice(0,19).replace(&#039;T&#039;,&#039; &#039;)+&#039; GMT&#039;);
  // you can return d here if you&#039;re willing to truncate milliseconds
  var ms=s.split(/\D/)[6]; milli/micro-seconds are 7th: y,m,d,H,M,S,MS
  d.setUTCMilliseconds(ms? parseInt(ms.slice(0,3),10): 0);
  return d;
}</description>
		<content:encoded><![CDATA[<p>Shorter function:</p>
<p>function parseIsoDate(s){<br />
  var d=new Date(s.slice(0,19).replace(&#8216;T&#8217;,&#8217; &#8216;)+&#8217; GMT&#8217;);<br />
  // you can return d here if you&#8217;re willing to truncate milliseconds<br />
  var ms=s.split(/\D/)[6]; milli/micro-seconds are 7th: y,m,d,H,M,S,MS<br />
  d.setUTCMilliseconds(ms? parseInt(ms.slice(0,3),10): 0);<br />
  return d;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Analytics Date Range &#8211; Analytics Today by Brad</title>
		<link>http://dansnetwork.com/2008/01/09/google-analytics-date-range-analytics-today/comment-page-1/#comment-29505</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 14 May 2010 19:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/01/09/google-analytics-date-range-analytics-today/#comment-29505</guid>
		<description>I hacked a few lines onto this to make it show the previous 3 calendar months prior to today. Seems to work but I didn&#039;t test the year subtraction bit strenuously.
var url = window.location.href;
var urlParam = &quot;&amp;pdr=&quot;;
var today = new Date();
var day = today.getDate().toString();
var month = (today.getMonth() + 1).toString();
var year = today.getFullYear().toString();
var start_year = today.getFullYear().toString();
var start_month = (today.getMonth() - 2).toString();
var todaysRange;
if(day &lt; 10)
	day = &#039;0&#039; + day;
if(month &lt; 10)
	month = &#039;0&#039; + month;
if(start_month &lt; 1){
	start_month  = start_month + 12;
start_year  = start_year - 1;}
if(start_month &lt; 10)
	start_month  = &#039;0&#039; + start_month;
var todaysRange = start_year + start_month + day + &#039;-&#039; + year + month + day;
if(url.indexOf(urlParam) &lt; 0)
	window.location.href += &#039;&amp;pdr=&#039; + todaysRange;</description>
		<content:encoded><![CDATA[<p>I hacked a few lines onto this to make it show the previous 3 calendar months prior to today. Seems to work but I didn&#8217;t test the year subtraction bit strenuously. </p>
<p>var url = window.location.href;<br />
var urlParam = &#8220;&amp;pdr=&#8221;;</p>
<p>var today = new Date();<br />
var day = today.getDate().toString();<br />
var month = (today.getMonth() + 1).toString();<br />
var year = today.getFullYear().toString();<br />
var start_year = today.getFullYear().toString();<br />
var start_month = (today.getMonth() &#8211; 2).toString();<br />
var todaysRange;</p>
<p>if(day &lt; 10)<br />
	day = &#039;0&#039; + day;</p>
<p>if(month &lt; 10)<br />
	month = &#039;0&#039; + month;</p>
<p>if(start_month &lt; 1){<br />
	start_month  = start_month + 12;<br />
start_year  = start_year &#8211; 1;}</p>
<p>if(start_month &lt; 10)<br />
	start_month  = &#039;0&#039; + start_month;</p>
<p>var todaysRange = start_year + start_month + day + &#039;-&#039; + year + month + day;</p>
<p>if(url.indexOf(urlParam) &lt; 0)<br />
	window.location.href += &#039;&amp;pdr=&#039; + todaysRange;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New BBC Radio 1 RTSP Stream Format by Hayley Bell</title>
		<link>http://dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/comment-page-1/#comment-29233</link>
		<dc:creator>Hayley Bell</dc:creator>
		<pubDate>Fri, 02 Apr 2010 19:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/#comment-29233</guid>
		<description>Great post. If you would like to listen to BBC Radio on the iPhone - I strongly recommend &lt;a href=&quot;//www.bbcstreams.com”&quot; rel=&quot;nofollow&quot;&gt;BBC Streams&lt;/a&gt; - it is easily  the most convenient way  to listen to BBC Radio on the iPhone, iPad or iPod Touch and it&#039;s free at BBCStreams.com.</description>
		<content:encoded><![CDATA[<p>Great post. If you would like to listen to BBC Radio on the iPhone &#8211; I strongly recommend <a href="//www.bbcstreams.com”" rel="nofollow">BBC Streams</a> &#8211; it is easily  the most convenient way  to listen to BBC Radio on the iPhone, iPad or iPod Touch and it&#8217;s free at BBCStreams.com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MooTools Events Calendar &#8211; Web Embeddable Javascript Calendar by Christoph Aust</title>
		<link>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/comment-page-1/#comment-28405</link>
		<dc:creator>Christoph Aust</dc:creator>
		<pubDate>Sat, 06 Mar 2010 12:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/#comment-28405</guid>
		<description>I cannot find a way to format the date and the time into german formats.
Anyone got a hint for me?
Thank you in advance!</description>
		<content:encoded><![CDATA[<p>I cannot find a way to format the date and the time into german formats.<br />
Anyone got a hint for me?<br />
Thank you in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SmartLinc &#8211; Unable to Retrieve Device State by Audacious Software: Weblog &#187; Blog Archive &#187; Shion SmartLinc 2412N Support</title>
		<link>http://dansnetwork.com/2008/09/10/smartlinc-unable-to-retrieve-device-state/comment-page-1/#comment-26633</link>
		<dc:creator>Audacious Software: Weblog &#187; Blog Archive &#187; Shion SmartLinc 2412N Support</dc:creator>
		<pubDate>Thu, 04 Feb 2010 21:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/09/10/smartlinc-unable-to-retrieve-device-state/#comment-26633</guid>
		<description>[...] are built around an atrocious AJAX interface, leading to the bewildering outcome that the device is effectively one-way only, defeating the major reasons for using the INSTEON [...]</description>
		<content:encoded><![CDATA[<p>[...] are built around an atrocious AJAX interface, leading to the bewildering outcome that the device is effectively one-way only, defeating the major reasons for using the INSTEON [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MooTools Events Calendar &#8211; Web Embeddable Javascript Calendar by Michael</title>
		<link>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/comment-page-1/#comment-25629</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 14 Jan 2010 02:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/#comment-25629</guid>
		<description>Thanks, this is fantastic. FWIW, I&#039;d like to put in a vote for somehow showing the location of events in week and day views-- maybe a new Tips like on the month view.</description>
		<content:encoded><![CDATA[<p>Thanks, this is fantastic. FWIW, I&#8217;d like to put in a vote for somehow showing the location of events in week and day views&#8211; maybe a new Tips like on the month view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add Live Chat (GTalk/Jabber) To Your Site by bunny</title>
		<link>http://dansnetwork.com/2008/07/10/add-live-chat-gtalkjabber-to-your-site/comment-page-1/#comment-25595</link>
		<dc:creator>bunny</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/07/10/add-live-chat-gtalkjabber-to-your-site/#comment-25595</guid>
		<description>you can use also http://www.plupper.com ... it works with GTalk or any of XMPP/Jabber messenger</description>
		<content:encoded><![CDATA[<p>you can use also <a href="http://www.plupper.com" rel="nofollow">http://www.plupper.com</a> &#8230; it works with GTalk or any of XMPP/Jabber messenger</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MooTools Events Calendar &#8211; Web Embeddable Javascript Calendar by Trevor Orr</title>
		<link>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/comment-page-1/#comment-23141</link>
		<dc:creator>Trevor Orr</dc:creator>
		<pubDate>Fri, 06 Nov 2009 17:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/#comment-23141</guid>
		<description>I added an option for the events for make it a yearly event.
Just add yearly: true to the event.
Here is the code added to the loadCalEvents function:
eYearly = this.options.cEvents[i].yearly;
if (eYearly) {
	eStart.setFullYear(this.viewStartDate.getFullYear());
	eEnd.setFullYear(this.viewStartDate.getFullYear());
}
This goes right before the following line.
if((eStart &gt;= this.viewStartDate &amp;&amp; eStart = this.viewStartDate &amp;&amp; eEnd &lt;= this.viewEndDate)){</description>
		<content:encoded><![CDATA[<p>I added an option for the events for make it a yearly event.</p>
<p>Just add yearly: true to the event.</p>
<p>Here is the code added to the loadCalEvents function:</p>
<p>eYearly = this.options.cEvents[i].yearly;<br />
if (eYearly) {<br />
	eStart.setFullYear(this.viewStartDate.getFullYear());<br />
	eEnd.setFullYear(this.viewStartDate.getFullYear());<br />
}</p>
<p>This goes right before the following line.</p>
<p>if((eStart &gt;= this.viewStartDate &amp;&amp; eStart = this.viewStartDate &amp;&amp; eEnd &lt;= this.viewEndDate)){</p>
]]></content:encoded>
	</item>
</channel>
</rss>
