<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Blogging application that includes line-numbering? </title>
	<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering/</link>
	<description>Comments on Ask MetaFilter post Blogging application that includes line-numbering?</description>
	<pubDate>Mon, 26 Jan 2004 03:48:30 -0800</pubDate>
	<lastBuildDate>Mon, 26 Jan 2004 03:48:30 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Blogging application that includes line-numbering? </title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering</link>	
		<description>Blogging application that includes line-numbering? I&apos;d like to publish content for peer review, in chonologic blog format, with automatic line numbering, so that people can comment, by line number, on my writing. Obviously, the line breaks and numbers have to be the same for everyone. AfterDinner.com offers this functionality, though it isn&apos;t really a blogging application. I&apos;m a veteran Blogger user, and willing to do a little bit of creative coding (eg: light hacking of Moveable Type). Any help?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2004:site.4898</guid>
		<pubDate>Sun, 25 Jan 2004 23:02:34 -0800</pubDate>
		<dc:creator>scarabic</dc:creator>
		
			<category>blogging</category>
		
			<category>weblogs</category>
		
			<category>blogs</category>
		
			<category>blog</category>
		
			<category>linebreaks</category>
		
			<category>peerreview</category>
		
			<category>blogger</category>
		
	</item> <item>
		<title>By: stavrosthewonderchicken</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109070</link>	
		<description>I reckon &lt;a href=&quot;http://mt-plugins.org/category.php&quot;&gt;one or more of these &lt;/a&gt;might give you the functionality you need.&lt;br&gt;
&lt;br&gt;
When I first read this I thought it would be trivial to code into a template. The more I think about it, the more I think it might not be. With MT you have &lt;a href=&quot;http://www.movabletype.org/docs/mtmanual_tags.html#miscellaneous%20tags&quot;&gt;MTGetVar and MTSetVar &lt;/a&gt;so you could establish and retrieve a variable to get a count, and with a fixed-width layout, you should be able to make the result the same for all users, but I can&apos;t see off the top of my head how you&apos;d increment line numbers without manually typing in some token at the end of each line (possible, but clunky)...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109070</guid>
		<pubDate>Mon, 26 Jan 2004 03:48:30 -0800</pubDate>
		<dc:creator>stavrosthewonderchicken</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109078</link>	
		<description>relying on fixed width to give the same display to everyone sounds risky (fonts, browsers).  &amp;lt;pre&amp;gt;, &amp;lt;br&amp;gt; and &amp;lt;table&amp;gt; are all going to be more reliable, if less fashionable.&lt;br&gt;
&lt;pre&gt;&lt;br&gt;
1 maybe the simplest solution is to take the final text, add&lt;br&gt;
2 line numbers to the text using a simple script, and stick&lt;br&gt;
3 the whole thing in &amp;lt;pre&amp;gt;.  i know the typewriter look&lt;br&gt;
4 is a bit of a cliche (courier etc), but for presenting draft&lt;br&gt;
5 text it might be appropriate.  there&apos;s probably a font out&lt;br&gt;
6 there somwhere that has the vertical position shifted&lt;br&gt;
7 slightly for each letter... :o)&lt;br&gt;
&lt;/pre&gt;&lt;br&gt;
(which would look a lot better without matt&apos;s weird &amp;lt;br&amp;gt; paragraph hack (which is giving the double spacing)).&lt;br&gt;
&lt;/pre&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109078</guid>
		<pubDate>Mon, 26 Jan 2004 04:58:10 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: staggernation</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109079</link>	
		<description>There&apos;s a pretty simple way to do this in Movable Type by using the &lt;a href=&quot;http://www.staggernation.com/mtplugins/LoopReadMe.html&quot;&gt;Loop plugin&lt;/a&gt;. The documentation has an example of how to do it (scroll down to the code fragment under the &quot;delimiter&quot; attribute).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109079</guid>
		<pubDate>Mon, 26 Jan 2004 05:03:12 -0800</pubDate>
		<dc:creator>staggernation</dc:creator>
	</item><item>
		<title>By: staggernation</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109142</link>	
		<description>Although, upon rereading your post, I see that the content is not necessarily already broken into lines (like a code listing), so that wouldn&apos;t quite work. Hmm. You&apos;d have to combine it with a plugin that wrapped the text. That would be pretty simple. Stay tuned...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109142</guid>
		<pubDate>Mon, 26 Jan 2004 08:53:16 -0800</pubDate>
		<dc:creator>staggernation</dc:creator>
	</item><item>
		<title>By: trondant</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109166</link>	
		<description>&lt;ol  list-style-type: decimal&gt;&lt;br&gt;
