Tools

bergie said

bergie  

Qaiku's XMPP bot is now open for testing, contact me or @prometheus for instructions

47 comments

bergie posted to #Qaiku Helsinki, Finland 24.06.2009 (en)

47 comments

Bottom

prometheus  

Also, feel free to let us know if/when things explode and what you did in order to break the poor guy :)

prometheus commented on posted to #Qaiku 24.06.2009 (en)

mandrl  

Sounds like fun, please put my name on the list.

mandrl commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@mandrl ping me on Jabber and I'll tell you how

bergie commented on posted to #Qaiku 24.06.2009 (en)

indeyets  

Cool ;)
Some feature-requests:

1) "HELP" command
2) "PING" command (should just say "PONG")
3) When user posts message bot should answer with the URL, where the message landed

indeyets commented on posted to #Qaiku 24.06.2009 (en)

bergie  

The username: part of the XMPP message should have a link to the message on-site

bergie commented on posted to #Qaiku 24.06.2009 (en)

BUGabundo  

fell free to email/pm me more on this!

now that i think on this: do we have PM/DMs?

BUGabundo commented on posted to #Qaiku 24.06.2009 (en)

prometheus  

Please note that there's a small caveat when sending messages via the bot, as it can't currently send replies to messages, so all messages sent through the bot are limited to 140 characters.

The bot doesn't actually tell you if your message exceeds that limit, currently, but this improvement will be made soon I think :)

prometheus commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@BUGabundo we don't. Ping me on jabber or email.

bergie commented on posted to #Qaiku 24.06.2009 (en)

BUGabundo  

@bergie that would imply I knew your xmpp address, which unfortunately i dont :(

BUGabundo commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@BUGabundo http://bergie.iki.fi/ might give a few clues ;-)

bergie commented on posted to #Qaiku 24.06.2009 (en)

BUGabundo  

email sent

BUGabundo commented on posted to #Qaiku 24.06.2009 (en)

bergie  

The big question is threaded conversation (Qaiku comment to a message) handling with the bot. There is an XMPP spec about thread information but I doubt any clients support it.

Couple of options I see:


  • Drop reply support completely from XMPP bot (show only original Qaikus, allow posting only new Qaikus)
  • Starting message with @username replies to latest post from that user

Opinions?

bergie commented on posted to #Qaiku 24.06.2009 (en)

myrtti  

@bergie: latter is exactly how Jaiku did it.

myrtti commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@myrtti and did it work well?

BTW, in our Qaiku bot you can specify what kind of things you want to receive through XMPP. Current options are:


  • FOLLOW stream: get everything from your stream to XMPP
  • FOLLOW @username: get user's qaikus to XMPP

Soon to come (when Qaiku API can handle it):


  • FOLLOW #channel: get channel's qaikus to XMPP
  • FOLLOW radar: get messages where you're mentioned to XMPP

And a new idea that might be cool:


  • FOLLOW search somesearchword: get all messages containing the word to XMPP


bergie commented on posted to #Qaiku 24.06.2009 (en)

indeyets  

@bergie it it also possible to implement it similiar to juick (I mentioned it on irc)

generate some short unique id for every message and use it for answers. something like %B5PEvwAaNa0 (I used "%" as a marker)

indeyets commented on posted to #Qaiku 24.06.2009 (en)

myrtti  

@bergie: it wasn't brilliant, but at least it would be a starting point..?

myrtti commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@myrtti ok, @prometheus will look at implementing replies tomorrow

bergie commented on posted to #Qaiku 24.06.2009 (en)

mcastel  

@bergie mail sent ! ;-)

mcastel commented on posted to #Qaiku 24.06.2009 (en)

nikc  

If it works on irc or google talk i'm interested.

nikc commented on posted to #Qaiku 24.06.2009 (en)

bergie  

@nikc Google Talk is XMPP, so, yes :-) Mail me to get info.

However, right now posting Qaikus via the bot is broken. Something we're looking at...

bergie commented on posted to #Qaiku 24.06.2009 (en)

bergie  

Minor bot update: starting your message with #channelname will send it to a channel instead of your stream.

And yes, bot is again operational.

bergie commented on posted to #Qaiku 24.06.2009 (en)

nikc  

Mail sent

nikc commented on posted to #Qaiku 24.06.2009 (en)

PolarFox  

I'm intrested also.. I use ping.fm (gtalk) for my other updates.. ;)
So if I can connect it from Nokia Ovi.com chat service(Jabber ... Can connect to Gtalk) it would be great.. :)

PolarFox commented on posted to #Qaiku 24.06.2009 (en)

BUGabundo  

as @myrtti said thats the way jaiku worked, and how laconica is doing in the dev version.
it works okaysh but as a prob with faster users, making replies go to the wrong place.

one way to prevent this is doing it the way plurk and friendfeed do, sending a thread id (that expires in time) and when users reply to that threadid the reply ends on the right place

