[Feature request] Calendar View
Hi,
Zim is great for PIM and I would like to use it even more for managing my meetings and everything else but it lacks a way to have an overview of the month or of the week.
I mean something like this : http://
I've written a custom action that manage that through formation zim pages from Calendar namespace into pal files and then using pal ( http://
The limitation of this way to produce the calendar is that I can't click on an event and directly get to its page in zim and see the annotations about the event. I have to always switch, it gets quickly annoying.
Also I need to reactualise the calendar everytime I make a modification and I can't do it if I'm not using linux. It feels like losing much of Zim's power.
I'm not a programmer and I don't know anything about python and so I don't know what is possible to do but efficient time management in ZIm would be great.
Some features request for that plugin or whatever (for my usage)
* Automatic update à la Zim
* Categories of event (Work, fun, ...) (through tags ) leads to coloring in the calendar view
* events in calendar are links as links in Zim ( ie links to zim page or website)
* Possibility to show only one or some categorie
For reference here is the bash script I use (in french, I can translate it if needed)
* Syntax for event : ~[hh:mm [- hh:mm]]EVENT[@tag]
* pal permise colored output of calendars (not in the above screenshot, but it can ;) )
#2 "pal file" per category : [cat].pal and [cat]-zim.pal
for copie in $paldir/*.pal
do head -n1 $copie > ${copie%
done
#tagtest function converts tags in zim into pal file to write in
tagtest() {
case $1 in
travail | Travail | M2 | Master | Stage | master | stage) categorie=
loisirs | amis | Loisirs) categorie=
ENS | ens|Enseignemen
Lisa | lisa) categorie=
todo | TODO | Todo|imp|
*) categorie=
esac
}
for fichier in $ZimDir/*/*/*.txt
do
# event are ~hh:mm event @tag in file [zim_root]
events=`grep -e ^~ $fichier | sed s/"~"//g | sed s/"\ "/_/g`
if ! [ -z $events ]
then
date=`echo ${fichier##$ZimDir} | sed s/"\/"//g |sed s/.txt//g`
# Day can contain more than one event (sadly)
# spaces in $events are converted into "_" in order to avoid strange behaviour in this loop
for event in $events
do
tag=`echo $event |grep -o @.* | sed s/"@"//g`
tagtest $tag
event=`echo ${event%%@$tag} | sed s/"_"/"\ "/g`
# That part parse for events written two times ( as I use traditional pal file and zim converted)
if ! grep "$date $event" ${categorie%
then echo "$date $event" >> $categorie
fi
done
fi
done
Thanks for reading
Benjamin
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jaap Karssenberg
- Solved:
- Last query:
- Last reply: