List Info

Thread: Some questions about Microformats implementation




Some questions about Microformats implementation
country flaguser name
Portugal
2008-01-20 09:41:56
Hello.
I recently decided to implement hCard in my blog. But I have
some 
questions.

This is my implementation:
<div class="agent vcard"
style="display:none">

<a class="url fn" href="ht
tp://conversasdobruno.webtuga.net">Bruno 
Miguel</a><br />
<a class="email" 
href="mailto:brunoalexandremiguel:at:gmail.com">
;brunoalexandremiguel:at:gmail.com</a><br 
/>
<a class="url"
href="xmpp:brunoalexandremiguelgmail.com">Gtalk</a>

<span class="adr">
<span
class="locality">Coimbra</span>,
<span
class="country-name">Portugal</span>
</span>

<span class="geo">
<span
class="latitude">40.203379</span>,
<span
class="longitude">-8.407588</span>
</span>

</div>

With Operator extension it works ok (that is, when the
extension works 
how it should), but with the following validator it 
doesn't: 
http://junk.ideias3.com/hCard/?url=ht
tp://www.conversasdobruno.webtuga.net/

In the validator, the address appears as a # and the xmpp
url appears as 
part of my website url.
I'm, most likely, doing something wrong, but I can't figure
it out. Can 
anyone help me with this?
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
country flaguser name
United States
2008-01-20 13:09:38
On Jan 20, 2008, at 7:41 AM, Bruno Miguel wrote:
> Hello.
> I recently decided to implement hCard in my blog. But I
have some  
> questions.
>
> This is my implementation:
> <div class="agent vcard"
style="display:none">
>
> <a class="url fn" href="ht
tp://conversasdobruno.webtuga.net">Bruno  
> Miguel</a><br />
> <a class="email"  
>
href="mailto:brunoalexandremiguel:at:gmail.com">
;brunoalexandremiguel:a 
> t:gmail.com</a><br />
> <a class="url"
href="xmpp:brunoalexandremiguelgmail.com">Gtalk</a>
>
> <span class="adr">
> <span
class="locality">Coimbra</span>,
> <span
class="country-name">Portugal</span>
> </span>
>
> <span class="geo">
> <span
class="latitude">40.203379</span>,
> <span
class="longitude">-8.407588</span>
> </span>
>
> </div>
>
> With Operator extension it works ok (that is, when the
extension  
> works how it should), but with the following validator
it doesn't:  
> http://jun
k.ideias3.com/hCard/?url=http:// 
> www.conversasdobruno.webtuga.net/
>
> In the validator, the address appears as a # and the
xmpp url  
> appears as part of my website url.
> I'm, most likely, doing something wrong, but I can't
figure it out.  
> Can anyone help me with this?

There appear to be bugs in that service. Your markup is
good, other  
than the style="display:none". 

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

Re: Some questions about Microformats implementation
country flaguser name
Portugal
2008-01-20 13:54:05
Cool. 

The style="display:none" is there because I'm a
bit of a privacy maniac. 
It's the best way I know to give some kind of protection to
my email 
addresses. If you know a better one, please share it with
me, so I can 
make the addresses public.

One more thing, is there a working validator?

Thanks for the help 

On Sun, 20 Jan 2008, ryan wrote:

> On Jan 20, 2008, at 7:41 AM, Bruno Miguel wrote:
>> Hello.
>> I recently decided to implement hCard in my blog.
But I have some 
>> questions.
>>
>> This is my implementation:
>> <div class="agent vcard"
style="display:none">
>>
>> <a class="url fn" href="ht
tp://conversasdobruno.webtuga.net">Bruno 
>> Miguel</a><br />
>> <a class="email" 
>>
href="mailto:brunoalexandremiguel:at:gmail.com">
;brunoalexandremiguel:a 
>> t:gmail.com</a><br />
>> <a class="url"
href="xmpp:brunoalexandremiguelgmail.com">Gtalk</a>
>>
>> <span class="adr">
>> <span
class="locality">Coimbra</span>,
>> <span
class="country-name">Portugal</span>
>> </span>
>>
>> <span class="geo">
>> <span
class="latitude">40.203379</span>,
>> <span
class="longitude">-8.407588</span>
>> </span>
>>
>> </div>
>>
>> With Operator extension it works ok (that is, when
the extension 
>> works how it should), but with the following
validator it doesn't: 
>> http://jun
k.ideias3.com/hCard/?url=http:// 
>> www.conversasdobruno.webtuga.net/
>>
>> In the validator, the address appears as a # and
the xmpp url 
>> appears as part of my website url.
>> I'm, most likely, doing something wrong, but I
can't figure it out. 
>> Can anyone help me with this?
>
> There appear to be bugs in that service. Your markup is
good, other 
> than the style="display:none". 
>
> -ryan
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
user name
2008-01-20 14:07:51
On 20/01/2008, Bruno Miguel <brunoalexandremiguelgmail.com> wrote:
> Cool. 
>
> The style="display:none" is there because I'm
a bit of a privacy maniac.
> It's the best way I know to give some kind of
protection to my email
> addresses. If you know a better one, please share it
with me, so I can
> make the addresses public.


