| Trees | Index | Help |
|---|
| Package TalkManagement :: Module Talks |
|
Module for the two main Talk management classes: TalkManagement.Talks.Talk and TalkManagement.Talks.FactoredTalks. The two
classes share the main methods for display, namely TalkManagement.Talks.Talk.toHTML and TalkManagement.Talks.Talk.toText.
For a better maintainability, two functions have been separated into
different classes: TalkManagement.Talks.Person and TalkManagement.Talks.Event. In a way, they
should be private, because they are really used only inside... but one
may never know, maybe they might become useful per se at some point.
| Classes | |
|---|---|
Event |
Separate class for an Event, just to make things a bit easier to manage |
FactoredTalks |
Factored talks are a group of talks that happen on the same event. |
Person |
Separate class for a Person (presenter), just to make things a bit easier to manage. |
Talk |
See also the introductory comments for details. |
| Exceptions | |
|---|---|
dataError |
data Error (Exeption). |
| Function Summary | |
|---|---|
| datetime.date |
Return a python date from the literal in the resource |
A stupid utility, really. | |
| Variable Summary | |
|---|---|
URIRef |
activity = u'http://www.w3.org/2001/04/roadmap/org#Activ...
|
URIRef |
Cgroup = u'http://www.w3.org/2001/04/roadmap/org#Coordin...
|
str |
consonants = 'aeuioAEUIO'
|
URIRef |
Igroup = u'http://www.w3.org/2001/04/roadmap/org#Interes...
|
Namespace |
ns_actmenu = u'http://www.w3.org/2004/08/TalkManagement#...
|
Namespace |
ns_contact = u'http://www.w3.org/2000/10/swap/pim/contac...
|
Namespace |
ns_foaf = u'http://xmlns.com/foaf/0.1/'
|
Namespace |
ns_ical = u'http://www.w3.org/2002/12/cal/ical#'
|
Namespace |
ns_office = u'http://www.w3.org/Consortium/Offices/Offic...
|
Namespace |
ns_org = u'http://www.w3.org/2001/04/roadmap/org#'
|
Namespace |
ns_talk = u'http://www.w3.org/2004/08/Presentations.owl#...
|
Namespace |
ns_vcard = u'http://www.w3.org/2001/vcard-rdf/3.0#'
|
URIRef |
office = u'http://www.w3.org/Consortium/Offices/Offices....
|
int |
OFFICE_STAFF = 2 |
int |
OTHER = 3 |
int |
TEAM = 0 |
int |
WG_CHAIR = 1 |
URIRef |
Wgroup = u'http://www.w3.org/2001/04/roadmap/org#Working...
|
| Function Details |
|---|
getDate(dateR)Return a python date from the literal in the resource
|
sanitizeDate(date, format)A stupid utility, really. The default date.strftime routine of the python library cannot generate a date without a leading zero. Ie, it always generates '02 February' rather than '2 February'. So this here is a routine wrapping around strftime... This routine is based on a pattern " 0X" (note the space) to avoid turning 2004 into 204...
|
| Variable Details |
|---|
activity
|
Cgroup
|
consonants
|
Igroup
|
ns_actmenu
|
ns_contact
|
ns_foaf
|
ns_ical
|
ns_office
|
ns_org
|
ns_talk
|
ns_vcard
|
office
|
OFFICE_STAFF
|
OTHER
|
TEAM
|
WG_CHAIR
|
Wgroup
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sat Aug 06 12:38:27 2005 | http://epydoc.sf.net |