worked.  I *wondered* why I stopped getting "that's dumb!" responses. :)


On 1/29/12 1:04 PM, "Joe Hildebrand" <[email protected]> wrote:

> Apparently the last 10 or so messages I've sent to the list were silently
> eaten due to an address change.  Let's see if this one goes through.
> 
> If you're going to write a XEP, consider making it relatively generic, so we
> can embed other typed information into a form (rather than making it
> geoloc-specific, in the same theme as XEP-158).  Also consider interactions
> with XEP-122, XEP-141, and XEP-221.
> 
> 
> On 1/28/12 11:31 AM, "Michael Laukner" <[email protected]> wrote:
> 
>> Dave, Thanks for the quick response!
>> 
>> The intention is indeed to provide a geoloc or places blob inside
>> forms. We have also checked Buddycloud and its API (e.g.
>> http://buddycloud.com/cms/node/103) but are looking for a solution
>> that is XMPP standard compliant.
>> 
>> I'll come back with a XEP when this idea has materialized ;-)
>> 
>> Thanks,
>> Michael
>> 
>> On Thu, Jan 26, 2012 at 11:12 PM, Dave Cridland <[email protected]> wrote:
>>> On Thu Jan 26 21:58:04 2012, Michael Laukner wrote:
>>>> 
>>>> Is the following approach already XMPP standards compliant (i.a.w.
>>>> XEP-0068: Field Standardization for Data Forms):
>>>> 
>>>> <x xmlns='jabber:x:data' type='form'>
>>>>   [ ... ]
>>>>   <field var='location'>
>>>>     <geolocxmlns="http://jabber.org/protocol/geoloc";>
>>>>        <text>Paris, France</text>
>>>>        <locality>Paris</locality>
>>>>        <country>France</country>
>>>>     </geoloc>
>>>>   </field>
>>>>   [ ... ]
>>>> </x>
>>>> 
>>>> or does this require a new XEP similar to XEP-0221 ?
>>> 
>>> 
>>> I don't think this is currently compliant (with any specification in
>>> particular).
>>> 
>>> XEP-0221 essentially provides ways of providing media data in a form as a
>>> challenge, rather than as a response - or at least, that's certainly how
>>> it's used in XEP-0158. THis might explain why they don't use the type except
>>> as the type of the response - hence it's usually left as type-single (the
>>> default).
>>> 
>>> So if your intent is to provide a geoloc blob inside a form, perhaps in
>>> response to a search form, for instance, then I think your solution above is
>>> OK, but would need a XEP - I think.
>>> 
>>> If you're asking for a way to prompt for, and enter a geoloc blob as a
>>> submitted value in a form, then we need to define a type, and possibly more.
>>> 
>>> Dave.
>>> --
>>> Dave Cridland - mailto:[email protected] - xmpp:[email protected]
>>>  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
>>>  - http://dave.cridland.net/
>>> Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

-- 
Joe Hildebrand

Reply via email to