The Latest Updates

November 21, 2008 at 6:31 pm 4 comments

It has been a looooooong time since I’ve written anything here! Fortunately there is a good reason- I’ve been busy working on new features and fixing lots and lots of bugs. The biggest new feature is the option to save a page to pdf. This turned out to be a lot harder than I expected. After more than a week of teeth gnashing I finally came up with a ridiculously complicated Rube Goldberg method of saving the pdf that involved sending the data back and forth between the server and the browser. It worked, and it dodged all the browser bugs and incompatibilities that make ajax programming so adventurous, but it wasn’t pretty. Then a few days ago I learned a javascript trick using document.write, and in the space of an afternoon rewrote all the ‘save as pdf’ code into something that was simpler, faster, more reliable, and 1/3 as much code. Don’t you hate it when that happens!

Since going live, I’ve also made a lot of other changes, most of which aren’t as visible.

  • PrintWhatYouLike now handles sites with frames intelligently instead of just giving up and returning an error message.
  • The site also handles pages with international characters correctly. I’m not sure how I overlooked that while testing the app before it went live, but lots of people emailed to let me know about it šŸ™‚
  • Pwyl can now handle any type of url, including urls with spaces in them
  • And tons of smaller bug fixes

Now I’m working on a browser plugin that will run the PrintWhatYouLike editor inside your browser. The advantage of this is that you can edit private/password-protected pages like your email (assuming you have webmail). So finally there will an easy way to print emails without those stupid three page legal disclaimers every corporation insists on putting at the bottom of every email!


Entry filed under: site news.

Holy Cow!! Edit private pages with the new bookmarklet

4 Comments Add your own

  • 1. Dave Gibbons  |  January 23, 2009 at 12:19 am

    I have an easy “bug” for you to fix. Your link to “Try The Demo” on the home page talks about “changing the font type with the dropdown.” You say “sans-serif fonts like Times New Roman print better” I think if you look up the definition of “sans” you will find that means “without.” A font that is a sans-serif font has no serifs. Yes, Times New Roman prints better, but it is a font with serifs. It has serifs. An example of a sans-serif font would be the font “Ariel” which does not print as well as Times New Roman because it is “without” or “sans” serifs.

    I’m picking nits here, and do not mean to detract from your fine website, only improve it.

    Dave Gibbons

    • 2. Jonathan  |  January 23, 2009 at 6:34 pm

      Nice catch!! You are absolutely right. When I wrote the demo I switched “serif” and “sans-serif”. The error has now been fixed. Thanks!

  • 3. Isa  |  April 21, 2009 at 7:14 pm

    “The site also handles pages with international characters correctly. Iā€™m not sure how I overlooked that while testing the app before it went live, but lots of people emailed to let me know about it”

    Actually, I am afraid that these problems are not solved yet, because special characters are not correctly handled. I have reported about it – using Getsatisfaction, but I hope there is a fix !

  • 4. Cassie  |  April 23, 2009 at 10:06 am

    Isa – I responded to your problem on Get Satisfaction:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Twitter Updates

November 2008
« Sep   Dec »

%d bloggers like this: