Browse files

Minor fixes in articles, and render rss feed as xml.

  • Loading branch information...
1 parent 3371d65 commit 6a97e50af7af8f20062517a5db7b70e24cd68949 @creationix committed Apr 16, 2010
@@ -299,7 +299,7 @@ Clearly this blogging application is very rough and ready (there is no style to
* Security, authentication etc.
* An administrative interface
* Multiple blog-support.
- * Decent styling <g> (inc. themes)
+ * Decent styling &lt;g&gt; (inc. themes)
I hope this helps at least someone out there get to grips with how you might start actually writing web apps with [node][], [express][] and [mongoDB][].
@@ -49,14 +49,7 @@ I'll install the following libraries that are common to my projects:
You can install these however you please, but here is how I'd do it. The following code will clone the four libraries and install them into your local node library search path:
- mkdir ~/NodeLibs
- cd ~/NodeLibs
- git clone git://
- git clone git://
- git clone git://
- mkdir ~/.node_libraries
- cd ~/.node_libraries
- ln -s ~/NodeLibs/*/lib/* ./
That's it for now, this article was going to explain more, but it seems it got lost and fell through the cracks. Hopefully this will help you get started working with node.JS, it's a blast!.
@@ -0,0 +1,8 @@
+mkdir ~/NodeLibs
+cd ~/NodeLibs
+git clone git://
+git clone git://
+git clone git://
+mkdir ~/.node_libraries
+cd ~/.node_libraries
+ln -s ~/NodeLibs/*/lib/* ./
@@ -18,7 +18,7 @@ This was nice. It was short. It worked but I wanted to procrastinate a little mo
The page count problems are basically a simple analysis of text with some accounting. Could I quickly write a program using node to do something so mundane? Yes and it was surprisingly straight forward. I fired up node-repl and started playing around before typing up this:
`pagecount` reports the plain text version of this essay is 636 words or 1.82 pages including the source code examples. It's a little longer than my shell script. On the other hand it is easier to read and with a little modification I can embed it as a web service or put it into a web page.
@@ -1,6 +1,7 @@
-%rss(version="2.0" xmlns:content="" xmlns:wfw="" xmlns:dc="")
+%rss(version="2.0" xmlns:content="" xmlns:wfw="" xmlns:dc="" xmlns:atom="")
%title How To Node
+ %atom:link(href="" rel="self" type="application/rss+xml")
%description How To Node is a blog featuring projects and tutorials relating to the Node.js project.
%pubDate&= formatRFC822Date(new Date())
@@ -14,4 +15,4 @@
%pubDate&= formatRFC822Date(
%guid(isPermaLink="true")&= "" +
%description&= markdownEncode(article.markdown)
- %author&= &&
+ %author&= && ( + " (" + + ")")

0 comments on commit 6a97e50

Please sign in to comment.