1) Not totally. Though I use similar patterns. I just hate most of the
namings too much!

2) Gem generators would be awesome.

3) Whenever this comes up, I tend to just manually code the span wrapper.
Haml doesn't focus on inline tags and prefers that to be generated
elsewhere.

I would...

== <span>[EMAIL PROTECTED]</span>, [EMAIL PROTECTED]

-hampton.

On 7/16/07, topfunky <[EMAIL PROTECTED]> wrote:
>
>
> I'm building a set of HAML templates for Microformats (hCard,
> hCalendar, etc.). I'm hoping this will make it dead simple for people
> to implement Microformats on their sites (including me!).
>
> 1) Is anyone using HAML with Microformats? Would you like to
> contribute your existing template?
>
> 2) What's the best way to distribute this? I'm thinking a gem with a
> Rails generator and an optional  command-line script to copy the
> relevant template to a Merb, Camping, or even a PHP app.
>
> 3) Syntax: How do I get the comma after "<span>Seattle</span>, WA" to
> follow "Seattle" without any whitespace? It currently puts the comma
> on a separate line and displays as "Seattle , WA". I tried the pipe
> operator but it slurps the comma into the Seattle (locality) span.
>
> http://pastie.textmate.org/79191
>
> --
> Geoffrey Grosenbach
> ........................
> Screencasts | http://peepcode.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to