Valkertown Home

Jance Logo

Jance Project

Welcome to the home page of the Jance bot.

Jance is a Jabber + Pownce bot that enables it's users to post to pownce by talking with him.

Jance and Gajim
Jance and Gajim

So far this is a little project, the source is released under the AGPL written in python using twisted and oauth to talk with the pownce API

You can get the latest release with:

hg clone http://hg.valkertown.org/jance.hg/

The Jance bot is currently running as pownce@valkertown.org, you can add him to any jabber roster(this includes Gmail accounts, and I think AIM too) and talk with him.

Valkertown's Jance bot is a development one and probably I would restart him from time to time so it may not be available.

Usage:

Now you can post messages, links and events to pownce, this way:

To query for the to field options you use the command:

You can query the messages you send and get from pownce by issuing:

At anytime you can query wich user is related to the JID you're using with:

This documentation may get outdate so you can access the bot own documentation by issuing the command:

Since currently Jance tokenizer and parser are quite stupid they only understand spaces as field separator so in the non comment/message fields you can't use spaces in them.

type
links, messages, events, files
limit
How many posts at a time you want to query
page
To access older posts
to
Can be public, all, set_x , friend_x
message
The message you attach it, it's free form.
location
As far as I can tell it's free form but since Pownce links to Google maps, better use locations that mean something to Google maps
event_name
Right now you can't use spaces here, besides from that it's free form.
date
Formatted like "YYYY-mm-dd HH:MM" -> 2008-01-16 20:00

Reply Command

Reply command requires an special consideration on it's own.

In Ponwce posts have unique ids, when you send to Jance the notes, usernotes and mynotes he will reply with something like this:

link from deepspawn: http://pownce.com/deepspawn/notes/2974890/ 2 min ago, 0 replies

So the post_id field in the reply command would be 2974890.

Now the stars field is a numeric field wich takes the following values:

You can leave it at 0 but still will have to put something in any case, even for stuff like events that doesn't use the rating system.

Now for the RSVP field it's the same, it's a numeric value with the following values:

You can leave it at 0 but will have to set it to some value in any case even if it's a reply to something that's not an event.

Next you will have the chance to set a message, if you set any of the other two values to non-zero you can ommit the message otherwise you must place some kind of message.

I don't know if this setting would please everyone but I think it's pretty straightforward and doesn't require too much writing on the user side, it's just not very verbose.

Feedback

I would love to hear feedback to improve the overall user experience of Jance, so you can write a mail to pownce@valkertown.org or contact me using deepspawn at Pownce.

Happy Powncing.

Callback URL: Jance Logged

© 2008 Carlos A. Perilla | Design by Andreas Viklund