[uf-discuss] xdmp profiles not enough for parsing?
David Janes -- BlogMatrix
davidjanes at blogmatrix.com
Wed Nov 16 07:12:28 PST 2005
Since you're going down this road, why don't you try playing with adding
class attributes to the profile to guide parsing? If something useful
results, it'd be good to know (and likewise if it doesn't!).
Phil Dawes wrote:
> When coding up my python microformats parser, one of the problems I
> encountered was getting the parser to interpret the structure correctly
> (see ). In order to overcome this my parser currently hardcodes the
> elements that can have sub-elements in an internal data structure.
> (e.g. for hCard: 'adr', 'geo' and 'n' can have subelements).
> I've just noticed that xdmp profiles don't carry this information, and
> was wondering if this scuppers the general idea of parsing microformats
> from their profiles?
> (or am I missing something)
More information about the microformats-discuss