display:none will only hide your email address from
non-technical
human visitors.  Bots - which is what you really want to
protect
against - will still see your address in the page source.
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
country flaguser name
Portugal
2008-01-20 14:23:29
I know. But, by reducing the number of people who check my
email, I reduce 
the hate mails.

One more thing: to add a msn messenger link, I should use 
<a class="url" 
href="msnim:chat?contact=brunoalexandremiguelgmail.com">texttexttext</a>?

On Sun, 20 Jan 2008, Philip Tellis wrote:

> On 20/01/2008, Bruno Miguel
<brunoalexandremiguelgmail.com> wrote:
>> Cool. 
>>
>> The style="display:none" is there because
I'm a bit of a privacy maniac.
>> It's the best way I know to give some kind of
protection to my email
>> addresses. If you know a better one, please share
it with me, so I can
>> make the addresses public.
>
>
> display:none will only hide your email address from
non-technical
> human visitors.  Bots - which is what you really want
to protect
> against - will still see your address in the page
source.
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
user name
2008-01-20 15:17:48
Hello Bruno,

I don't know the MSN syntax, but for other links, you can do
things like this:

<a class="url" href="http:
//jeffmcneill.com/">home</a> | <a
class="url" href="h
ttp://jeffmcneill.com/blog">blog</a> |
<a
class="url"
href="irc://irc.freenode.net/jeffmcneill,isnick"&g
t;irc</a> |
<a class="url" href="xmpp:jeffjeffmcneill.com">jabber</a> | <a
class="url"
href="skype:jeffmcneill">skype</a>

-- 
Sincerely,
Jeff McNeill
http://jeffmcneill.com/


On 1/20/08, Bruno Miguel <brunoalexandremiguelgmail.com> wrote:
> I know. But, by reducing the number of people who check
my email, I reduce
> the hate mails.
>
> One more thing: to add a msn messenger link, I should
use
> <a class="url"
> href="msnim:chat?contact=brunoalexandremiguelgmail.com">texttexttext</a>?
>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
country flaguser name
Portugal
2008-01-20 15:34:49
Thanks 

A couple of minutes ago, I found the MSN Messenger sintax in
the wiki. 
Strangely, when I found the xmpp sintax, I failed to see the
msn messenger 
one. I'm getting old and/or blind.

One more question (yes, another one). I have a tremendous
lack of 
geekiness, so I have to ask: can I insert a class into
another one, like 
this:
<span class="locality"><a
class="url" 
href="http://maps.google.com/maps/ms?ie=UTF8&msa=0&msi
d=107254219936498773072.0004442d00670297558c0&ll=40.2036
,-8.407588&spn=0.010046,0.019033&t=k&z=16&am
p;om=0">Coimbra</a></span>,
<span
class="country-name">Portugal</span>

This is rendered ok in Iceweasel and Operator doesn't have a
problem 
interpreting the geo data. But this could not be well
implemented.
I've checked the wiki, but the information, although very
complete, is a 
bit to technical for me.

On Sun, 20 Jan 2008, Jeff McNeill wrote:

