Needs Improvement

Colin Coller's Blog
Posts: 10 | Comments: 68 | TrackBacks: ?

January 2, 2005

CopySourceAsHtml (Updated)

I've released CopySourceAsHtml version 1.2.3, but it's a bit of a step backward, so don't upgrade until you read the comments below.

Update: Fixed the links.

CopySourceAsHtml 1.2.3 Installer (280 KB) (built and tested on VS.NET 2003)
CopySourceAsHtml 1.2.3 Source (38 KB)

CSAH 1.2.3 generates heavier HTML than CSAH 1.2.2. I'm releasing 1.2.3 now because at least two popular blog engines (dasBlog and Blogger) introduce spaces, line breaks, and other formatting errors when converting the lighter 1.2.2-produced HTML to XHTML for their feeds. If you're experiencing these errors, you should upgrade to 1.2.3. If not, you should wait for 1.2.4.

Credits:

  • Daniel Moth for reporting, reproducing, and diagnosing the problem with Blogger, and for testing 1.2.3.
  • Scott Hanselman for diagnosing the problem with dasBlog.
  • David Kean for reporting several UI errors fixed in 1.2.3.
Thanks guys!

Colin

02:30 PM | Colin

Comments

# RE: CopySourceAsHtml (Updated)

Hi Colin,

I'm interested in using CSAH for our blog (http://www.riverblade.co.uk/blog.php) but the links above seem to be broken.

Our blog is XML based, so I presume 1.2.3 is the best version to use?


Cheers,

Anna

08:40 AM | Anna-Jayne Metcalfe

# RE: CopySourceAsHtml (Updated)

Never mind...I've just found it! The links are still broken though.

Cheers,

Anna

08:54 AM | Anna-Jayne Metcalfe

# RE: CopySourceAsHtml (Updated)

Anna: Thanks for pointing that out. Which version you should use depends on which blog engine you use. Try 1.2.3 first and downgrade to 1.2.2 if you have trouble.

10:58 AM | Colin

# RE: CopySourceAsHtml (Updated)

I encounter an exception in CSAH v1.2.3, just doing normal copies.
It happens when I close a file. Sometimes.
Sometimes I don't even need to Ctrl-C in the file, CSAH throws a message box anyway.

You should be able to see the alert box here:
http://dinoch.dyndns.org:8080/winisp/CSAH-Exc.PNG

09:23 AM | dino

# RE: CopySourceAsHtml (Updated)

Neat idea!

I tried using it, but my VS 2003 throws this error when trying to copy as HTML:

CopySourceAsHtml caught the following exception:

System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
at EnvDTE.Property.get_Value()
at JTLeigh.Tools.CopySourceAsHtml.Connect._Copy(Boolean now)

So, unfortunately it doesn't work yet for me. :-(

07:24 PM | Adam Getchell