IRC logging in SIOC
Python
Permalink
Failed to load latest commit information.
.gitignore add a .gitignore for *.pyc, *.log. and *.log.* Sep 29, 2009
README update documentation and example code Jul 23, 2009
channellog.html add links to about.html to page headers and footers Aug 20, 2009
channellog.py analyse more channel info, implement sitemap.xml; support .ttl extension Aug 20, 2009
htmlutil.py parse http links from message contents Jul 24, 2009
idea update documentation and example code Jul 23, 2009
index.html use irc.sioc-project.org less in place of datarooturi Sep 29, 2009
ircbase.py add commands (pointer, rebuild, do) to sioclogbot, reopen logfile per… Aug 20, 2009
mttlbot_knowledge.ttl update mttlbot_knowledge.ttl now that it is online again Aug 9, 2009
sioclog.cgi configure root URI in sioclog.cgi Sep 29, 2009
sioclogbot.py update args in sioclogbot usage documentation Sep 29, 2009
sioclogwww.py configure root URI in sioclog.cgi Sep 29, 2009
styles.py add links to about.html to page headers and footers Aug 20, 2009
taxonomybot.py in taxonomybot, handle missing nickserv or syntax error from nickserv Sep 29, 2009
templating.py update documentation and example code Jul 23, 2009
turtle.py update documentation and example code Jul 23, 2009
user.html add links to about.html to page headers and footers Aug 20, 2009
users.html use irc.sioc-project.org less in place of datarooturi Sep 29, 2009
users.py use irc.sioc-project.org less in place of datarooturi Sep 29, 2009
vocabulary.py link from users to channels and vice versa Jul 24, 2009

README

SiocLog is a system for logging and displaying activity on IRC channels.

http://irc.sioc-project.org/

Dependencies
------------

SiocLog uses Python 2.5 (for with-statements) and the following libraries:

* python-twisted: Twisted Python is the IO framework used for IRC
* python-simpletal: SimpleTAL is the XML templating system used for HTML
* python-librdf: Redland RDF is used to load Linked Data from the Web

Installation
------------

0. Fetch sioclog: git clone git://github.com/tuukka/sioclog.git
1. Copy sioclog.cgi to a place where a HTTP server is configured to execute it.
2. Edit sioclog.cgi to match the location of the rest of the files.
3. Start sioclogbot.py in background - probably using the screen command.
4. Start taxonomybot.py in background - probably using the screen command.

Main parts
----------

sioclogbot.py - an IRC bot that logs what it sees into a log file
sioclogwww.py - a WWW interface for displaying logs
sioclog.cgi - a CGI script for running the WWW interface on a HTTP server
taxonomybot.py - a helper IRC bot that relays user metadata via HTTP

Helpers
-------

index.html - a template for the front page and the log indexes
channellog.html - a template for the logs
users.html - a template for the user index
user.html - a template for the user profile pages

ircbase.py - a module for dealing with IRC connections and data
channellog.py - a module for filtering and rendering streams of IRC data
users.py - a module for dealing with users: index, Web IDs, FOAF data

htmlutil.py - a small module for dealing with HTML
templating.py - a small module for rendering HTML with templates
styles.py - a small module for rendering the CSS stylesheets

turtle.py - a small module for rendering RDF data in the Turtle format
vocabulary.py - a small module for the RDF vocabularies used