> Hello Bruno,
>
> I don't know the MSN syntax, but for other links, you
can do things like this:
>
> <a class="url" href="http:
//jeffmcneill.com/">home</a> | <a
> class="url" href="h
ttp://jeffmcneill.com/blog">blog</a> |
<a
> class="url"
href="irc://irc.freenode.net/jeffmcneill,isnick"&g
t;irc</a> |
> <a class="url" href="xmpp:jeffjeffmcneill.com">jabber</a> | <a
> class="url"
href="skype:jeffmcneill">skype</a>
>
> -- 
> Sincerely,
> Jeff McNeill
> http://jeffmcneill.com/
>
>
> On 1/20/08, Bruno Miguel <brunoalexandremiguelgmail.com> wrote:
>> I know. But, by reducing the number of people who
check my email, I reduce
>> the hate mails.
>>
>> One more thing: to add a msn messenger link, I
should use
>> <a class="url"
>>
href="msnim:chat?contact=brunoalexandremiguelgmail.com">texttexttext</a>?
>>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
country flaguser name
United States
2008-01-20 20:20:26
On Jan 20, 2008, at 1:34 PM, Bruno Miguel wrote:
> Thanks 
>
> A couple of minutes ago, I found the MSN Messenger
sintax in the  
> wiki. Strangely, when I found the xmpp sintax, I failed
to see the  
> msn messenger one. I'm getting old and/or blind.
>
> One more question (yes, another one). I have a
tremendous lack of  
> geekiness, so I have to ask: can I insert a class into
another one,  
> like this:
> <span class="locality"><a
class="url" href="http://maps.google.com/ 
> maps/ms? 
>
ie=UTF8&msa=0&msid=107254219936498773072.0004442d006
70297558c0&ll=40.2 
>
036,-8.407588&spn=0.010046,0.019033&t=k&z=16&
;om=0">Coimbra</a></span>,
> <span
class="country-name">Portugal</span>

This can be simplified:

<a class="url locality" href="http://maps.google.com/m
aps/ 
msie=UTF8&msa=0&msid=107254219936498773072.0004442d0
067029758c0&ll=40.20 
36,-8.407588&spn=0.010046,0.019033&t=k&z=16&
om=0">Coimbra</a>,
<span
class="country-name">Portugal</span>

-ryan


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

Re: Some questions about Microformats implementation
country flaguser name
Portugal
2008-01-20 20:37:13
Cool. I thought each property had to be used individualy.
Thanks. 

On Sun, 20 Jan 2008, ryan wrote:

> On Jan 20, 2008, at 1:34 PM, Bruno Miguel wrote:
>> Thanks 
>>
>> A couple of minutes ago, I found the MSN Messenger
sintax in the 
>> wiki. Strangely, when I found the xmpp sintax, I
failed to see the 
>> msn messenger one. I'm getting old and/or blind.
>>
>> One more question (yes, another one). I have a
tremendous lack of 
>> geekiness, so I have to ask: can I insert a class
into another one, 
>> like this:
>> <span class="locality"><a
class="url" href="http://maps.google.com/ 
>> maps/ms? 
>>
ie=UTF8&msa=0&msid=107254219936498773072.0004442d006
70297558c0&ll=40.2 
>>
036,-8.407588&spn=0.010046,0.019033&t=k&z=16&
;om=0">Coimbra</a></span>,
>> <span
class="country-name">Portugal</span>
>
> This can be simplified:
>
> <a class="url locality" href="http://maps.google.com/m
aps/ 
>
msie=UTF8&msa=0&msid=107254219936498773072.0004442d0
067029758c0&ll=40.20 
>
36,-8.407588&spn=0.010046,0.019033&t=k&z=16&
om=0">Coimbra</a>,
> <span
class="country-name">Portugal</span>
>
> -ryan
>
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Some questions about Microformats implementation
country flaguser name
United Kingdom
2008-01-21 03:06:12
In message <16BBFF88-72EA-4041-9752-C3CA77407D55theryanking.com>, ryan
<ryantheryanking.com> writes

>> One more question (yes, another one). I have a
tremendous lack of
>>geekiness, so I have to ask: can I insert a class
into another one,
>>like this:
>> <span class="locality"><a
class="url" href="http://maps.google.com/
>>maps/ms? 
ie=UTF8&msa=0&msid=107254219936498773072.0004442d006
70297558
>>c0&ll=40.2 
036,-8.407588&spn=0.010046,0.019033&t=k&z=16&
;om=0">Coimbra
>></a></span>,
>> <span
class="country-name">Portugal</span>
>
>This can be simplified:
>
><a class="url locality" href="http://maps.google.com/m
aps/ msie=UTF8&ms
>a=0&msid=107254219936498773072.0004442d0067029758c0&
amp;ll=40.20 36,-8.4075
>88&spn=0.010046,0.019033&t=k&z=16&om=0&q
uot;>Coimbra</a>,
><span
class="country-name">Portugal</span>

Each of those ampersands should be escaped, as:

        &amp;

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

[1-10]

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