|
List Info
Thread: uF's on stand-alone phone numbers.
|
|
| uF's on stand-alone phone numbers. |
  Austria |
2007-08-23 09:59:58 |
Hi,
I'm looking into ways to mark up "standalone"
phone numbers in a uF-friendly
way. I don't have a name for a full hCard, only the phone
number (and,
potentially an email/web address).
Should i:
- use a "fake" name for a full hCard (like
"<number> addressbook entry") for
a very minimal hCard
- only mark up the phone number itself, and violate the
hCard specs?
Comments appreciated.
Alex
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
| Re: uF's on stand-alone phone numbers. |
  United States |
2007-08-23 10:42:40 |
On 8/23/07 7:59 AM, "Alexander Mayrhofer"
<axelm nona.net> wrote:
>
> Hi,
>
> I'm looking into ways to mark up "standalone"
phone numbers in a uF-friendly
> way. I don't have a name for a full hCard, only the
phone number (and,
> potentially an email/web address).
Hi Alexander,
Could you provide a URL to an example on the Web that you
are looking to
mark up? Often times the surrounding context will yield
critical clues for
the markup solution.
> Should i:
>
> - use a "fake" name for a full hCard (like
"<number> addressbook entry") for
> a very minimal hCard
That seems like semantic noise, which should probably be
avoided.
> - only mark up the phone number itself, and violate the
hCard specs?
It sounds like you are proposing reusing the "tel"
property outside of an
hCard.
That wouldn't "violate the hCard spec" per se, in
that you wouldn't have an
invalid hCard, you wouldn't have an hCard at all.
It seems reasonable to experiment with using properties of
hCard on their
own like that to see how it works with actual examples,
especially given
that past such experiments have yielded additional
microformats (geo [1],
adr [2]).
Doing so would be good use of POSH[3].
Thanks,
Tantek
[1] http://microformats.
org/wiki/geo
[2] http://microformats.
org/wiki/adr
[3] http://microformats
.org/wiki/posh
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
| Re: uF's on stand-alone phone numbers. |

|
2007-08-23 11:14:43 |
I know it's not a microformat/nanoformat per se, and it's a
technique
for mobile web, maybe it's interesting for the discussion at
hand:
-----------------------------
[Turn telephone numbers into links that start a phone call]
Practice: There are two ways to implement one-click phone
calls:
<a href="wtai://wp/mc;+39393939777778">+39
393939777778</a>
or
<a href="tel:+39393939777778">+39
393939777778</a>
While modern devices support both syntaxes, neither is
guaranteed to
work on all phones. In addition, some older device do not
support
one-click calls at all.
Authors who rely on LCD can choose one or the other.
Adaptation may be
used to cover all devices and just present the telephone
number to
devices that do not support one-click calls.
-----------------------
from: http://www.p
assani.it/gap/#STILL_A_PHONE
What are the downsides you foresee in using this approach to
markup a
telephone number for (desktop) websites/apps?
Thank you,
André Luís
On 8/23/07, Tantek Çelik <tantek cs.stanford.edu> wrote:
> On 8/23/07 7:59 AM, "Alexander Mayrhofer"
<axelm nona.net> wrote:
>
> >
> > Hi,
> >
> > I'm looking into ways to mark up
"standalone" phone numbers in a uF-friendly
> > way. I don't have a name for a full hCard, only
the phone number (and,
> > potentially an email/web address).
>
> Hi Alexander,
>
> Could you provide a URL to an example on the Web that
you are looking to
> mark up? Often times the surrounding context will
yield critical clues for
> the markup solution.
>
> > Should i:
> >
> > - use a "fake" name for a full hCard
(like "<number> addressbook entry") for
> > a very minimal hCard
>
> That seems like semantic noise, which should probably
be avoided.
>
> > - only mark up the phone number itself, and
violate the hCard specs?
>
> It sounds like you are proposing reusing the
"tel" property outside of an
> hCard.
>
> That wouldn't "violate the hCard spec" per
se, in that you wouldn't have an
> invalid hCard, you wouldn't have an hCard at all.
>
> It seems reasonable to experiment with using properties
of hCard on their
> own like that to see how it works with actual examples,
especially given
> that past such experiments have yielded additional
microformats (geo [1],
> adr [2]).
>
> Doing so would be good use of POSH[3].
>
> Thanks,
>
> Tantek
>
> [1] http://microformats.
org/wiki/geo
> [2] http://microformats.
org/wiki/adr
> [3] http://microformats
.org/wiki/posh
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss microformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
| Re: uF's on stand-alone phone numbers. |
  Austria |
2007-08-23 11:30:03 |
André Luís wrote:
> I know it's not a microformat/nanoformat per se, and
it's a technique
> for mobile web, maybe it's interesting for the
discussion at hand:
>
> -----------------------------
> [Turn telephone numbers into links that start a phone
call]
>
> Practice: There are two ways to implement one-click
phone calls:
> <a
href="wtai://wp/mc;+39393939777778">+39
393939777778</a>
> or
> <a href="tel:+39393939777778">+39
393939777778</a>
Hmm.... "tel:" is a standardized URI scheme (IETF
approved, RFC 3966),
specifically for telephone numbers while the
"wtai:" URI scheme is not
registered with IANA, so i suppose that is some proprietory
scheme by a
VoIP software vendor. like "skype",
"callto", etc.. etc..
I'd strongly suggest to use a "tel" URI scheme for
phone numbers - that's
the one that is standardized, and using it will ensure a
minimum level of
interopability.
(The URI scheme registry is at http
://www.iana.org/assignments/uri-schemes.html)
Alex
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
| Re: uF's on stand-alone phone numbers. |
  United Kingdom |
2007-08-23 14:56:27 |
In message <C2F2F8EC.93CE0%tantek cs.stanford.edu>, Tantek
Çelik
<tantek cs.stanford.edu> writes
>> - only mark up the phone number itself, and violate
the hCard specs?
>That wouldn't "violate the hCard spec" per se,
in that you wouldn't
>have an invalid hCard, you wouldn't have an hCard at
all.
If the OP was thinking of:
<span class="vcard">
<span class="tel">+43 780
004711</span>
</span>
that would be an invalid hCard.
--
Andy Mabbett
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
| microformat parser support for
"tel" URLs (was: uF's on
stand-alone phone numbers.) |
  United Kingdom |
2007-08-23 18:05:04 |
In message <46CDB60B.6040407 nona.net>, Alexander
Mayrhofer
<axelm nona.net> writes
>"tel:" is a standardized URI scheme (IETF
approved, RFC 3966),
>specifically for telephone numbers
With the added advantage of being supported by hCard:
<http://microformats.org/wiki/hcard-parsing#tel_proper
ty>
However, according to my test case:
<http://www.westmidlandbirdclub.com/club/hotline.htm>
a>
<p class="vcard">
The <span class="fn org">West
Midland Bird Club telephone
hotline</span>,
<a class="red tel"
href="tel:+441283791171">01283
791171</a>,
[...]</p>
it's not yet detected by:
Operator (I've notified Mike Kaply)
Almost Universal Microformat Parser
Tails
Tails export
It is supported by:
X2V
--
Andy Mabbett
_______________________________________________
microformats-discuss mailing list
microformats-discuss microformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
|
|
[1-6]
|
|