My test was successful. I wrote a blogpost in Word 2007 and pasted in some source code. The result was pretty impressing. Let’s give it one more try. This time without line breaks or numbers in CopySourceAsHtml
public
void SyncData()
{
DacProService.BasisData newBasis;
try
{
newBasis = webService.GetBasisData();
basisData.Clear();
basisData.Merge(newBasis);
SaveLocal();
}
catch
{
MessageBox.Show("Niet kunnen synchroniseren");
}
}
My test was not that successful when it came to images. Automatic picture upload sounds interesting but has a big drawback. In the blog configuration you have to tell Word where to store the images using ftp. This is a problem in Community Server. The URL to an image is a computed one. It’s something like http://codebetter.com/photos/peter.van.ooijen/images/152093/original.aspx. I cannot access the folder http://codebetter.com/photos/peter.van.ooijen/images/152093/ to write to. And Word cannot compute the url of the image when uploading. Support for other ways are in the pipeline.
One other thing I missed was the possibility to add tags to my post. I’ll have to do that by hand in the CS dashboard. Together with inserting the images. But for the first, most elaborate part of publishing a draft Word is now my tool of choice. Goodbye Frontpage.