background preloader

Vadim Ogievetsky

Meet NodeBox. | NodeBox Poet -- node.js blogging platform What is Poet? Poet is a blog generator in node.js to generate routing, render markdown/jade/whatever posts, and get a blog up and running fast. Poet may not make you blog-famous, and it may give you one less excuse for not having a blog, but just imagine the insane hipster cred you get for having node power your blog. "Cool blog, is this Wordpress or something?" your square friend asks. "Nah dude, this is in node," you respond, while skateboarding off into the sunset, doing mad flips and stuff. Getting Started First thing first, throw Poet into your express app's package.json, or just install it locally with: npm install poet Once you have the Poet module in your app, just instantiate an instance with your Express app and options, and call the init method: Posts Posts are constructed in markdown/jade/whatever-you-want, prefixed by front matter via YAML or JSON. Post Previews There are several ways of specifying the text of your post preview. A preview property on a post. Options Methods Routing

Related: