> -----Original Message----- > From: Sergey Dobrov [mailto:[email protected]] > Sent: Tuesday, August 14, 2012 9:04 AM > To: XMPP Standards > Cc: Todd Herman > Subject: Re: File hosting XEP? > > On 08/14/2012 07:47 PM, Todd Herman wrote: > >> -----Original Message----- > >> From: [email protected] [mailto:standards- > [email protected]] > >> On Behalf Of Sergey Dobrov > >> Sent: Tuesday, August 14, 2012 4:44 AM > >> To: [email protected] > >> Subject: [Standards] File hosting XEP? > >> > >> Hello all, hope you are all good. > >> > >> Me and Jaussoin Timothée faced with a problem to attach files to > microblog posts. The easier way to do that is to serve files somewhere and > link to them from the posts. >But what is the appropriate way to do that? > > > > Having files somewhere and linking to them sounds a lot like Out-Of-Band > Data (XEP-0066). It covers the linking part (mainly used in SI File Transfers > and Message stanzas) and leaves the transferring of the files and how they > are stored on the server to you. > > Sure, but how client will upload it's attachments? I can do it in a > client-specific > way, but then others will not be able to implement the same thing.
XEP-0277 (Microblogging over XMPP) talks about supporting rich content by allowing XHTML (such as that defined in XEP-0071). XEP-0071 has examples of embedding images using the "img" XHTML tag. Perhaps something similar would work for your needs. > -- > With best regards, > Sergey Dobrov, > XMPP Developer and JRuDevels.org founder.
