From: usenet@... Date: 2008-12-30T12:04:33+09:00 Subject: Re: What you do when dealing with a huge number of conditions ? > I need to deal with microformats, I would like to write a lib that > covers the most common. Do you want to output microformats, or parse them? For parsing, I reccomend Hpricot. > microformats_helper): if given-name is == to the organization name, > probably it's a nickname, so it should be represented with class="fn nickname"> ngw . > I would like to have some suggestion how to make it without writing > too much spaghetti (even if I'm italian :p). Ah, yes, it seems that you want to parse. Use Hpricot, and then do as much massaging of the result as you need. If you just want a simple microformats parser, mofo is a good start. -- Stephen Paul Weber, @singpolyma Please see for how I prefer to be contacted. Don't toppost!