<?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 NicJ.net</title>
	<atom:link href="http://nicj.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://nicj.net</link>
	<description>Home to Nic Jansma</description>
	<lastBuildDate>Sun, 07 Feb 2010 03:48:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Nic</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4125</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Sun, 07 Feb 2010 03:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4125</guid>
		<description>Hi Peter -- I don&#039;t know how they do that, but I will look into it!  Could be a kindle-specific thing, I wonder if the MOBI format natively supports that.</description>
		<content:encoded><![CDATA[<p>Hi Peter &#8212; I don&#8217;t know how they do that, but I will look into it!  Could be a kindle-specific thing, I wonder if the MOBI format natively supports that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Peter</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4123</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 07 Feb 2010 01:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4123</guid>
		<description>Hi Nic, It&#039;s working great now, thanks!  BTW, do you know how many papers get the &quot;View Sections List/ Next Article/Previous Article&quot; to work on the kindle?  I think it might be an embedded script tag of some sort, though it&#039;s interesting that that part of the screen (always the very bottom) doesn&#039;t &quot;flash&quot; on page-changes.  Maybe it&#039;s more of a kindle thing???</description>
		<content:encoded><![CDATA[<p>Hi Nic, It&#8217;s working great now, thanks!  BTW, do you know how many papers get the &#8220;View Sections List/ Next Article/Previous Article&#8221; to work on the kindle?  I think it might be an embedded script tag of some sort, though it&#8217;s interesting that that part of the screen (always the very bottom) doesn&#8217;t &#8220;flash&#8221; on page-changes.  Maybe it&#8217;s more of a kindle thing???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Todoist.com (and TodoistBackup.exe) by Antonio</title>
		<link>http://nicj.net/2009/06/11/todoistcom-and-todoistbackupexe/comment-page-1#comment-4122</link>
		<dc:creator>Antonio</dc:creator>
		<pubDate>Sat, 06 Feb 2010 13:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=433#comment-4122</guid>
		<description>Works like a charm. Thanks!</description>
		<content:encoded><![CDATA[<p>Works like a charm. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Nic</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4079</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Tue, 26 Jan 2010 06:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4079</guid>
		<description>Hey Peters,

Thanks for finding this issue.  I&#039;ve updated the source with 3 fixes:

1) As you found, many of the articles&#039; links didn&#039;t work and the entire article was missing.  This seemed to hit the &quot;Americas&quot; section a lot.  I found that if you go to the URL linked from the This Week&#039;s Edition page, the server 301 redirects to a second URL.  CURL, which downloads the articles, wasn&#039;t setup to follow this redirect, so those links were missing.

2) Starting with this week, 01/23/2010, the HTML format of many articles changed, which broke the converter (there was an extra H1 in the HTML, which we thought was the title).  This caused extraneous SCRIPT tags to be in the HTML, which caused mobigen to break completely.  This should be fixed.

3) I&#039;ve updated the file to make sure all &quot;See article&quot; links work (for example, in the Politics This Week section).  Before, you would just see the text &quot;See article&quot;.  Now, it should link to the actual article.

Let me know of any problems.

http://nicj.net/files/economist_to_kindle.phps</description>
		<content:encoded><![CDATA[<p>Hey Peters,</p>
<p>Thanks for finding this issue.  I&#8217;ve updated the source with 3 fixes:</p>
<p>1) As you found, many of the articles&#8217; links didn&#8217;t work and the entire article was missing.  This seemed to hit the &#8220;Americas&#8221; section a lot.  I found that if you go to the URL linked from the This Week&#8217;s Edition page, the server 301 redirects to a second URL.  CURL, which downloads the articles, wasn&#8217;t setup to follow this redirect, so those links were missing.</p>
<p>2) Starting with this week, 01/23/2010, the HTML format of many articles changed, which broke the converter (there was an extra H1 in the HTML, which we thought was the title).  This caused extraneous SCRIPT tags to be in the HTML, which caused mobigen to break completely.  This should be fixed.</p>
<p>3) I&#8217;ve updated the file to make sure all &#8220;See article&#8221; links work (for example, in the Politics This Week section).  Before, you would just see the text &#8220;See article&#8221;.  Now, it should link to the actual article.</p>
<p>Let me know of any problems.</p>
<p><a href="http://nicj.net/files/economist_to_kindle.phps" rel="nofollow">http://nicj.net/files/economist_to_kindle.phps</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Peter</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4077</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 26 Jan 2010 00:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4077</guid>
		<description>Nic - it&#039;s not picking up the start and end of article for United States&#039; section.  Would really appreciate if you could give this a look for a few minutes... Thanks,

&quot;Another Peter&quot; ... sounds like you&#039;re not running it from the command line.  My guess is that you have the working directory with insuffucient slashes &quot;/&quot; or something, or maybe you&#039;re missing the curl piece?  Either way, you shouldn&#039;t just &quot;double click&quot; on the php file... Try to run it from within the command line window to begin with, and post the output here.</description>
		<content:encoded><![CDATA[<p>Nic &#8211; it&#8217;s not picking up the start and end of article for United States&#8217; section.  Would really appreciate if you could give this a look for a few minutes&#8230; Thanks,</p>
<p>&#8220;Another Peter&#8221; &#8230; sounds like you&#8217;re not running it from the command line.  My guess is that you have the working directory with insuffucient slashes &#8220;/&#8221; or something, or maybe you&#8217;re missing the curl piece?  Either way, you shouldn&#8217;t just &#8220;double click&#8221; on the php file&#8230; Try to run it from within the command line window to begin with, and post the output here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Another Peter</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4075</link>
		<dc:creator>Another Peter</dc:creator>
		<pubDate>Mon, 25 Jan 2010 03:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4075</guid>
		<description>I installed PHP 5.2.12 - and have not been able to get this to work.  I have set my Economist login and password, as well as my kindle email address in the phps file (using Wordpad).  However, when I run the phps file, the DOS box comes up for a fraction of a second, and disappears.  
Thoughts?</description>
		<content:encoded><![CDATA[<p>I installed PHP 5.2.12 &#8211; and have not been able to get this to work.  I have set my Economist login and password, as well as my kindle email address in the phps file (using Wordpad).  However, when I run the phps file, the DOS box comes up for a fraction of a second, and disappears.<br />
Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Peter</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4017</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 20 Jan 2010 20:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4017</guid>
		<description>Sorry Nic... meant to write &#039;when there&#039;s a good  id=2234234... then it works, otherwise the link from TOC fails.</description>
		<content:encoded><![CDATA[<p>Sorry Nic&#8230; meant to write &#8216;when there&#8217;s a good  id=2234234&#8230; then it works, otherwise the link from TOC fails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Peter</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4016</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 20 Jan 2010 20:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4016</guid>
		<description>Hi Nic, again thanks for spearheading this.  A few quick things.

Some of your users (especially Linux/Mac) may want to know that kindlegen has more or less replaced mobigen_linux.  A quick update of this line works (replace with kindlegen-- all other options work the same, it seems.) 
system(&quot;/usr/local/bin/mobigen_linux -c1 $opfFile&quot;);

I&#039;m not sure what it is exactly, but it seems like many links don&#039;t work off of mbp_toc.html.  I&#039;ve traced it back to the correct formatting in the economist.html file.  When there&#039;s a good , then it works, but half the time it&#039;s just  that gets printed out.  Is there something whacked here... maybe a substitution or other that&#039;s wiping out the id?  Without it, I can&#039;t really use the table of contents.  

Also, the NYT allows you to click the &#039;trackball&#039; to the right, and jump to the next article.  I imagine that&#039;s done by inserting a tag in the html.  Would be great to have that too.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Nic, again thanks for spearheading this.  A few quick things.</p>
<p>Some of your users (especially Linux/Mac) may want to know that kindlegen has more or less replaced mobigen_linux.  A quick update of this line works (replace with kindlegen&#8211; all other options work the same, it seems.)<br />
system(&#8220;/usr/local/bin/mobigen_linux -c1 $opfFile&#8221;);</p>
<p>I&#8217;m not sure what it is exactly, but it seems like many links don&#8217;t work off of mbp_toc.html.  I&#8217;ve traced it back to the correct formatting in the economist.html file.  When there&#8217;s a good , then it works, but half the time it&#8217;s just  that gets printed out.  Is there something whacked here&#8230; maybe a substitution or other that&#8217;s wiping out the id?  Without it, I can&#8217;t really use the table of contents.  </p>
<p>Also, the NYT allows you to click the &#8216;trackball&#8217; to the right, and jump to the next article.  I imagine that&#8217;s done by inserting a tag in the html.  Would be great to have that too.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Nic</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4011</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Sat, 16 Jan 2010 05:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4011</guid>
		<description>&lt;a href=&quot;#comment-4009&quot; rel=&quot;nofollow&quot;&gt;@H Y Lee &lt;/a&gt; 
H Y Lee -- You&#039;ll have to make sure the Curl libraries are installed on your Windows PHP install:
http://curl.haxx.se/libcurl/php/install.html
http://windows.php.net/

You should be able to just update the basedir with the directory you&#039;ve specified. That path should work on Windows.  Since you&#039;re using forward slashes (\), you&#039;ll have to escape them:
C:\\Documents and Settings\\LHY\\My Documents\\Economist</description>
		<content:encoded><![CDATA[<p><a href="#comment-4009" rel="nofollow">@H Y Lee </a><br />
H Y Lee &#8212; You&#8217;ll have to make sure the Curl libraries are installed on your Windows PHP install:<br />
<a href="http://curl.haxx.se/libcurl/php/install.html" rel="nofollow">http://curl.haxx.se/libcurl/php/install.html</a><br />
<a href="http://windows.php.net/" rel="nofollow">http://windows.php.net/</a></p>
<p>You should be able to just update the basedir with the directory you&#8217;ve specified. That path should work on Windows.  Since you&#8217;re using forward slashes (\), you&#8217;ll have to escape them:<br />
C:\\Documents and Settings\\LHY\\My Documents\\Economist</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Economist, and, The Kindle: Take 2 by Nic</title>
		<link>http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2/comment-page-1#comment-4010</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Sat, 16 Jan 2010 05:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://nicj.net/?p=716#comment-4010</guid>
		<description>&lt;a href=&quot;#comment-4001&quot; rel=&quot;nofollow&quot;&gt;@Maarten &lt;/a&gt; 
I added the CURLOPT_PROXY right before curl_exec() and it seemed to work for my local proxy.  I do not have it password protected, so maybe the credentials are specified wrong?  I would try printing a line for curl_error($ch) right after curl_exec() so you can see what&#039;s wrong.

Hopefully that&#039;ll work!</description>
		<content:encoded><![CDATA[<p><a href="#comment-4001" rel="nofollow">@Maarten </a><br />
I added the CURLOPT_PROXY right before curl_exec() and it seemed to work for my local proxy.  I do not have it password protected, so maybe the credentials are specified wrong?  I would try printing a line for curl_error($ch) right after curl_exec() so you can see what&#8217;s wrong.</p>
<p>Hopefully that&#8217;ll work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
