<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]</title><link>http://blogs.msdn.com/b/delay/archive/2009/12/20/blogging-code-samples-stays-easy-update-to-free-convertclipboardrtftohtmltext-tool-and-source-code-for-visual-studio-2010.aspx</link><description>A big part of my blog is sharing code and so most of the posts I write include sample source. Therefore, it's pretty important to me that the code I share be easy for readers to understand and use. For me, that means I want it to be static, syntax-highlighted</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]</title><link>http://blogs.msdn.com/b/delay/archive/2009/12/20/blogging-code-samples-stays-easy-update-to-free-convertclipboardrtftohtmltext-tool-and-source-code-for-visual-studio-2010.aspx#9940421</link><pubDate>Wed, 23 Dec 2009 07:52:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9940421</guid><dc:creator>David Anson</dc:creator><description>&lt;p&gt;mrjvdveen,&lt;/p&gt;
&lt;p&gt;Thanks for sharing - good luck with that!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9940421" width="1" height="1"&gt;</description></item><item><title>re: Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]</title><link>http://blogs.msdn.com/b/delay/archive/2009/12/20/blogging-code-samples-stays-easy-update-to-free-convertclipboardrtftohtmltext-tool-and-source-code-for-visual-studio-2010.aspx#9940419</link><pubDate>Wed, 23 Dec 2009 07:50:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9940419</guid><dc:creator>David Anson</dc:creator><description>&lt;p&gt;sameerct,&lt;/p&gt;
&lt;p&gt;Thanks - I'm glad you like it!&lt;/p&gt;
&lt;p&gt;Regarding your feedback about extra spans, other than an initial (possibly blank) span, every span that ConvertClipboardRtfToHtmlText uses is due to a color transition in the RTF source from Visual Studio. In other words, Visual Studio is responsible for the extra stuff and ConvertClipboardRtfToHtmlText just passes it on. :)&lt;/p&gt;
&lt;p&gt;That said, there's no reason it needs to do so. I've thinking about spending a bit more time on this to remove the unnecessary spans and decrease the size of the resulting HTML. Depending on how busy the holidays turn out to be, I may or may not get to this in the next couple of weeks... :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9940419" width="1" height="1"&gt;</description></item><item><title>re: Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]</title><link>http://blogs.msdn.com/b/delay/archive/2009/12/20/blogging-code-samples-stays-easy-update-to-free-convertclipboardrtftohtmltext-tool-and-source-code-for-visual-studio-2010.aspx#9939974</link><pubDate>Tue, 22 Dec 2009 08:52:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9939974</guid><dc:creator>mrjvdveen</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I've build something similar a while back with a WPF UI and templating support (XSLT). Check it out on my blog. It's called CodeEmbed4Web.&lt;/p&gt;
&lt;p&gt;Another great tool to embed code in blog posts is Live Writer plugin Code Snippet.&lt;/p&gt;
&lt;p&gt;Greets,&lt;/p&gt;
&lt;p&gt;Jonathan&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9939974" width="1" height="1"&gt;</description></item><item><title>re: Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]</title><link>http://blogs.msdn.com/b/delay/archive/2009/12/20/blogging-code-samples-stays-easy-update-to-free-convertclipboardrtftohtmltext-tool-and-source-code-for-visual-studio-2010.aspx#9939926</link><pubDate>Tue, 22 Dec 2009 05:39:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9939926</guid><dc:creator>sameerct</dc:creator><description>&lt;p&gt;Very elegant solution. Thanks for this. &lt;/p&gt;
&lt;p&gt;I noticed few glitches though... For a code line 'public partial class' the output need to have just one span tag specifying the blue color (because all three words are keywords marked in blue color). But your code gives out six span tags (one each for the word and one each for the space in between using the black color).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9939926" width="1" height="1"&gt;</description></item></channel></rss>