background preloader

Node.js | Social

Facebook Twitter

Meet NodeBox. | NodeBox. Bl.ocks.org - about. Leaflet - a JavaScript library for mobile-friendly maps. Vadim Ogievetsky. Apostrophe Now! 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. 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 posts path to directory of your files of posts (default: . Methods Poet::init([callback]) Poet::watch([callback]) Routing Helpers.