<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Storing text for online article database...</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Storing text for online article database...</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 12:46:14 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 12:46:14 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>11</c9:totalResults>
	<c9:pageCount>-11</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p>Hey Niners,<br /><br />I'm working on an article database right now, and have introduced a bit of frustration into my day when I decided to offer the web-article as on-the-fly PDF's too.<br /><br />The article were all stored in the database as HTML. It's ugly, trust me. So I'm deciding what I want to do with them. The HTML is all wrong also, so I do have to go through and do some clean up regardless.<br /><br />But I recall being told in the past that articles should never contain ANY markup or css, but if that is the case, how would you write
<sup>238</sup>Pa without using the SUP tag?<br /><br />Just curious how you guys would design an article database beyond simply making a field for the title, author and text <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/261890#261890</link>
		<pubDate>Thu, 27 Mar 2008 19:55:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/261890#261890</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p>How about a bit of code to strip out the markup?<br />Something like this:<br /><br />Public Function FormatStr(ByVal MessageString As String) As String<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageString = Replace(MessageString, Chr(13), &quot;&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageString = Replace(MessageString, Chr(10) &amp; Chr(10), &quot;&lt;/p&gt;&lt;p&gt;&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageString = Replace(MessageString, Chr(10), &quot;&lt;br /&gt;&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FormatStr = MessageString<br />&nbsp;&nbsp;&nbsp; End Function<br /><br />FormatStr(Container.DataItem(&quot;message&quot;))<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/66ed764466874ed7937b9dfa00c292ec#66ed764466874ed7937b9dfa00c292ec</link>
		<pubDate>Thu, 27 Mar 2008 20:43:38 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/66ed764466874ed7937b9dfa00c292ec#66ed764466874ed7937b9dfa00c292ec</guid>
		<dc:creator>Mark Wisecarver</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/wisemx/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">jsampsonPC wrote:</div>
<div class="quoteBody">&#65279;Hey Niners,<br /><br />I'm working on an article database right now, and have introduced a bit of frustration into my day when I decided to offer the web-article as on-the-fly PDF's too.<br /><br />The article were all stored in the database as HTML. It's ugly, trust me. So I'm deciding what I want to do with them. The HTML is all wrong also, so I do have to go through and do some clean up regardless.<br /><br />But I recall being told in the past that articles should never contain ANY markup or css, but if that is the case, how would you write
<sup>238</sup>Pa without using the SUP tag?<br /><br />Just curious how you guys would design an article database beyond simply making a field for the title, author and text <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></div>
</blockquote>
<br /><br /><a href="http://aspnetresources.com/blog/markdown_announced.aspx">Markdown</a>.<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/0695e2f43d9243f0be709dfa00c29382#0695e2f43d9243f0be709dfa00c29382</link>
		<pubDate>Thu, 27 Mar 2008 21:16:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/0695e2f43d9243f0be709dfa00c29382#0695e2f43d9243f0be709dfa00c29382</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p>Strip out markup? I don't want to do that. I'm asking this: if it's wrong to have markup in your data-field, then how do you apply formatting for articles that need it.<br /><br />...or maybe it's not wrong at all to do basic HTML in the data-field, such as P, STRONG, U, EM, BLOCKQUOTE, etc... any input guys?<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/531a8fc7853a4d329b0f9dfa00c2941a#531a8fc7853a4d329b0f9dfa00c2941a</link>
		<pubDate>Thu, 27 Mar 2008 21:17:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/531a8fc7853a4d329b0f9dfa00c2941a#531a8fc7853a4d329b0f9dfa00c2941a</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote></blockquote>
<a href="http://aspnetresources.com/blog/markdown_announced.aspx">Markdown</a>.<br /></div>
</blockquote>
<br /><br />Oh looky-there...this is neat.<br /><br />Thanks W3bbo.<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/b2241d00495940479d6b9dfa00c29496#b2241d00495940479d6b9dfa00c29496</link>
		<pubDate>Thu, 27 Mar 2008 21:24:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/b2241d00495940479d6b9dfa00c29496#b2241d00495940479d6b9dfa00c29496</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p>&nbsp;What about compressing the html that you're storing?<br /><br />would that do the trick?<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/4acb1e1a3f9f413eab0a9dfa00c2950f#4acb1e1a3f9f413eab0a9dfa00c2950f</link>
		<pubDate>Sun, 30 Mar 2008 20:12:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/4acb1e1a3f9f413eab0a9dfa00c2950f#4acb1e1a3f9f413eab0a9dfa00c2950f</guid>
		<dc:creator>John</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jh71283/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">jh71283 wrote:</div>
