List Info

Thread: RE: Optimus - microformats parser




RE: Optimus - microformats parser
country flaguser name
United Kingdom
2007-09-20 07:45:35
Is that a bug? The parsing rules at
http://mic
roformats.org/wiki/hcard-parsing
seem pretty unambiguous:

"For all properties, when the element for a property
is:

    * <abbr title>: use the value of the 'title'
attribute. If there is no
'title' attribute then use the contents of the
element."

So am I right in understanding that a parser should always
ignore the
contents of <abbr>? In which case, do the parsing
rules need revisiting?

Jim

Original Message:
-----------------
From: Andy Mabbett andypigsonthewing.org.uk
Date: Thu, 20 Sep 2007 13:16:26 +0100
To: microformats-discussmicroformats.org
Subject: [uf-discuss] Optimus - microformats parser


I've found a bug :-(

For:

        <http://www.westmidlandbirdclub.com/birmingham/indoor
.htm>

Optimus is rendering the postal code in:

        <span class="postal-code">
          <abbr class="geo"
title="52.4703;-1.9239">
            B15 3AF
          </abbr>
        </span>

as:

       
<postal-code>52.4703;-1.9239</postal-code>

and likewise where that postal code is part of an
hCalendar's
"location".

-- 
Andy Mabbett
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss


------------------------------------------------------------
--------
myhosting.com - Premium Microsoft® Windows® and Linux web
and application
hosting - http://link.myhos
ting.com/myhosting



_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Optimus - microformats parser
user name
2007-09-20 08:16:32
On 20/09/2007, jimeatyourgreens.org.uk <jimeatyourgreens.org.uk> wrote:

> So am I right in understanding that a parser should
always ignore the
> contents of <abbr>? In which case, do the parsing
rules need revisiting?

except that in this case, the postal-code element is not
<abbr>, but
<span>, and it has no title.
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )