Karma/Collaboration: Difference between revisions
No edit summary |
No edit summary |
||
| Line 45: | Line 45: | ||
Collaboration data: | Collaboration data: | ||
Bemasc has suggested to store the messages using files and directories | Bemasc has suggested to store the messages using files and directories | ||
/users could be a list of current users | * /users could be a list of current users | ||
/$USERNAME/ could be a list of messages, displayed as files | * /$USERNAME/ could be a list of messages, displayed as files | ||
To check for new messages, just poll the contents of /$USERNAME/. | * To check for new messages, just poll the contents of /$USERNAME/. | ||
To check for new users, just poll /users. | * To check for new users, just poll /users. | ||
If you want to see what messages $USERNAME has emitted, poll /$USERNAME/ | * If you want to see what messages $USERNAME has emitted, poll /$USERNAME/ | ||
Also one other way is using http PUT & GET | Also one other way is using http PUT & GET | ||
[[Category:GSoC]] | [[Category:GSoC]] | ||