<div class="quoteBody">&#65279;&nbsp;What about compressing the html that you're storing?<br /><br />would that do the trick?<br /></div>
</blockquote>
<br /><br />How would that solve his problem?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/4395cf113ae24dfebc569dfa00c2954d#4395cf113ae24dfebc569dfa00c2954d</link>
		<pubDate>Sun, 30 Mar 2008 22:55:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/4395cf113ae24dfebc569dfa00c2954d#4395cf113ae24dfebc569dfa00c2954d</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">ZippyV wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>jh71283 wrote:</strong>
<hr size="1">
<i>&#65279;&nbsp;What about compressing the html that you're storing?<br /><br />would that do the trick?<br /></i></td>
</tr>
</tbody>
</table>
</blockquote>
<br /><br />How would that solve his problem?</div>
</blockquote>
<br /><br />I'm not looking for compression so much as covenience. I want to get away from mixed-data, and stick with some a bit more pleasing to the eyes and expandable.<br /><br />Markdown is extremely great, and seems to solve all of my problems while keeping the text completely readable.<br /><br />Markdown &#43; Clean CSS, that is.<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/841914985aff40faa84b9dfa00c295d7#841914985aff40faa84b9dfa00c295d7</link>
		<pubDate>Sun, 30 Mar 2008 23:52:44 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/841914985aff40faa84b9dfa00c295d7#841914985aff40faa84b9dfa00c295d7</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">jsampsonPC wrote:</div>
<div class="quoteBody">But I recall being told in the past that articles should never contain ANY markup or css, but if that is the case, how would you write
<sup>238</sup>Pa without using the SUP tag?<br /><br />Just curious how you guys would design an article database beyond simply making a field for the title, author and text <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br /></div>
</blockquote>
<br /><br />As W3bbo said, Markdown may do the job for you. Another approach that people take is to invent their own abstract markup with XML and associate XSLTs for web view, print view, edit etc. This can get quite involved. The approach
<i>may</i> be better if you have long term requirements with reuse and find that this approach is easier.<br /><br />-Brian<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/ceab8c22b25e49c09e1e9dfa00c29655#ceab8c22b25e49c09e1e9dfa00c29655</link>
		<pubDate>Mon, 31 Mar 2008 00:07:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/ceab8c22b25e49c09e1e9dfa00c29655#ceab8c22b25e49c09e1e9dfa00c29655</guid>
		<dc:creator>BrianLy</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BrianLy/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">jsampsonPC wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>ZippyV wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>jh71283 wrote:</strong>
<hr size="1">
<i>&#65279;&nbsp;What about compressing the html that you're storing?<br /><br />would that do the trick?<br /></i></td>
</tr>
</tbody>
</table>
</blockquote>
<br /><br />How would that solve his problem?</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br /><br />I'm not looking for compression so much as covenience. I want to get away from mixed-data, and stick with some a bit more pleasing to the eyes and expandable.<br /><br />Markdown is extremely great, and seems to solve all of my problems while keeping the text completely readable.<br /><br />Markdown &#43; Clean CSS, that is.<br /></div>
</blockquote>
<br /><br />just read a bit about it and it sounds GREAT!<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/bc81dc9da69f49ec9a9a9dfa00c296d4#bc81dc9da69f49ec9a9a9dfa00c296d4</link>
		<pubDate>Mon, 31 Mar 2008 00:11:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/bc81dc9da69f49ec9a9a9dfa00c296d4#bc81dc9da69f49ec9a9a9dfa00c296d4</guid>
		<dc:creator>figuerres</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/figuerres/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Storing text for online article database...</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">figuerres wrote:</div>
<div class="quoteBody">&#65279;Just read a bit about it and it sounds GREAT!<br /></div>
</blockquote>
<br /><br />It is, completely. I used the PHP version, and it's nothing morethan calling the Markdown($source) function. It's so easy to use too. I am actually hiring my wife (who knows next to nothing about HTML/CSS) to come in and reformat the article database for me
 while I continue coding.<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/b216902f042a4c67b1ea9dfa00c2974f#b216902f042a4c67b1ea9dfa00c2974f</link>
		<pubDate>Mon, 31 Mar 2008 00:20:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/261890-Storing-text-for-online-article-database/b216902f042a4c67b1ea9dfa00c2974f#b216902f042a4c67b1ea9dfa00c2974f</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>