[pmwiki-users] timeline integration

Knut Alboldt pmwiki at alboldt.de
Fri May 4 04:03:05 CDT 2007


Hi !

Still working on how to use PMWIKi for project management with nice 
gantt-output.
My first attempt with jpgraph got stuck (it's getting rather complex).
I now discovered "timeline" which also looks quite good.

Has anybody already got some experiences with timeline ?

The implementation doesn't seem to be to hard, cause it all could be put 
into javascript-files and HTMLStyles or pmwiki generated HTML. But often 
the problem lies in the details ...

I'll try to get the data input from the wiki-page using markups (e.g. 
(:entry start=yyyy-mm-dd description=... :) which will be renders as 
javascript-code on the fly when the wiki-page is browsed. Possibly those 
data entries could be entered within forms - would be easer for the users.

I still got some problem parsing date information, e.g. a line or markup 
with different date formats like:

date: yy/mm/dd

or

date: tt.mm. - tt.mm.yyyy

or

date: from tt.mm. to tt.mm.

and so on. Is there already a (php-)solution to parse that kind of data 
flexible which can be used (included) in other functions ? could this be 
done using regex intensively ?

Another question concerning the processing of markups:
if I got some markups like:

(:what text1:)
(:date dateinformation1:)
(:who person1:)

(:what text2:)
(:date dateinformation2:)
(:who person2:)

(:what text3:)
(:date dateinformation3:)
(:who person3:)

how would the parsing be done: line by line or by varnames (first all 
"what", next all "date" etc) ? I need this to decide how to implement 
the data collection (first collect all data for one entry, then 
generating html when the next "whot" occurs)

Or is it better to use pagetextvariables ? Can I use one name twice in a 
page ?


Knut



More information about the pmwiki-users mailing list