PDA

View Full Version : [jdev] XEP-0240


Jonathan Dickinson
05-22-2008, 04:42 PM
You guys should also look at micro-formats. This would allow HTML something like the following:

<table class="vcard">
<tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
<tr><td>Jabber ID:</td><td><a class="url jid" href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
</table>

In addition to the <link> stuff. All you would need to do is to extend the format with a jid field.

Jonathan

anders conbere
05-22-2008, 04:57 PM
On Thu, May 22, 2008 at 7:39 AM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
> You guys should also look at micro-formats. This would allow HTML something
> like the following:

The creation of XEP-240 was definitely done with MicroFormats in mind.

>
>
>
> <table class="vcard">
>
> <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
>
> <tr><td>Jabber ID:</td><td><a class="url jid"
> href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
>
> </table>
>
>
>
> In addition to the <link> stuff. All you would need to do is to extend the
> format with a jid field.

This would not be something for the MicroFormats groups to
standardize. That being said... I'm not sure anyone has gone over and
worked on that. I'm not sure whether it would be accepted or not as it
would break compliance with the VCard spec that HCards parse to.

~ Anders

>
>
>
> Jonathan

Ralph Meijer
05-22-2008, 05:12 PM
On Thu, 2008-05-22 at 07:56 -0700, anders conbere wrote:
> On Thu, May 22, 2008 at 7:39 AM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
> > You guys should also look at micro-formats. This would allow HTML something
> > like the following:
>
> The creation of XEP-240 was definitely done with MicroFormats in mind.
>
> >
> >
> >
> > <table class="vcard">
> >
> > <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
> >
> > <tr><td>Jabber ID:</td><td><a class="url jid"
> > href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
> >
> > </table>
> >
> >
> >
> > In addition to the <link> stuff. All you would need to do is to extend the
> > format with a jid field.
>
> This would not be something for the MicroFormats groups to
> standardize. That being said... I'm not sure anyone has gone over and
> worked on that. I'm not sure whether it would be accepted or not as it
> would break compliance with the VCard spec that HCards parse to.

I don't we would need to do much to use XMPP URIs in some microformatty
way, beyond what this XEP does. Just use anchors with rels, just like
you do with HTTP links.

--
Groetjes,

ralphm

anders conbere
05-22-2008, 05:21 PM
On Thu, May 22, 2008 at 8:11 AM, Ralph Meijer <jabber.org (AT) ralphm (DOT) ik.nu> wrote:
> On Thu, 2008-05-22 at 07:56 -0700, anders conbere wrote:
>> On Thu, May 22, 2008 at 7:39 AM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>> > You guys should also look at micro-formats. This would allow HTML something
>> > like the following:
>>
>> The creation of XEP-240 was definitely done with MicroFormats in mind.
>>
>> >
>> >
>> >
>> > <table class="vcard">
>> >
>> > <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
>> >
>> > <tr><td>Jabber ID:</td><td><a class="url jid"
>> > href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
>> >
>> > </table>
>> >
>> >
>> >
>> > In addition to the <link> stuff. All you would need to do is to extend the
>> > format with a jid field.
>>
>> This would not be something for the MicroFormats groups to
>> standardize. That being said... I'm not sure anyone has gone over and
>> worked on that. I'm not sure whether it would be accepted or not as it
>> would break compliance with the VCard spec that HCards parse to.
>
> I don't we would need to do much to use XMPP URIs in some microformatty
> way, beyond what this XEP does. Just use anchors with rels, just like
> you do with HTTP links.

Totally agreed, but I think the grandfather post was about using them
in HCard, which extends beyond the more simple rel="me" and XFN cases.

~ Anders

>
> --
> Groetjes,
>
> ralphm
>
>

