Brit. informal: ineffectual activity
Google Calendar Plasmoid, Take Two
After the positive feedback on my quick 27 line python hack, I decided to make a slightly improved version. This fixes the two major problems with the old one: you can now use your Google Apps for your Domain email and you can use kwallet to remember your login.
It’s not a simple, 27 line python script any more, but now it’s much more usable. (unless there are some stupid bugs I have overlooked.
)
As suggested I uploaded it to KDE Look: http://www.kde-look.org/content/show.php?content=104182, so you can install it from the “Add widgets…” dialogue or download it and install it with plasmapkg -i gcal-1.1.plasmoid.
The login is just a quick hack, btw. This pretty much sums it up:
src = src.replace("id="Email"", "id="Email" value=""+self.settings['username']+""") src = src.replace("id="Passwd"", "id="Passwd" value=""+self.settings['password']+""") src = src.replace("id="gaia_loginform"", "id="gaia_loginform" name="gaia_loginform"") src = src.replace("", src = src.replace("</body>", "<script>document.gaia_loginform.submit()</script></body>")
I also tried the ninja trick from Ariya’s blog to get a transparent webview, but Google’s 1995 gif logo pretty much destroyed the appearance, so I dropped that.
| Print article | This entry was posted by Erlend on 7 May, 2009 at 19:57, and is filed under english, kde. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |



about 10 months ago
Thx for your improvments! Getting really nice and useful…
But there seems to be a problem when the user has a *@googlemail.com accout.. it just gets an error 404..
about 10 months ago
Great work! =)
It would be _really_ awesome if you used the akonadi google calendar stuff…
Cheers,
about 10 months ago
You can replace the bad google image with a better one, use javascript( QWebFrame::evaluateJavaScript() )
thx for your work
sorry for my bad english
about 10 months ago
Hi, this new version does not save the name@domain into the wallet as an item in Passwords. It just save name so you cannot connect back to your google apps calendar when you log into your desktop
about 10 months ago
I would suggest a different name than gcal since that collides with the already existing gcal program,
http://www.gnu.org/software/gcal/gcal.html.
about 1 month ago
This page contains the following errors:
error on line 33 at column 201: Opening and ending tag mismatch.
Below is a rendering of the page up to the first error.
Sign in
I’m trying to connect to my google app calendar and gives me this error…. I’ll be glad if you can tell me some workaround this.
Thanks!