of course 1de60cffb5ffba260cf11de8ee757cb9be5b882b882/#1de60ed5fd662ca60ed11deb5d1fd049da8d6f8d6f8 is way too big so it needs to be something unique but short (nor more the 4 or 5 chars) and easy to type

BUGabundo commented on posted to #Qaiku 24.06.2009 (en)

prometheus  

Looks like there are a few problems with the API at the moment, so AUTHORIZE and FOLLOW @nick won't go through at the moment..

Once the API is fixed I'll test FOLLOW #channel and FOLLOW radar, and hopefully get them rolled out with some other goodies tomorrow.

prometheus commented on posted to #Qaiku 24.06.2009 (en)

prometheus  

Should we give the bot it's own "source" identifier in messages posted through it?

Another thing that we could maybe implement in FOLLOW command is to allow you to give an extra parameter to skip the initial flood of messages (last 20 or so) that you would otherwise receive from the follow as the bot reads it.

prometheus commented on posted to #Qaiku 24.06.2009 (en)

BUGabundo  

i only get:
(11:39:23 PM) qaiku@XXXXX Sorry, authorization failed.

BUGabundo commented on posted to #Qaiku 24.06.2009 (en)

prometheus  

@BUGabundo - see the comment I posted earlier ;)

prometheus commented on posted to #Qaiku 25.06.2009 (en)

bergie  

@prometheus @BUGabundo user_timeline has been fixed, so the bot should again be fully functional.

bergie commented on posted to #Qaiku 25.06.2009 (en)

mcastel  

@bergie it will be possible to specify the language, when posting via the bot? Is it a feature on your list?

mcastel commented on posted to #Qaiku 25.06.2009 (en)

bergie  

@mcastel if we figure out a good syntax for it, it might get on the list

bergie commented on posted to #Qaiku 25.06.2009 (en)

eholmila  

Now it's tagging the language with user's default language in qaiku, right? How about one should only add in the beginning something like [en], [fi], [it] or so and if none is present, qaiku is tagged with the default language?

That kind of syntax would be pretty unlikely to be typed without a purpose.

eholmila commented on posted to #Qaiku 25.06.2009 (en)

mcastel  

@eholmila absolutely agree.. :)

mcastel commented on posted to #Qaiku 25.06.2009 (en)

myrtti  

not with []-s though. They're already in use for links

myrtti commented on posted to #Qaiku 25.06.2009 (en)

Shrike  

How do I get aboard on this? The most anticipated feature, for me anyway! @bergie @prometheus

Shrike commented on posted to #Qaiku 25.06.2009 (en)

bergie  

@Shrike please mail me and I'll give you the info :-)

bergie commented on posted to #Qaiku 25.06.2009 (en)

Shrike  

It works! I love it!

Command:
Shrike: FOLLOW radar
Qaiku bot: Unknown follow target, ignoring.

Something wrong with that one. I am following my stream already.

EDIT: Sorry, this was mentioned in this thread ealier. Nevermind.

Shrike commented on posted to #Qaiku 25.06.2009 (en)

mcastel  

is it already possible to add comment (i.e. replay) with bot, or to write in a channel?

mcastel commented on posted to #Qaiku 25.06.2009 (en)

nikc  

@mcastel: #channel works already, I don't think comments work yet.

nikc commented on posted to #Qaiku 25.06.2009 (en)

mcastel  

@nikc thanks, just tried to post to channel and it works ;)

mcastel commented on posted to #Qaiku 25.06.2009 (en)

prometheus  

Any and all suggestions for improvements are welcome btw :)

prometheus commented on posted to #Qaiku 25.06.2009 (en)

prometheus  

prometheus commented on posted to #Qaiku 25.06.2009 (en)

mcastel  

@prometheus thanks thanks! but how can I use them (i.e. how should I write to answer to a certain message) ? in passing, your link is a thread almost all in a foreign language, to me...

mcastel commented on posted to #Qaiku 25.06.2009 (en)

prometheus  

@mcastel replies currently work only as replies to the last message seen from that user you are replying to, so in order for a reply to work you will have to be following the user on the bot.

prometheus commented on posted to #Qaiku 25.06.2009 (en)

bubu1uk  

@bergie @prometeus: ok, how can i use xmpp with jaiku?

bubu1uk commented on posted to #Qaiku 29.07.2009 (en)

bergie  

@bubu1uk add qaiku at jabber.org as your Jabber buddy and follow the instructions given. Please note that the bot is still in development and so might not always work (as is the case right now, investigating it with @tomis)

bergie commented on posted to #Qaiku Helsinki, Finland 31.07.2009 (en)

bubu1uk  

@bergie: xmmp not working all the time is understandable. ;) btw, I changed from jabber.org to jabber.org.uk due to jabber.org being quiet often down.

bubu1uk commented on posted to #Qaiku 31.07.2009 (en)

Login or register to leave a comment

Privacy
These messages are public and can be seen by anyone.