Comments on: The Economist, and, The Kindle https://nicj.net/the-economist-and-the-kindle/ Home to Nic Jansma, a software developer at Akamai building high-performance websites, apps and open-source tools. Wed, 10 Feb 2021 14:26:29 +0000 hourly 1 https://wordpress.org/?v=5.5.3 By: Xavier https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-6737 Tue, 19 Apr 2011 08:01:25 +0000 http://nicj.net/?p=407#comment-6737 Hi Nic,

I just got a Kindle 3 and stumbled on your site. I would love to read my Economist on the Kindle, but after going through all the steps, I can’t get it to work.

It creats the TOC all right, then going through all the article links with php, I see f.ex. “http://www.economist.com/obituary/displaystory.cfm?story_id=18557289
ERROR in processing”

and that’s the same message I get for every link so only the TOC gets created.

Any idea on how to fix that?

Thanks,

Xavier

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-3983 Sun, 03 Jan 2010 20:14:52 +0000 http://nicj.net/?p=407#comment-3983 Updated version that uses your economist.com’s login credentials: http://nicj.net/2010/01/03/the-economist-and-the-kindle-take-2

]]>
By: The Economist, and, The Kindle: Take 2 | NicJ.net https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-3982 Sun, 03 Jan 2010 20:10:33 +0000 http://nicj.net/?p=407#comment-3982 […] while ago I had written about how you can get The Economist on your Kindle (and other e-readers) by running a simple PHP script that crawls the economist.com and generates a […]

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-3850 Mon, 02 Nov 2009 01:33:12 +0000 http://nicj.net/?p=407#comment-3850 Looks like they’ve locked out the current print editions to only subscribers.

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2340 Fri, 10 Jul 2009 05:16:24 +0000 http://nicj.net/?p=407#comment-2340 If you’re on Windows, you can use the Task Scheduler:
XP: http://support.microsoft.com/kb/308569
Vista: http://technet.microsoft.com/en-us/appcompat/aa906020.aspx

For Linux/Mac, I would suggest cron: http://en.wikipedia.org/wiki/Cron

]]>
By: DD https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2330 Thu, 09 Jul 2009 22:04:26 +0000 http://nicj.net/?p=407#comment-2330 How would this program run automatically…. This is one thing I am not able to get ..

Thanks

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2195 Mon, 06 Jul 2009 19:49:22 +0000 http://nicj.net/?p=407#comment-2195 @DD
I believe you can replace all occurrences of “\” with “/”, i.e.:

$baseDir=”C:/EconomistforKindle/”;

Hope that helps!

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2194 Mon, 06 Jul 2009 19:46:30 +0000 http://nicj.net/?p=407#comment-2194 @Sumit
Hi Sumit. You’ll need to install PHP on your Mac first — try http://developer.apple.com/internet/opensource/php.html . After that, it’s just a matter of modifying the .php source code to change the email address and running it!

]]>
By: DD https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2168 Sun, 05 Jul 2009 17:34:52 +0000 http://nicj.net/?p=407#comment-2168 Hello Nic

How do I replace the following part in your script for windows:

// *** fill in these options ***
$baseDir = “/home/nicjansma/scripts/kindle/”;
$withImages = true;

Is it like:
$baseDir=”C:EconomistforKindle”;

Please let me know about the same

Regards,

]]>
By: DD https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2144 Sat, 04 Jul 2009 22:39:38 +0000 http://nicj.net/?p=407#comment-2144 @Jordan

Jordon

Could you please highlight the steps of automating this program ..I mean automatically emailing the economist version.

Thanks for your help in this regard.

Regards,
DD

]]>
By: Sumit https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-2090 Fri, 03 Jul 2009 01:33:50 +0000 http://nicj.net/?p=407#comment-2090 Hi Nic,

How do I run your script on a Mac? I recently bought a kindle 2 and obviously The Economist is the first thing I would want on it.

Thanks
Sumit

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-1784 Mon, 22 Jun 2009 17:43:08 +0000 http://nicj.net/?p=407#comment-1784 Hello DD. The FatknowledgeBlog (http://fatknowledge.blogspot.com/2008/09/economist-in-kindle-format.html) has a good article for automating this on Windows. Follow his 7 steps under “Update”. You will need to install PHP and add a scheduled task.

Alternatively, as I mention in the article, Calibre http://calibre.kovidgoyal.net/ has a really user-friendly interface for doing this.

]]>
By: DD https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-1769 Mon, 22 Jun 2009 05:57:44 +0000 http://nicj.net/?p=407#comment-1769 could you please explain the steps to automate this and email to the Kindle. Appreciate your help in this step by step process. It has worked for me for the manual process

Thanks

]]>
By: Nic https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-340 Sun, 26 Apr 2009 16:09:01 +0000 http://nicj.net/?p=407#comment-340 @Jordan
Welcome Jordan! The setting for outbound mail should be in your php.ini — on Windows, your installation is probably at C:\PHP\php.ini.

There’s a [mail function] section within, where you can set your SMTP host and port.

I’m running this on a Linux box, so I had already setup my php.ini for other things.

Good luck!

]]>
By: Jordan https://nicj.net/the-economist-and-the-kindle/comment-page-1/#comment-339 Sun, 26 Apr 2009 07:32:59 +0000 http://nicj.net/?p=407#comment-339 I appreciate you posting the your adjustments. After I read about the PHP on the Fat Knowledge site, I delved into automating the conversion and emailing process as well. I wasn’t able get to the the PHP mail() function to work in windows, so I used a bit of a workaround. I had to utilize Blat and stunnel to use my gmail account as the smtp server. I wasn’t familiar with the PHP mail() function, but I didn’t see any settings for outbound mail on yours. Just wondering where/how you set up the mail servers with the mail function.

]]>