&lt;li&gt;If you used a bit of CSS (or just HTML,)&lt;br&gt;
&lt;li&gt;you could get this effect by making your lines of text&lt;br&gt;
&lt;li&gt;list items.  You would just have to watch the length&lt;br&gt;
&lt;li&gt;of your lines of text, or find some other CSS attribute&lt;br&gt;
&lt;li&gt;which covers that.  Still, it&apos;d beats writing a script to&lt;br&gt;
&lt;li&gt;number your lines.&lt;br&gt;
&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ol&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109166</guid>
		<pubDate>Mon, 26 Jan 2004 09:51:25 -0800</pubDate>
		<dc:creator>trondant</dc:creator>
	</item><item>
		<title>By: staggernation</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109181</link>	
		<description>OK, I just threw together a little plugin called TextWrap. Won&apos;t have a chance to write documentation and release it until tomorrow, but you can grab it &lt;a href=&quot;http://www.staggernation.com/mtplugins/TextWrap.pl&quot;&gt;here&lt;/a&gt;. And the MT template code you&apos;d use to display numbered lines wrapped to 80 characters would be something like this:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;pre&gt;&amp;lt;MTEntries&amp;gt;&lt;br&gt;
 &amp;lt;MTLoop delimiter=&quot;\n&quot; values=&quot;[MTTextWrap columns=&apos;80&apos;][MTEntryBody convert_breaks=&apos;0&apos;][/MTTextWrap]&quot;&amp;gt;&lt;br&gt;
  &amp;lt;$MTLoopN$&amp;gt;: &amp;lt;$MTLoopValue$&amp;gt;&amp;lt;br&amp;gt;&lt;br&gt;
 &amp;lt;/MTLoop&amp;gt;&lt;br&gt;
&amp;lt;/MTEntries&amp;gt;&lt;/pre&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109181</guid>
		<pubDate>Mon, 26 Jan 2004 10:42:44 -0800</pubDate>
		<dc:creator>staggernation</dc:creator>
	</item><item>
		<title>By: stavrosthewonderchicken</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109239</link>	
		<description>Wow. Not that&apos;s AskMe at its best. Well done, staggernation.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109239</guid>
		<pubDate>Mon, 26 Jan 2004 15:01:49 -0800</pubDate>
		<dc:creator>stavrosthewonderchicken</dc:creator>
	</item><item>
		<title>By: stavrosthewonderchicken</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109240</link>	
		<description>Sorry : &apos;not&apos;=&apos;now&apos;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109240</guid>
		<pubDate>Mon, 26 Jan 2004 15:02:19 -0800</pubDate>
		<dc:creator>stavrosthewonderchicken</dc:creator>
	</item><item>
		<title>By: Danelope</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109243</link>	
		<description>A non-Mefite friend recommends &lt;a href=&quot;http://mt-plugins.org/archives/entry/purpleplugin.php&quot;&gt;PurplePlugin&lt;/a&gt; for MT content numbering (in PurpleWiki format.)  The additional wiki functionality it provides is reportedly optional, mind you.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109243</guid>
		<pubDate>Mon, 26 Jan 2004 15:24:12 -0800</pubDate>
		<dc:creator>Danelope</dc:creator>
	</item><item>
		<title>By: scarabic</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109283</link>	
		<description>Awesome, staggernation! I&apos;ll be digging into Moveable Type for the first time here, so it might take me a while to get there, but I REALLY appreciate it!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109283</guid>
		<pubDate>Mon, 26 Jan 2004 18:31:42 -0800</pubDate>
		<dc:creator>scarabic</dc:creator>
	</item><item>
		<title>By: adamrice</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109293</link>	
		<description>Yet another (slightly different) option would be to use straight CSS to style plain paragraphs as &lt;a href=&quot;http://www.w3.org/TR/CSS21/generate.html#counters&quot;&gt;numbered list items&lt;/a&gt;. Granted, this would give you numbering by paragraph, not line, but it&apos;s a start, and would have the benefit of more fluid layouts.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109293</guid>
		<pubDate>Mon, 26 Jan 2004 18:48:18 -0800</pubDate>
		<dc:creator>adamrice</dc:creator>
	</item><item>
		<title>By: anildash</title>
		<link>http://ask.metafilter.com/4898/Blogging-application-that-includes-linenumbering#109322</link>	
		<description>You could also try the Textile plugin for MT and start each line with #, making it a numbered list item automatically. The Loop solution is appealingly elegant, though.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.4898-109322</guid>
		<pubDate>Mon, 26 Jan 2004 20:12:02 -0800</pubDate>
		<dc:creator>anildash</dc:creator>
	</item>
	</channel>
</rss>
