Jabber Feed 0.5 released


As I announced in a recent message (in French though), I am coming back to more visible activity on this public diary. To begin with, here is the new version of my Wordpress plugin: Jabber Feed 0.5. As a reminder, this plugin publishes your articles and the comments on XMPP’s pubsub nodes.


Asides for minor fixes, here are the three main changes:

  • A Wordpress widget has been added, enabling for any Wordpress administrator (even not computer-technically skilled) to add the XMPP feeds in one’s sidebar by simple drag-and-drop. This is part of the reason I redesigned my website a few hours ago with a new themes enabling the widgets (my old theme was coming from a time before widgets)!
  • The NET_DNS dependency has been removed for SRV Records support, under the assumption the server is running Windows with PHP 5.3.0 or superior, or GNU/Linux (any PHP version). For BSD (Mac included), the NET_DNS library is still required. Consequently my plugin has an intelligent behaviour, testing then using NET_DNS if available, otherwise the base PHP function when possible, or else it will deactivate SRV support.
  • Implementation of the algorithm for dealing with priority and weight of SRV records’ targets as described in RFC 2782. The SRV support is now nearly fully compliant (only the Time To Live parameter’s support still needs to be added).

My own tests succeeded, but I am welcoming any bug report or any feedback, obviously! Do not hesitate.
As a side information, I wanted to inform there exists now a XMPP pubsub reader, the first publicly released, as far as I know: OneChannel, by Process One. Unfortunately my MIPS machine does not handle well flash (and this software uses the Adobe AIR technology) so I am not able to try it out. If anyone out there wants to try and tell me how it reacts to the pubsub messages generated by my plugin, I am wide-eye-opened. Bye!

6 Responses to “Jabber Feed 0.5 released”

  1. Nÿco says:

    Hello !

    Il y a eu x60br avant :
    http://x60br.berlios.de/

    “x60br” = XEP-0060 browser ;-)

  2. Jehan says:

    Merci pour l’info et correction. :-)

  3. Gerson Sampaio says:

    Hi,
    it works for me with one change related to username and domain .
    Psi dosen’t show publications i can see them via console XML of PSI !

    Thanks

  4. Jehan says:

    Hi,

    thanks for the feedback. By the way, I am preparing a new version with concurrency because right now, posting something hangs the html page loading too long. So the next version will make parallel XMPP process, and stop slowing pages. It will be out soon (in fact my notebook is nearly dead and freezes all the time, so I must wait to get a new one, then will publish the 0.6).

    What do you call “one change related to username and domain”? Do you mean that there is an issue somewhere and that you had to change something for it to work? If so, I am hoping for details so that I can fix this in my implementation. :-)

    And yes I know, Psi doesn’t show them. No software makes a great job (if at all) about this. And for the ones dedicated to it (OneChannel), I don’t know because I could not try out, as I said…
    Thanks again.

  5. Gerson Sampaio says:

    Hi Jehan,
    the “change” was related to authentication, the domain part of the jid was duplicating (eg: gerson.martins@teste.com@teste.com). When analysing xmpp_stream.php i saw a comment in auth sessions (// To be tested. Should the first argument be full jid or just username?). I’m using PLAIN mech and in line 1006 of this file i changed from
    =====
    $uncoded = $sasl->getResponse ($this->node . ‘@’ . $this->domain, $this->password);
    =====
    to
    ==
    $uncoded = $sasl->getResponse ($this->node , $this->password);
    ==

    After this change i could authenticate in ejabberd.

    Yes, i tested Onechannel and works great with jabber feed !

    Thanks a lot …

  6. Jehan says:

    Hi,

    thanks for the bug report! I will have a look at this and report your fix back to my implementation as soon as I can get a new laptop… hopefully in one or two weeks…
    Bye.

Leave a Reply