<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Developer&#039;s Blog &#187; Blogging</title>
	<atom:link href="http://blog.hoegaerden.be/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:15:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SQLServerPedia Awards 2010: Winner In Business Intelligence</title>
		<link>http://blog.hoegaerden.be/2010/11/11/sqlserverpedia-awards-2010-winner-in-business-intelligence/</link>
		<comments>http://blog.hoegaerden.be/2010/11/11/sqlserverpedia-awards-2010-winner-in-business-intelligence/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 14:50:50 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[articles]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[SQLServerPedia]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/11/11/sqlserverpedia-awards-2010-winner-in-business-intelligence/</guid>
		<description><![CDATA[Dear Reader, If you have read my previous post, you know that one of my articles was in the running for the first ever SQLServerPedia Awards.  And guess what?  I’ve won in the Business Intelligence category! At first I wasn’t convinced that I’d be able to get enough votes.  Jen Stirrup had been scoring quite [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Reader,</p>
<p>If you have read <a title="I Need Your Help" href="http://blog.hoegaerden.be/2010/11/03/i-need-your-help/">my previous post</a>, you know that <a title="Your First OLAP Report" href="http://blog.hoegaerden.be/2010/01/24/your-first-olap-report/">one of my articles</a> was in the running for the first ever <a title="SQLServerPedia Awards 2010: The Results" href="http://pulse.sqlserverpedia.com/awards/" target="_blank">SQLServerPedia Awards</a>.  And guess what?  I’ve won in the Business Intelligence category!</p>
<p>At first I wasn’t convinced that I’d be able to get enough votes.  <a title="Jen's BI Blog" href="http://www.jenstirrup.com/" target="_blank">Jen Stirrup</a> had been scoring quite a bit as well.  But after a couple of days I noticed that my votes kept coming in too.  So I decided to contact some more people, such as ex-colleagues, the experts at Experts Exchange, and even my neighbours!</p>
<p>The result: 181 votes, which is 53 more than the next contestant in the category.  If you’re one of those 181: thank you!!  In the overall score list, my article ended up at the third spot!  Not too bad for a first-time nominee I suppose <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I can now add an extra logo to my blog:</p>
<p><img style="display: inline; border: 0px;" title="SQLServerPediaAwards_badge-winner-bi" src="http://blog.hoegaerden.be/wp-content/uploads/SQLServerPediaAwards_badgewinnerbi.png" border="0" alt="SQLServerPediaAwards_badge-winner-bi" width="197" height="75" /></p>
<p>And my statue is on its way too.  Plus every nominee will receive a T-shirt.  Hopefully it’s one for regular use and not another one in the “suitable for household chores and bike cleaning only”-category…</p>
<p>Ow, congrats to all other winners and nominees!  To be honest, the nomination means more than the actual voting.  To get nominated, the editors (Iain Kick, Kevin Kline and Jeremiah Peschka) need to select your article out of all those present at SQLServerPedia.  Which means that it needs to be of a certain quality.  While the voting only shows how many people you know…  But the winner badge sure looks nice of course <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F11%2F11%2Fsqlserverpedia-awards-2010-winner-in-business-intelligence%2F&amp;title=SQLServerPedia%20Awards%202010%3A%20Winner%20In%20Business%20Intelligence" id="wpa2a_2"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/11/11/sqlserverpedia-awards-2010-winner-in-business-intelligence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I Need Your Help</title>
		<link>http://blog.hoegaerden.be/2010/11/03/i-need-your-help/</link>
		<comments>http://blog.hoegaerden.be/2010/11/03/i-need-your-help/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 10:10:57 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[articles]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[SQLServerPedia]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/11/03/i-need-your-help/</guid>
		<description><![CDATA[Dear reader, Usually I’m helping you out by posting articles, quick tips or just some narration of my experience on my blog.  This time however I’m the one who needs your help. I’m happy to announce that one of my articles – Your First OLAP Report, republished at SQLServerPedia – has been nominated in the [...]]]></description>
			<content:encoded><![CDATA[<p>Dear reader,</p>
<p>Usually I’m helping you out by posting articles, quick tips or just some narration of my experience on my blog.  This time however I’m the one who needs your help.</p>
<p>I’m happy to announce that one of my articles – <a title="Your First OLAP Report" href="http://blog.hoegaerden.be/2010/01/24/your-first-olap-report/">Your First OLAP Report</a>, republished at SQLServerPedia – has been nominated in the 2010 SQLServerPedia Awards!</p>
<p>So, may I kindly ask you to vote for my article?  You can find it in the Business Intelligence category here: <a title="http://pulse.sqlserverpedia.com/awards/category/business-intelligence/" href="http://pulse.sqlserverpedia.com/awards/category/business-intelligence/">http://pulse.sqlserverpedia.com/awards/category/business-intelligence/</a></p>
<p>As you can see, I’ve got quite some competition so I can really use all the votes.</p>
<p>Many thanks!!</p>
<p>PS: I’ll reward you by continuing to post articles and other posts on my blog <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>As usual, have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F11%2F03%2Fi-need-your-help%2F&amp;title=I%20Need%20Your%20Help" id="wpa2a_4"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/11/03/i-need-your-help/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Post A Comment, Please! Or, How Do You Stay Fit?</title>
		<link>http://blog.hoegaerden.be/2010/10/19/post-a-comment-please-or-how-do-you-stay-fit/</link>
		<comments>http://blog.hoegaerden.be/2010/10/19/post-a-comment-please-or-how-do-you-stay-fit/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:31:50 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/10/19/post-a-comment-please-or-how-do-you-stay-fit/</guid>
		<description><![CDATA[A while ago I had been thinking to do something about the amount of comments on my blog.  When I divide the number of comments by the number of visitors, I’m getting a really small percentage.  So small that the first two digits following the decimal separator are zeroes! Maybe that’s because I’m not frequently [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I had been thinking to do something about the amount of comments on my blog.  When I divide the number of comments by the number of visitors, I’m getting a really small percentage.  So small that the first two digits following the decimal separator are zeroes!</p>
<p>Maybe that’s because I’m not frequently asking people to actually comment on what I write.  Everyone is free to comment, but I’m not asking for it explicitly.  Most people will only post a comment when they don’t agree with what I wrote, or when they have an issue that might (or might not) be related to the post’s subject.  And some people will post a comment when they’re really satisfied with what I wrote, for instance because it saved them some/a lot of time.  But only a minority of visitors are actually doing that.</p>
<p>And that’s okay, I’m not expecting everyone to post a comment every time they read something here.  On the other hand, that means that I don’t know anything about you besides what the web statistics tell me.  All I have are some numbers indicating things like “most visitors are coming from the US”, or “post A was the most read post in the last X months”.  But it doesn’t really say anything about you: what’s your name, what are your daily activities, who do you work for, and so on.</p>
<h2>But, Who Are You?</h2>
<p>Then I came across a blog post by <a title="Adam Machanic's Blog" href="http://sqlblog.com/blogs/adam_machanic/default.aspx" target="_blank">Adam Machanic</a>, where he’s doing exactly what I’d been thinking.  His post is titled <a title="Who Are You?" href="http://sqlblog.com/blogs/adam_machanic/archive/2010/08/17/who-are-you.aspx" target="_blank">Who Are You?</a>.</p>
<p>Following his example, I’m asking you now to post a comment here.  Tell me (and the world) something about yourself, anything.</p>
<p>In case you want to know something about me, I’m sure there’s plenty to be found on this very site, for instance in <a title="My About page" href="http://blog.hoegaerden.be/about/">my About page</a>.</p>
<p>If there’s something about me that you couldn’t find and want to know, post a question here and I’ll answer.</p>
<h2>And How Do You Stay Fit?</h2>
<p><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="Cube Reaction Pro" src="http://blog.hoegaerden.be/wp-content/uploads/Cube_Reaction_Pro_MTB.jpg" border="0" alt="Cube Reaction Pro" width="403" height="246" align="right" /> Now that I’m asking for some interactivity from you, let’s add one more question.  Given our profession, we’re probably not getting enough physical activity during our regular daytime tasks.  So, what are you doing to stay in shape?</p>
<p>I tried running for a while but found that I couldn’t get myself into those running shoes frequently enough.  Then my eldest daughter started to take swimming classes.  And I decided to go swimming as well while she’s being kept busy by the swimming instructor.  So every Wednesday evening I swim for about half an hour.  In that time I can do 700-800 meters.</p>
<p>And recently I’ve added an additional sport to the list: mountain biking.  I try to get on the bike once a week, either Saturday or Sunday.  Distances so far reach between 25 and 55 kilometers.  Terrain so far includes small paths through forests (known as <a title="Wikipedia: Single track (mountain biking)" href="http://en.wikipedia.org/wiki/Single_track_%28mountain_biking%29" target="_blank">single track</a>), mud, roots and trunks, cobblestone, sand, paths through agricultural fields and also regular road.  The region where I’m doing this is not flat either, so physically this requires quite a bit more than swimming.  But I really like it, it gives me a sense of freedom and I get to see some nice landscapes, and trees from real close-by.  Currently I’m using a second-hand bike which I have bought for a good price from my brother-in-law but by next year’s Summer or so I’m planning to buy a new one.  So the MTB on the picture is not my bike yet, but it’s one of the possibilities on my list for next year.  I’ve got official dealers for Cube, Trek and Specialized close-by so it’ll be a difficult choice <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   If you happen to know one of these brands and you’re happy with it, do post a comment to share your experience!</p>
<p>With these two sports on my list of sports activities, I’m happy and I can feel the difference as opposed to no extra activity at all.</p>
<p>How about you, what do you do to keep up the shape?</p>
<p>Looking forward to those replies!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F10%2F19%2Fpost-a-comment-please-or-how-do-you-stay-fit%2F&amp;title=Post%20A%20Comment%2C%20Please%21%20Or%2C%20How%20Do%20You%20Stay%20Fit%3F" id="wpa2a_6"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/10/19/post-a-comment-please-or-how-do-you-stay-fit/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Comparing Writing Locations</title>
		<link>http://blog.hoegaerden.be/2010/06/06/comparing-writing-locations/</link>
		<comments>http://blog.hoegaerden.be/2010/06/06/comparing-writing-locations/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 19:40:22 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/06/06/comparing-writing-locations/</guid>
		<description><![CDATA[In this post I’ll be comparing the different places where I write blog articles. Here’s the location list: home office garden train work At Home My Office My home office is the place where I’ve written most of my posts so far.&#160; It’s a quiet place, even when the kids are at home, because there’s [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I’ll be comparing the different places where I write blog articles.</p>
<p>Here’s the location list:</p>
<ul>
<li>home office </li>
<li>garden </li>
<li>train </li>
<li>work </li>
</ul>
<h2>At Home</h2>
<h3>My Office</h3>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="The pink animal clock of Windows 7" border="0" alt="The pink animal clock of Windows 7" align="right" src="http://blog.hoegaerden.be/wp-content/uploads/image288.png" width="139" height="145" />My home office is the place where I’ve written most of my posts so far.&#160; It’s a quiet place, even when the kids are at home, because there’s a hallway in between that room and the living room.&#160; So it’s a good place to write, easy to concentrate.</p>
<p>Our youngest daughter though, three years old, may occasionally take a peek through the glass door.&#160; In fact, sometimes she even comes and sits on my lap to watch what I’m doing.&#160; Her favorite clock type in Windows 7 is the pink animal, not sure what type of animal it is.</p>
<p>But that’s okay, as I’m using my free time to write these articles I occasionally need life to interfere and remind me about that fact.&#160; That’s usually the time to stop writing and spend some time with the family.</p>
<h4>Pros</h4>
<ul>
<li>Fast internet connection </li>
<li>Quiet, good for concentration </li>
</ul>
<h4>Cons</h4>
<ul>
<li>No fresh air </li>
</ul>
<h3>My Garden</h3>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Weather forecast for today, June 4th 2010: 23°C!" border="0" alt="Weather forecast for today, June 4th 2010: 23°C!" align="right" src="http://blog.hoegaerden.be/wp-content/uploads/image289.png" width="143" height="77" />Now that the weather has started to prepare Belgium for Summer, I prefer to spend my spare time outside sitting in our garden.&#160; And sometimes, usually during the nice warm weekends, I want to use some of that time to produce an article.&#160; With my wireless network, parasol, table and chair, I’m all set up for it.&#160; While sitting outside I can even keep an eye on the kids, who are also outside playing with their slide, trampoline, swing, …</p>
<h4>Pros</h4>
<ul>
<li>Can get something done while not missing out on the nice weather </li>
<li>Internet access (provided you’ve got a wireless network) </li>
</ul>
<h4>Cons</h4>
<ul>
<li>Laptop seems to run a bit warmer, probably because it’s warmer outside than in my office </li>
<li>Need an electricity plug for longer sessions </li>
</ul>
<h2>On The Road</h2>
<h3>In The Train</h3>
<p><a href="http://www.amazon.com/Swiss-Gear-17-Inch-Notebook-Backpack/dp/B000WQCYDI/ref=sr_1_12?ie=UTF8&amp;s=electronics&amp;qid=1275825831&amp;sr=8-12" target="_blank"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="My new Swiss Gear Ibex 17-Inch Notebook Backpack" border="0" alt="My new Swiss Gear Ibex 17-Inch Notebook Backpack" align="right" src="http://blog.hoegaerden.be/wp-content/uploads/image290.png" width="176" height="239" /></a> Recently I’ve bought myself <a title="Swiss Gear Ibex 17-Inch Notebook Backpack" href="http://www.amazon.com/Swiss-Gear-17-Inch-Notebook-Backpack/dp/B000WQCYDI/ref=sr_1_12?ie=UTF8&amp;s=electronics&amp;qid=1275825831&amp;sr=8-12" target="_blank">this backpack</a> and it was the best thing I could buy.&#160; My current client are the Belgian Railways.&#160; Their offices are of course located close to a train station, so most of the time I’m commuting to/from work by train.&#160; A one-way trip takes about 45 minutes and my main occupation so far has been reading or sitting with my eyes closed listening to music.</p>
<p>Until now.&#160; With this new backpack I can easily take my laptop with me and use it to write, or to play with SQL Server, prepare a demo, ….&#160; In fact, right now while I’m typing this I’m sitting on the train.&#160; Without the backpack it was just too painful.&#160; I need to walk about 8 minutes to get from the train station to the offices of my client and with the standard Dell bag the weight of the laptop is just too much on my shoulder.</p>
<p>In the mornings I still close my eyes though, that’s just too early to get something useful done anyway.</p>
<h4>Pros</h4>
<ul>
<li>No time wasted doing nothing </li>
<li>More free time at home to spend with wife and daughters </li>
</ul>
<h4>Cons</h4>
<ul>
<li>No internet – no quick lookups </li>
<li>No internet – publishing will be delayed </li>
<li>No internet – links will need to be added later from another location in my list above </li>
<li>May get noisy on the crowded trains – difficult to concentrate </li>
<li>No mouse connected due to not enough space – I so miss it! </li>
<li>No electricity (but my battery lasts long enough so not an issue) </li>
</ul>
<h2>At Work</h2>
<p>Well, actually, I’m just kidding here.&#160; You thought it was for real?&#160; Did you jump down straight from the top to get to this section?&#160; I think I may have scared a couple of people, such as my employer.&#160; Which is actually the intention of this paragraph, ha! (If you’re one of those, post a comment!) <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I’m not <a title="Brent Ozar is one of &quot;those guys&quot;" href="http://www.brentozar.com/archive/2010/04/rock-stars-normal-people-and-you/" target="_blank">one of those guys</a> who has the possibility to blog and get paid for it.</p>
<h2>Conclusion</h2>
<p>Even though I’ve listed quite some cons on writing while sitting in a train, I still like it.&#160; Just because it’s much more productive than anything else that can be done at that time, and the time spent on the train is not something that’s optional or depends on a decision.&#160; At home I can decide to make some time free for writing, whether if it’s in my office or in the garden.&#160; But the train is a place where I will certainly spend some time each working day.&#160; I can’t decide to not spend time on the train.&#160; Except when I commute by car – which is something I do when I’ve got a meeting or info session in the evening – but that’s another story.</p>
<p><strong>Real conclusion:</strong> sometimes buying a backpack can save you time.</p>
<p>Time for me to start the weekend and get off the train!</p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F06%2F06%2Fcomparing-writing-locations%2F&amp;title=Comparing%20Writing%20Locations" id="wpa2a_8"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/06/06/comparing-writing-locations/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using Google Reader As Your Blogroll Source</title>
		<link>http://blog.hoegaerden.be/2010/02/19/using-google-reader-as-your-blogroll-source/</link>
		<comments>http://blog.hoegaerden.be/2010/02/19/using-google-reader-as-your-blogroll-source/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 20:46:24 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Google Reader]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/19/using-google-reader-as-your-blogroll-source/</guid>
		<description><![CDATA[If you&#8217;re using Google Reader and you&#8217;ve got a WordPress blog then I&#8217;ve got a really useful tip for you! Especially if you want to save time maintaining all those links in your blogrolls. You can synchronize your blogrolls on your blog with folders in your Google Reader. Which means zero maintenance for your blogrolls: [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using <a title="Google Reader" href="http://www.google.com/reader/" target="_blank">Google Reader</a> and you&#8217;ve got a <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a> blog then I&#8217;ve got a really useful tip for you!</p>
<p>Especially if you want to save time maintaining all those links in your <a title="Wikipedia - Glossary of blogging" href="http://en.wikipedia.org/wiki/Glossary_of_blogging" target="_blank">blogrolls</a>.</p>
<p>You can synchronize your blogrolls on your blog with folders in your Google Reader. Which means zero maintenance for your blogrolls: they&#8217;re automatically updated when you update your Reader subscriptions.</p>
<p>I actually found this solution on another site so I&#8217;ll just point you there: <a href="http://www.adashofbitters.com/2009/01/02/blogroll-google-reader-wordpress-easy/">http://www.adashofbitters.com/2009/01/02/blogroll-google-reader-wordpress-easy/</a></p>
<p>You can see it in action in my sidebar on the right. Several of those link lists are being fed from Google Reader, such as the one called &quot;SQL Blogs @Microsoft&quot;.</p>
<p>Happy blogging!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F02%2F19%2Fusing-google-reader-as-your-blogroll-source%2F&amp;title=Using%20Google%20Reader%20As%20Your%20Blogroll%20Source" id="wpa2a_10"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/19/using-google-reader-as-your-blogroll-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Live Writer: Paste Code Plug-In</title>
		<link>http://blog.hoegaerden.be/2010/01/15/windows-live-writer-paste-code-plug-in/</link>
		<comments>http://blog.hoegaerden.be/2010/01/15/windows-live-writer-paste-code-plug-in/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 21:31:23 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Windows Live Writer]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/01/15/windows-live-writer-paste-code-plug-in/</guid>
		<description><![CDATA[Here’s a tip for anyone who’s using Windows Live Writer for blogging and wants to paste code into the articles. Ever since my first code post back in July 2008 I have tried about four different Live Writer plug-ins to get the code formatting right.  Three of those are still installed today and I regularly [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s a tip for anyone who’s using <a title="Windows Live Writer - Download Here" href="http://download.live.com/writer">Windows Live Writer</a> for blogging and wants to paste code into the articles.</p>
<p>Ever since <a title="Excel Automation: the CultureInfo bug" href="http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/">my first code post back in July 2008</a> I have tried about four different Live Writer plug-ins to get the code formatting right.  Three of those are still installed today and I regularly use two of them.  As I post code samples in several languages (SQL, MDX, C#, VB, XML, &#8230;) I need the plug-in to support all those languages and to turn the code into decent output.  It would be ideal if I could do all this with just one plug-in.</p>
<p><em><strong>Disclaimer:</strong> the code shown in this article is copied from my own blog or from Microsoft code samples.  They are not guaranteed to be complete and are just for demonstration purposes.  No explanation is provided on what the code is supposed to be doing either.</em></p>
<h2>The Old Stuff</h2>
<p>Following three screenshots will show you those three plug-ins in action.</p>
<h3>Code Snippet</h3>
<p><a title="Code Snippet plugin for Windows Live Writer" href="http://plugins.live.com/writer/detail/code-snippet-plugin-for-windows-live-writer" target="_blank">More info through this link</a> and <a title="Leo Vildosola's Blog: Code Snippet plugin for Windows Live Writer v2.0.0" href="http://lvildosola.blogspot.com/2009/03/code-snippet-plugin-for-windows-live.html" target="_blank">even more info on the author&#8217;s blog</a>.</p>
<p><img style="display: inline; border-width: 0px;" title="Code Snippet in action with some C# code" src="http://blog.hoegaerden.be/wp-content/uploads/image144.png" border="0" alt="Code Snippet in action with some C# code" width="640" height="564" /></p>
<h3>Colorized Code</h3>
<p><a title="Windows Live Writer Plugin to Insert Colorized Code" href="http://www.carlosag.net/Tools/WindowsLiveWriter/">More info through this link</a></p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image145.png"><img style="display: inline; border-width: 0px;" title="Code Colorizer in action with some T-SQL" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb38.png" border="0" alt="Code Colorizer in action with some T-SQL" width="669" height="325" /></a></p>
<h3>Source Code Formatter</h3>
<p><a title="Windows Live Writer Plugin - Source Code Formatter" href="http://www.amergerzic.com/post/WLWSourceCodePlugin.aspx">More info through this link</a></p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image146.png"><img style="display: inline; border-width: 0px;" title="Source Code in action with some XML" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb39.png" border="0" alt="Source Code in action with some XML" width="673" height="334" /></a></p>
<p>This last one is the one that I don’t use very often – to be honest I don’t even remember what I’ve actually used it for…</p>
<p>Now, back to the real reason for this article.</p>
<h2>Time For Something New</h2>
<p>As I mentioned before, I’m not extremely happy with the fact that I need to use several plug-ins for a similar task.  I keep forgetting which one the more interesting one is for SQL, or for C#, or whatever, I think you get my point.  It would be perfect if one plug-in could do all this.  And it has taken me quite a while but I think I may finally have found that one plug-in.  You can see it in action in <a title="List All SSIS Packages Deployed On Your Integration Server" href="http://blog.hoegaerden.be/2010/01/10/list-all-ssis-packages-deployed-on-your-integration-server/">my previous post</a>.  Doesn’t that look nice?</p>
<p>What I like most about this plug-in is that the developer has taken a different approach to get the formatting done.  All other plug-ins that I&#8217;ve tried required me to paste the code into a pop-up window and select the right programming language, as I’ve shown you above.  This one is much simpler: it takes what is stored in the clipboard, including the formatting!</p>
<p>In my opinion this has two interesting advantages:</p>
<ul>
<li><strong>Faster</strong>: no messing around with a pop-up window</li>
<li><strong>Accurate</strong>: as it uses the formatting as provided by the application from which it was copied, it will look exactly the same!  Which is something that I can’t say about the other plug-ins.</li>
</ul>
<p>Okay, this means I don&#8217;t have any other options either, no line numbering, no alternating background coloring, &#8230;  But who cares when the output looks good?  And I don’t use those extra features anyway.</p>
<p>Here are some pasted snippets using my new favorite plug-in.</p>
<h3>SQL copied from the Management Studio (SSMS 2008)</h3>
<pre class="code"><span style="color: green;">--a comment
</span><span style="color: blue;">declare </span>@number <span style="color: blue;">int </span><span style="color: gray;">= </span>42<span style="color: gray;">;
</span><span style="color: blue;">declare </span>@character <span style="color: blue;">char</span><span style="color: gray;">(</span>1<span style="color: gray;">) = </span><span style="color: red;">'0'</span><span style="color: gray;">;
</span><span style="color: blue;">declare </span>@expectedLength <span style="color: blue;">int </span><span style="color: gray;">= </span>8<span style="color: gray;">;
</span><span style="color: green;">/* a block comment */
</span><span style="color: blue;">select </span><span style="color: magenta;">REPLICATE</span><span style="color: gray;">(</span>@character<span style="color: gray;">, </span>@expectedLength <span style="color: gray;">- </span><span style="color: magenta;">LEN</span><span style="color: gray;">(</span>@number<span style="color: gray;">)) </span>
<blockquote>

<span style="color: gray;">+ </span><span style="color: magenta;">CAST</span><span style="color: gray;">(</span>@number <span style="color: blue;">as varchar</span><span style="color: gray;">(</span>8<span style="color: gray;">)) </span><span style="color: blue;">as </span>Result<span style="color: gray;">;</span>
</blockquote>
</pre>
<h3>MDX Copied From SQL Server Management Studio (SSMS 2008)</h3>
<pre class="code"><span style="color: blue;">SELECT NON EMPTY </span>{ [Measures].[Reseller Sales Amount], [Measures].[Reseller Order Quantity] } <span style="color: blue;">ON COLUMNS</span>,
<span style="color: blue;">NON EMPTY </span>{ ([Geography].[Geography].[Postal Code].<span style="color: maroon;">ALLMEMBERS </span>) }
<span style="color: blue;">DIMENSION PROPERTIES MEMBER_CAPTION</span>, <span style="color: blue;">MEMBER_UNIQUE_NAME ON ROWS
FROM </span>[Adventure Works]
<span style="color: blue;">CELL PROPERTIES VALUE</span>, <span style="color: blue;">BACK_COLOR</span>, <span style="color: blue;">FORE_COLOR</span>, <span style="color: blue;">FORMATTED_VALUE</span>, <span style="color: blue;">FORMAT_STRING</span>, <span style="color: blue;">FONT_NAME</span>, <span style="color: blue;">FONT_SIZE</span>, <span style="color: blue;">FONT_FLAGS</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<h3>C# Copied From Visual Studio (VS 2008)</h3>
<pre class="code"><span style="color: blue;">public partial class </span><span style="color: #2b91af;">StoredProcedures
</span>{
    [Microsoft.SqlServer.Server.<span style="color: #2b91af;">SqlProcedure</span>]
    <span style="color: blue;">public static void </span>WeatherSP(<span style="color: blue;">string </span>zipCode)
    {
        <span style="color: #2b91af;">Weather </span>myWeatherWS = <span style="color: blue;">new </span><span style="color: #2b91af;">Weather</span>();
        <span style="color: #2b91af;">WeatherReturn </span>weatherResult = myWeatherWS.GetCityWeatherByZIP(zipCode);

        <span style="color: #2b91af;">SqlMetaData</span>[] recordMetaData = <span style="color: blue;">new </span><span style="color: #2b91af;">SqlMetaData</span>[2];
        <span style="color: green;">// layout of the records that we'll return
        </span>recordMetaData[0] = <span style="color: blue;">new </span><span style="color: #2b91af;">SqlMetaData</span>(<span style="color: #a31515;">"Description"</span>, <span style="color: #2b91af;">SqlDbType</span>.Char, 100);
        recordMetaData[1] = <span style="color: blue;">new </span><span style="color: #2b91af;">SqlMetaData</span>(<span style="color: #a31515;">"Value"</span>, <span style="color: #2b91af;">SqlDbType</span>.Char, 1000);

        <span style="color: green;">// build a record based on the metadata
        </span><span style="color: #2b91af;">SqlDataRecord </span>record = <span style="color: blue;">new </span><span style="color: #2b91af;">SqlDataRecord</span>(recordMetaData);

        <span style="color: green;">// let's start sending result into the active pipe
        </span><span style="color: #2b91af;">SqlContext</span>.Pipe.SendResultsStart(record);</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<h3>XML Copied From Visual Studio (VS 2008)</h3>
<pre class="code"><span style="color: blue;">&lt;?</span><span style="color: #a31515;">xml </span><span style="color: red;">version</span><span style="color: blue;">=</span>"<span style="color: blue;">1.0</span>" <span style="color: red;">encoding</span><span style="color: blue;">=</span>"<span style="color: blue;">utf-8</span>" <span style="color: blue;">?&gt;
&lt;</span><span style="color: #a31515;">configuration</span><span style="color: blue;">&gt;
    &lt;</span><span style="color: #a31515;">appSettings</span><span style="color: blue;">&gt;
        &lt;</span><span style="color: #a31515;">add </span><span style="color: red;">key</span><span style="color: blue;">=</span>"<span style="color: blue;">MyWebService</span>" <span style="color: red;">value</span><span style="color: blue;">=</span>"<span style="color: blue;">http://MyWebServiceServer:MyWSPort/PathTo/MyWebService.asmx</span>" <span style="color: blue;">/&gt;
    &lt;/</span><span style="color: #a31515;">appSettings</span><span style="color: blue;">&gt;
&lt;/</span><span style="color: #a31515;">configuration</span><span style="color: blue;">&gt;</span></pre>
<h3>VB.NET Copied From Visual Studio (VS 2005)</h3>
<pre class="code">#<span style="color: blue;">Region </span><span style="color: #a31515;">"AddColumnInformation"

    </span><span style="color: green;">'/ &lt;summary&gt;
    '/ Stores the column information of the provided input and output objects in a ColumnInfo object.
    '/ This method is called by the RemoveDuplicates component during PreExecute when the BufferManager
    '/ is available, and assumes the exact same number of input and output columns.
    '/ &lt;/summary&gt;
    '/ &lt;param name="bufferManager"&gt;The IDTSBufferManager100; used to locate the columns
    '/ in the input and output buffers.&lt;/param&gt;
    '/ &lt;param name="output"&gt;The output of the component.&lt;/param&gt;
    '/ &lt;param name="input"&gt;The input of the component.&lt;/param&gt;
    </span>&lt;System.Diagnostics.CodeAnalysis.SuppressMessage(<span style="color: #a31515;">"Microsoft.Usage"</span>, <span style="color: #a31515;">"CA2201:DoNotRaiseReservedExceptionTypes"</span>)&gt; _
    &lt;System.Diagnostics.CodeAnalysis.SuppressMessage(<span style="color: #a31515;">"Microsoft.Globalization"</span>, <span style="color: #a31515;">"CA1303:DoNotPassLiteralsAsLocalizedParameters"</span>, MessageId:=<span style="color: #a31515;">"System.Exception.#ctor(System.String)"</span>)&gt; _
    &lt;CLSCompliant(<span style="color: blue;">False</span>)&gt; _
    <span style="color: blue;">Public Sub </span>AddColumnInformation(<span style="color: blue;">ByVal </span>bufferManager <span style="color: blue;">As </span>IDTSBufferManager100, <span style="color: blue;">ByVal </span>output <span style="color: blue;">As </span>IDTSOutput100, <span style="color: blue;">ByVal </span>input <span style="color: blue;">As </span>IDTSInput100)
        <span style="color: blue;">If </span>input <span style="color: blue;">Is Nothing Then
            Throw New </span>ArgumentNullException(<span style="color: #a31515;">"input"</span>)
        <span style="color: blue;">End If

        If </span>output <span style="color: blue;">Is Nothing Then
            Throw New </span>ArgumentNullException(<span style="color: #a31515;">"output"</span>)
        <span style="color: blue;">End If

        If </span>bufferManager <span style="color: blue;">Is Nothing Then
            Throw New </span>ArgumentNullException(<span style="color: #a31515;">"bufferManager"</span>)
        <span style="color: blue;">End If

        If </span>input.InputColumnCollection.Count &lt;&gt; output.OutputColumnCollection.Count <span style="color: blue;">Then
            Throw New </span>Exception(<span style="color: #a31515;">"Input column collection does not match the output column collection."</span>)
        <span style="color: blue;">End If

        For </span>x <span style="color: blue;">As Integer </span>= 0 <span style="color: blue;">To </span>output.OutputColumnCollection.Count - 1
            <span style="color: blue;">Dim </span>colInfo <span style="color: blue;">As New </span>ColumnInfo()
            <span style="color: blue;">Dim </span>outCol <span style="color: blue;">As </span>IDTSOutputColumn100 = output.OutputColumnCollection(x)
            <span style="color: blue;">Dim </span>inCol <span style="color: blue;">As </span>IDTSInputColumn100 = input.InputColumnCollection(x)

            <span style="color: green;">' Set the buffer column index for the input column and the output column.
            </span>colInfo.inputBufferColumnIndex = bufferManager.FindColumnByLineageID(input.Buffer, inCol.LineageID)
            colInfo.outputBufferColumnIndex = bufferManager.FindColumnByLineageID(output.Buffer, outCol.LineageID)

            <span style="color: green;">' Save the column
            </span>columnInfos.Add(colInfo)
        <span style="color: blue;">Next </span>x
    <span style="color: blue;">End Sub
</span>#<span style="color: blue;">End Region
End Class</span></pre>
<p>One feature though that I&#8217;d like to see is a horizontal scrollbar when the code lines are longer than the width of the code block.  Right now it automatically wraps the text which makes it a bit difficult to read.  So I have to pay attention when pasting code.  Although it’s not always obvious, you can see this wrapping occur in three of the above code snippets (MDX, XML, VB.NET).</p>
<p>To conclude this article: the new plug-in that I’m using is called <strong>Paste from Visual Studio</strong> (or VSPaste), developed by <a title="Visual Studio to HTML (vs2html.exe) by Douglas Stockwell" href="http://www.11011.net/software/vs2html" target="_blank">Douglas Stockwell</a>.  You can <a title="Paste from Visual Studio" href="http://plugins.live.com/writer/detail/paste-from-visual-studio" target="_blank">download it here</a>.</p>
<p>Out of curiosity, I wonder how it performs when pasting formatted text from Word (2007):</p>
<p><span style="color: red;"><a href="http://11011.net/software/vspaste"></a></span><span style="color: red;"><a href="http://11011.net/software/vspaste"></a></span></p>
<pre class="code">PrFont34Bin0BinSub0Frac0Def1Margin0Margin0Jc1Indent1440Lim0Lim1Some bold text
And some italic
Italic, bold and underline in combination
Text in <span style="color: #548dd4;">blue and </span><span style="color: #00b050;">green and </span><span style="color: red;">red on one line
</span></pre>
<p>Okay, ow, look at that, I’m writing in red now, that can’t be the intention!<span style="color: #000000;"> Luckily Live Writer allows me to switch back to black.</span></p>
<p><em>Update: the &#8220;writing in red&#8221; was apparently only visible in Live Writer&#8230;</em></p>
<p><span style="color: #000000;">So, conclusion: VSPaste not only works when pasting from Visual Studio, SQL Server Management Studio is working perfect as well!  But Word is not.  But that&#8217;s not a problem <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <br />
</span></p>
<p><span style="color: #000000;">Happy blogging!</span></p>
<p><span style="color: #000000;">Valentino.</span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F01%2F15%2Fwindows-live-writer-paste-code-plug-in%2F&amp;title=Windows%20Live%20Writer%3A%20Paste%20Code%20Plug-In" id="wpa2a_12"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/01/15/windows-live-writer-paste-code-plug-in/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress Spam</title>
		<link>http://blog.hoegaerden.be/2008/11/23/wordpress-spam/</link>
		<comments>http://blog.hoegaerden.be/2008/11/23/wordpress-spam/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 08:57:52 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/23/wordpress-spam/</guid>
		<description><![CDATA[I wasn&#8217;t getting a lot of spam on this blog until recently &#8211; I guess the URL has entered some kind of &#8220;Spam Test Targets: Rookie Level&#8221;-list &#8211; so I decided to do something about it. WordPress comes with a spam blocker called Akismet.  By default this plugin is not active.  To activate it you [...]]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t getting a lot of spam on this blog until recently &#8211; I guess the URL has entered some kind of &#8220;Spam Test Targets: Rookie Level&#8221;-list &#8211; so I decided to do something about it.</p>
<p>WordPress comes with a spam blocker called Akismet.  By default this plugin is not active.  To activate it you need to register @ <a title="WordPress website" href="http://www.wordpress.org" target="_blank">wordpress.org</a>.  This gives you a unique API key which you need to enter when activating Akismet.</p>
<p>Since I activated it yesterday it has intercepted 43 spam messages.  Way to go Akismet! <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks go to the writer of this <a title="7 Tools For Fighting Spam In WordPress" href="http://mashable.com/2008/02/10/fighting-spam-wordpress/" target="_blank">list of tools for fighting spam in WordPress</a>.  If Akismet is not enough, check out the other tools mentioned on the site.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2008%2F11%2F23%2Fwordpress-spam%2F&amp;title=WordPress%20Spam" id="wpa2a_14"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2008/11/23/wordpress-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress config changes for Windows Live Writer</title>
		<link>http://blog.hoegaerden.be/2008/07/27/wordpress-config-changes-for-windows-live-writer/</link>
		<comments>http://blog.hoegaerden.be/2008/07/27/wordpress-config-changes-for-windows-live-writer/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 10:36:04 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Windows Live Writer]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/wordpress-config-changes-for-windows-live-writer/</guid>
		<description><![CDATA[I&#8217;m using Windows Live Writer (version 2008, build 12.0.1370.325) to write my posts on this WordPress 2.6 blog.  To be able to do this I had to make a couple of changes to the default configuration of WordPress. Activate XML-RPC in Settings &#62; Writing, by default this is disabled. Modify the upload folder in Settings [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using Windows Live Writer (version 2008, build 12.0.1370.325) to write my posts on this WordPress 2.6 blog.  To be able to do this I had to make a couple of changes to the default configuration of WordPress.</p>
<ol>
<li>Activate XML-RPC in Settings &gt; Writing, by default this is disabled.</li>
<li>Modify the upload folder in Settings &gt; Miscellaneous.  By default this was &#8220;wp-content&#8221;.  I changed it to &#8220;wp-content/uploads&#8221; and I created the uploads folder manually on the server (with 777 rights).  This is the folder where the images will end up.</li>
</ol>
<p>After these two changes I was able connect to the blog with WLW and post the article about the black background issue (which contains an image).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2008%2F07%2F27%2Fwordpress-config-changes-for-windows-live-writer%2F&amp;title=WordPress%20config%20changes%20for%20Windows%20Live%20Writer" id="wpa2a_16"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2008/07/27/wordpress-config-changes-for-windows-live-writer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

