On Mar 15, 2007, at 1:20 PM, Rick Olson wrote:
WHat I wanted to be able to do was post HTML (marked up with
microformats)
to my endpoint just as I would post XML, and to have mofo then
parse that
HTML and pull out the relevant content.
The problem with this is that unless you code your rails models to
match specific microformats, the chances of the two data formats
lining up are slim. You'll need to write a custom param parser that
wires attributes from whatever microformat you're receiving with your
model's attributes.
Of course, if you were to make, for example, your Person model use
the same field names as hCard/vCard you could skip the step of
figuring out how to represent a person (again).
-ryan
--
Ryan King
[EMAIL PROTECTED]
_______________________________________________
microformats-rest mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-rest