maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [ANNOUNCE] tiny webcal auto importer :: pywebcalai (https://talk.maemo.org/showthread.php?t=61203)

yoyoek1 2010-08-27 08:48

[ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Hi all
http://yoyo.ghost.pl/down/ico_ical_64_64.png
I'm writing a tiny script in python for automatic import webcal's / icals from internet.

This application lets you to add / edit / delete web links to ical files.
After entering these links, you can update your local (phone) calendar by one click.


juuupii :) package on repo :) Extras-devel
package name pywebcalai

homepage: https://garage.maemo.org/projects/pywebcalai/

# 2011 05 31
thx to John added support for calendars with no name (name is taken from http filename), and I added support for recurring events. You can now import events from calendar.yahoo.com with this version

# 2010 10 18
add webcal:// address handler

# 2010 09 30
add depends
new file " run-standalone.sh /opt/pywebcalai/pywebcalai_no_gui.sh " for no gui use

# 2010 09 25
on request:
- add support for localfile system ical
- add command line (no gui import)

# 2010 09 13
more resistant to convert text to date

# 2010 09 08
adding the missing required library

# 2010 08 30
- some gui :)
http://yoyo.ghost.pl/down/pywebcal_steps/001.jpg
first run

http://yoyo.ghost.pl/down/pywebcal_steps/002.jpg
configuration add/edit/del

http://yoyo.ghost.pl/down/pywebcal_steps/003.jpg
adding some webcal

http://yoyo.ghost.pl/down/pywebcal_steps/004.jpg
ready to import in 10, 9, 8, .... :)

http://yoyo.ghost.pl/down/pywebcal_steps/005.jpg
tiny info after import :)


http://yoyo.ghost.pl/down/pywebcal_steps/006.jpg
in my call :)

http://yoyo.ghost.pl/down/pywebcal_steps/007.jpg
imported event

# 2010 08 28
- no icalendar exception handler
- no internet connection handler
- status dialog
- fix configuration list
- speed up all process ~x100 :)

sorry for my mistakes but my English level is quite low

yoyoek1 2010-09-05 07:25

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
testers / feedback welcome

dekkelkamp 2010-09-06 16:42

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Hello,

The program 'starts' (black screen, rotatating icon in titlebar) but then it quits.

It doesnt work at all on my n900.

I am looking for a way to to download an .ics file and import it every week on monday. Is that possible with your program

yoyoek1 2010-09-08 08:35

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
thanks for the feedback! :)
All saving innovations described in the first post.

If you update an application does not run refill after every information, please calls xterm command

# run-standalone.sh /opt/pywebcalai/pywebcalai.sh

jukey 2010-09-09 09:33

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Hi I would love to use your application. It sounds great but there seem to be some problems.

1. How I can delete an entry?
2. Do you have an iCal-example I can use to try it out?
3. Will there be a possibility to select a calendar for importing the data?
4. I always get the error message "google.com connection error" when I try to use this ical: http://www.google.com/calendar/ical/...blic/basic.ics

Thanks jukey

yoyoek1 2010-09-13 07:42

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Quote:

Originally Posted by jukey (Post 811513)
1. How I can delete an entry?

start app > preferences > select webcal > edit > and there will bee delete button

Quote:

Originally Posted by jukey (Post 811513)
2. Do you have an iCal-example I can use to try it out?

is that goal to work every ical.
tested. from version 10.09.13 yours example ical is working

Quote:

Originally Posted by jukey (Post 811513)
3. Will there be a possibility to select a calendar for importing the data?

Describe more feature

Quote:

Originally Posted by jukey (Post 811513)
4. I always get the error message "google.com connection error" when I try to use this ical: http://www.google.com/calendar/ical/...blic/basic.ics

working,
maybe some typo?
remember not to write at the beginning http://
You can manually add an entry ~ /. pywebcal.config

jukey 2010-09-21 10:13

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
A few days ago everything worked fine but now I'm unable to start pywebcalai:
Code:

~ $ run-standalone.sh /opt/pywebcalai/pywebcalai.sh
Traceback (most recent call last):
  File "./pywebcalai.py", line 76, in <module>
    import gtk.glade
ImportError: No module named glade

Do you know how to solve the problem?

yoyoek1 2010-09-22 10:57

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Quote:

Originally Posted by jukey (Post 822156)
A few days ago everything worked fine but now I'm unable to start pywebcalai:
Code:

~ $ run-standalone.sh /opt/pywebcalai/pywebcalai.sh
Traceback (most recent call last):
  File "./pywebcalai.py", line 76, in <module>
    import gtk.glade
ImportError: No module named glade

Do you know how to solve the problem?

This error indicates that there is something wrong with pyglade.
is not there
pyglade is in python-gtk, I think so

erniadeldesktop 2010-09-22 11:16

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
hi yoyoek1,
your app is almost what I was looking for: I've just wrote an app that generate vcal. I would like to somehow pipe my output to your app and exploit your sync script. Should you adapt it for receving also local ics files? We can speak in private for more details
thanks!

yoyoek1 2010-09-22 21:37

Re: [ANNOUNCE] tiny webcal auto importer :: pywebcalai
 
Quote:

Originally Posted by erniadeldesktop (Post 823240)
hi yoyoek1,
your app is almost what I was looking for: I've just wrote an app that generate vcal. I would like to somehow pipe my output to your app and exploit your sync script. Should you adapt it for receving also local ics files? We can speak in private for more details
thanks!

ok
When I find a moment I will try to implement:
- import start from command line (good for cron start)
- possibility to work on http and local file

something else?


All times are GMT. The time now is 19:54.

vBulletin® Version 3.8.8