Mofo

Fast and simple microformat parser, based on a concise DSL and Hpricot
Download

Mofo Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Chris Wanstrath
  • Publisher web site:
  • http://cheat.errtheblog.com/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 135 KB

Mofo Tags


Mofo Description

Fast and simple microformat parser, based on a concise DSL and Hpricot Microformats are tiny little markup definitions built on top of, usually, HTML or XHTML.You have a blog. You have recent posts on your blog's index page. You have an Atom feed. You have recent posts on your blog's Atom feed. See where I'm going with this?The hAtom microformat (or uformat) can be embedded in your existing HTML by setting CSS classes with semantic meaning inside of your posts. A class to signify a post is contained within this div, a class to signify the contents of this h3 are the post's title, a class to signify the contents of this span is the blog post's author, etc.You can then easily use a microformat parser (like, say, Mofo) to be able to extract this information as you would from an Atom feed. Hell, you can even convert hAtom to Atom. It's an insta-feed! No extra code required!You're already doing the work, you see. Microformats are everywhere. We just need to set them free. Mofo doubles as a Rails plugin. Just drop it into vendor/plugins and you are good to go, with all the available microformat parsers loaded into your application. mofo classes are YAML and Marshal approved, meaning you can cache them with memcached (or DRb) or store them in a session.NOTE: Mofo is distributed and licensed under the terms of the MIT/X Consortium License.


Mofo Related Software