Closed ix- closed 6 years ago
Hey, can you append the content of ~/dl/ww.ics
so I can try it over here? (Make sure not to include private information).
Well, it contains no vtodo entries (as the error message says). What would you expect ics2task
to do with it?
I'd like it to record the dates as scheduled. Ok, maybe I did not really understand what the ics2task does. Than I'm sorry.
We could write a simple script to convert vevents to vtodos, but I don't see it as part of this project.
Ok, what I expected:
If you do not see this as part of the project, mark the issue as closed. Thanks
ics files can contain VEVENT
, VTODO
and VJOURNAL
entries. ics2task
only handles the VTODO
part. You can try this as a start:
sed -s 's/VEVENT/VTODO/g' ww.ics | ics2task
Thx! Maybe include this in the readme, this was not clear to me. Best regards.
Done, thanks for coming up with this :). Is the sed call enough for you, already?
maybe you rather want something like this?
sed -e 's/VEVENT/VTODO/' -e 's/DTSTART/DUE/' ww.ics | ics2task
https://github.com/jspricke/python-icstask/blob/93d2686daee24730b7659b841289acb904bb936a/icstask.py#L302
Best regards, ix