Peter Saint-Andre
05-22-2008, 05:22 PM
On 05/22/2008 9:11 AM, Ralph Meijer wrote:
> On Thu, 2008-05-22 at 07:56 -0700, anders conbere wrote:
>> On Thu, May 22, 2008 at 7:39 AM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>>> You guys should also look at micro-formats. This would allow HTML something
>>> like the following:
>> The creation of XEP-240 was definitely done with MicroFormats in mind.
>>
>>>
>>>
>>> <table class="vcard">
>>>
>>> <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
>>>
>>> <tr><td>Jabber ID:</td><td><a class="url jid"
>>> href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
>>>
>>> </table>
>>>
>>>
>>>
>>> In addition to the <link> stuff. All you would need to do is to extend the
>>> format with a jid field.
>> This would not be something for the MicroFormats groups to
>> standardize. That being said... I'm not sure anyone has gone over and
>> worked on that. I'm not sure whether it would be accepted or not as it
>> would break compliance with the VCard spec that HCards parse to.
>
> I don't we would need to do much to use XMPP URIs in some microformatty
> way, beyond what this XEP does. Just use anchors with rels, just like
> you do with HTTP links.

Right. For many XMPP URIs / identities, we can simply use the standard
rel values. For others, we may want to define new rel values -- the one
I'm most interested in right now is rel="discuss" for XMPP chatrooms but
also useful for IRC channels, email discussion lists, web forums, voice
and video conferences, etc. (any venue where you can have a discussion
with multiple participants). I have an Internet-Draft half-written about
that on my machine here somewhere...

Peter

--
Peter Saint-Andre
https://stpeter.im/

Norman Rasmussen
05-22-2008, 06:32 PM
On Thu, May 22, 2008 at 3:39 PM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com>
wrote:

> You guys should also look at micro-formats. This would allow HTML
> something like the following:
>
> <table class="vcard">
>
> <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
>
> <tr><td>Jabber ID:</td><td><a class="url jid" href="xmpp://jonathand.za@
> jabber.org">jonathand.za (AT) jabber (DOT) org</a></td></tr>
>
> </table>
>
> In addition to the <link> stuff. All you would need to do is to extend the
> format with a jid field.
>
One small nit-pick: <a class="url jid" href="xmpp:jonathand.za (AT) jabber (DOT) org">
jonathand.za (AT) jabber (DOT) org</a>

--
- Norman Rasmussen
- Email: norman (AT) rasmussen (DOT) co.za
- Home page: http://norman.rasmussen.co.za/

Steve Rosewarne
05-22-2008, 07:37 PM
Remove



steve rosewarne

director product management

steve (AT) flock (DOT) com

________________________________

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf
Of Jonathan Dickinson
Sent: Thursday, May 22, 2008 7:39 AM
To: Jabber/XMPP software development list
Subject: [jdev] XEP-0240



You guys should also look at micro-formats. This would allow HTML
something like the following:



<table class="vcard">

<tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>

<tr><td>Jabber ID:</td><td><a class="url jid"
href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></
tr>

</table>



In addition to the <link> stuff. All you would need to do is to extend
the format with a jid field.



Jonathan

Steve Rosewarne
05-22-2008, 07:54 PM
unsubscribe

steve rosewarne
director product management
steve (AT) flock (DOT) com
-----Original Message-----
From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf
Of anders conbere
Sent: Thursday, May 22, 2008 7:56 AM
To: Jabber/XMPP software development list
Subject: Re: [jdev] XEP-0240

On Thu, May 22, 2008 at 7:39 AM, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com>
wrote:
> You guys should also look at micro-formats. This would allow HTML
something
> like the following:

The creation of XEP-240 was definitely done with MicroFormats in mind.

>
>
>
> <table class="vcard">
>
> <tr><td class="fn">Jonathan</td><td class="n">Dickinson</td></tr>
>
> <tr><td>Jabber ID:</td><td><a class="url jid"
>
href="xmpp://jonathand.za (AT) jabber (DOT) org">jonathand.za (AT) jabber (DOT) org</a></td></
tr>
>
> </table>
>
>
>
> In addition to the <link> stuff. All you would need to do is to extend
the
> format with a jid field.

This would not be something for the MicroFormats groups to
standardize. That being said... I'm not sure anyone has gone over and
worked on that. I'm not sure whether it would be accepted or not as it
would break compliance with the VCard spec that HCards parse to.

~ Anders

>
>
>
> Jonathan