Dave Cridland wrote:
> On Tue Jun 16 08:32:39 2009, Dan Brickley wrote:
>> I'm crossposting this to the XMPP Social list and the W3C SocialWeb
>> XG list, since the intro in http://labs.opera.com/news/2009/06/16/
>> has some interesting motivation re social network and data
>> portability, and I've lately been wondering about design decisions
>> where I'm setting up personal/domestic computing APIs and feel
>> drawn to XMPP rather than HTTP mainly due to NAT/Firewall traversal
>> issues: XMPP services on a laptop can be universally addressed,
>> unlike HTTP services. So I wanted to ask - is there a XEP spec for
>> proxying HTTP over XMPP? Would this be relevant to Opera Unite
>> scenarios such as the following?
>

About file sharing, I plan to release a file server XEP proposal based
on XEP-0265 at the beginning of July. The idea behind it is similar to
the UPnP AVServer: browse and access file from another client.

> Alternately, you could write something that actually rewrote the HTTP
> requests into XMPP stanzas, for a more native-XMPP feel - so HTTP
> methods and header fields would become XML elements within stanzas.
> It would probably be more efficient, but I'm less than convinced it'd
> be worth the effort.

I'm playing with HTTP, Jingle and XMPP in my head for a long time. The
question is: what do we want? Why do we want it?

1. We don't want HTTP over something, we just want to display HTML sites
   and stuff like that. What about
   <iq type='get'>
     <get xmlns='something' resource='index.html'/>
   </iq>

   <iq type='result'>
     <xhtml>
       <img href='[email protected]'/>
     </xhtml>
   </iq>

   And to make it faster, maybe merge XEP-0265 into it.

2. We want HTTP as it is over Jingle
   http://www.tzi.de/~dmeyer/jingle-http.html

3. We want to merge HTTP and XMPP somehow

   <iq type='get'>
     <http xmlns='something'>
       <get resource='index.html'/>
     </http>
   </iq>

   <iq type='result'>
     <http xmlns='something'>
       <header name='foo'>bar</header>
       <header name='mime-type'>text/html</header>
       <data>
         BASE64
       </data>
     </http>
   </iq>
   

Why is it usefull? Maybe http://en.wikipedia.org/wiki/CE-HTML

Just my mind having strange ideas....


Dirk

-- 
Misfortune, n.:
        The kind of fortune that never misses.
                -- Ambrose Bierce, "The Devil's Dictionary"

Reply via email to