i just want you to know about a little project i`ve been spending the
last weeks with.
With Strophe.js, a wonderfull library for XMPP over HTTP in Javascript I
hacked a Jabber client and a PubSub Client into TiddlyWiki. I was
dreaming of TiddlyWIki as a Client for a distributed, open social
Networks, using XMPP and PUBSUB. The Plugin Architecture of TiddlyWiki
could make such a project very flexible (you don't need to programm a
Calendar, use Reminderplugins, use RevisionsPlugin and so on), but on
the other hand the whole javascript thing is a big security problem. You
could also use tiddlywiki locally to sync your Social information ...
The code is badly written, because i'm not an experienced programmer and
this was my first JS project. I split the code, inserted some comments
and created a git repository:
https://github.com/ziprandom/boshPlugins
i also put the pre-Alpha thing to tiddlyspot, so you can play around
with it, and tell me, what you think of it.
http://xmppwiki.tiddlyspot.com (i don't guarantee for security)
unfortunately my plans came to a halt, as ejabberd's pubsub server is
missing some key functionalities needed for a social network, namely:
publisher verification (items posted to a pubsub node are posted
anonymously, author tags can easily be faked). and the publish-only
affiliation, allowing someone to post, but not to edit or view (INBOX)
items on a node.
i hope the buddycloud channel-server will soon improve.
yours
ziprandom.
On 08.06.2011 19:15, Yakov wrote:
> Hi, ziprandom!
>
> So basically you develop an XMPP client with a TW-page, right?
yes.
> Sounds
> very intriguing. I see an error notification in loading
> boshPluginPubSub when I open the page with Opera
due to some JS issues ( i guess that's easys solveable to someone who
knows more about JS in the different browsers) opera and safari (webkit
i guess) doesn't work right now.
> and an error in
> bosh_affiliationsManager in FireFox.
thats ok, as the affiliationsmanager needs a node, and you need to have
the rights to see & change the affiliations, the whole
affiliationsmanager is just a quick hack ...
> Anyway, I don't have an XMPP
> account now, so I probably join testing later.
i encourage you to do so, you will nee a server, that supports bosh, or
some kind of gateway (PunJab). this project is kind of difficult to
explain, as most of the XMPP guys and girls don't understand what
TiddlyWiki is and so don't see the potential for a standalone wiki that
syncs you IM + Social Stuff and the TW People maybe don't know what XMPP
is or can do, except for chatting (->PubSub).
> An important quesion: "how much" standalone your application is? I
> mean, if I have a mobile phone with just browser, will this work?
theoretically it should. i tested it on an android tablet, but the
browser gives me the JS errors you saw in Opera.The TW file (which
conatins the strophe.js & the boshPlugin code) and firefox in
combination with a bosh-enabled XMPP Server is all you need. I already
use it for chatting and a small blog ...
> Anyway, welcome to comunity and good luck with the project!
> Yakov.
>
thxx :-)
zip.