[uf-discuss] Scraping or parsing?

Scott Reynen scott at randomchaos.com
Thu Mar 1 18:22:57 PST 2007

On Mar 2, 2007, at 2:40 PM, Michael MD wrote:

>> Yep, a combined profile would certainly be useful. There is still
>> value in having multiple profiles in that it allows independent
>> development (and deployment), microformats at different levels of
>> maturity can comfortably coexist.
> I've been experimenting with trying to parse such profiles into  
> perl hashes to use for parsing microformats but have come accoss  
> some problems.
> I don't see how special cases where something has to be extracted  
> in a different way are expressed in the profiles.
> (eg for rel-tag it needs to split the url in the href attribute and  
> get the last part)

Profiles are not intended to work as parsing templates.  They just  
identify the type of data so parsers can figure out whether or not  
it's something they know how to parse.


More information about the microformats-discuss mailing list