eniehack / henly-web

a Zenly alternative building by XMPP's Personal Eventing Protocol
https://henly-web.vercel.app/
4 stars 1 forks source link

support geo3x3 #3

Open eniehack opened 2 years ago

eniehack commented 2 years ago

like this:

<iq type='set' from='eniehack@jabber.eniehack.net/henly-web' id='publish1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <publish node='http://jabber.org/protocol/geoloc'>
      <item>
        <geoloc xmlns='http://jabber.org/protocol/geoloc' xmlns:geo3x3="http://eniehack.github.io/henly-web/ns/geo3x3/0.1.0" xml:lang='en'>
          <geo3x3:geo3x3>E921771816</geo3x3:geo3x3>
          <accuracy>20</accuracy>
          <lat>36.1042524005487</lat>
          <lon>140.10516689529035</lon>
        </geoloc>
      </item>
    </publish>
  </pubsub>
</iq>