thepug / Speeqe

A multi-user chat application over XMPP.
GNU Affero General Public License v3.0
135 stars 47 forks source link

Ability to compose and read XHTML IM messages #25

Open GreenLunar opened 12 years ago

GreenLunar commented 12 years ago

As vanaryon has wrote at Issue #124 at jappix:

Give the user the ability to write his own HTML code and send it to another user as XHTML IM.

An idea was proposed at Gajim trac to have the ability to post fancy references like this:

<message type="chat" to="USER@DOMAIN/RESOURCE">
  <body>Murmuration

  http://vimeo.com/31158841
  </body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>
      <p>
        <br></br>
        PLAIN TEXT
        <br></br>
        <a href='http://vimeo.com/31158841'>
          <img src='http://b.vimeocdn.com/ts/209/801/209801744_640.jpg'
                  alt='Murmuration'
                  height='300'
                  width='400'/>
        </a>
      </p>
    </body>
  </html>
</message>

Source: #7205 (Send image in the XHTML.) – Gajim (there is also a short presentation video)

Whether I, or anybody else for this matter, like this idea or not (I, personally, do not like it) it would be indeed helpful for Speeqe to compete more easily with current proprietary chat rooms providers, who I will not mention, who are using closed source technology and sometimes inefficient (i.e. using SWF toolkit) but they do provide in-band image postings and fancy references to videos.

See: XEP-0071: XHTML-IM

GreenLunar commented 12 years ago

Notes