Google Calender - Coming Events
KDE4 Extensions
Description:

[ WORK-AROUND FOR COOKIE ERROR ]

------------------------------------------------------------
If you get an error message from Google saying "Your
browser's cookie functionality is turned off. Please turn it
on.", you should try to log in to google calendar with
Konqueror and then retry. I don't have time to look at this
problem before late December, unfortunately.
------------------------------------------------------------

Super-simple plasmoid for showing coming events from your Google Calendar.

Stores your username and password in kwallet.

Install with plasmapkg -i gcal-1.2.plasmoid

The code can be found at:
http://github.com/ehamberg/GCal-Coming/
Last changelog:

7 years ago

1.2: 2009-08-25
* rounded corners for the webview.

1.1.3: 2009-08-24
* force a white background colour for the web view. this hopefully makes this plasmoid usable on any theme.

1.1.2: 2009-05-09
* don't strip @doma.in in usernames for hosted apps

1.1.1: 2009-05-08
* Fix 404 error for @googlemail.com addresses

1.1: 2009-05-07
* Remembers username and password with kwallet
* Works with Google Apps for your Domain

1.0: 2009-05-05
Initial Version

njathan

5 years ago

It asks me "To continue, please type the characters below:"

There is a textbox, but no characters showing up :(
Furthermore, it says:
~*~*~*~
About this page

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

IP address: xx.xx.xx.xx
Time: 2012-01-22T08:51:32Z
URL: http://google.com/calendar/m
~*~*~*~*~*

Report

mc2r

6 years ago

This plasmoid sounds perfect for what I need but I can't get it running on Ubuntu 10.10

When I try and add it to my desktop plasma crashes. I get the following in .xsession-errors


Start Dragging
Object::connect: No such slot Plasma::WebView::urlChanged(const QUrl &)
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
<unknown program name>(32476)/ kdemain: !!{} STARTUP TIME 63513702 START (line: 48 )

Any tips would be appreciated. If you need any more info on the system let me know.

Report

Joste

7 years ago

Above the 'cookies disabled' message it has sign in - so I tried to sign in but this took me to main google proile, clicking on calendar just showed the normal calendar page - not good - however upon closing and reopening the plasmoid all is well. Not tested to see if it survives a reboot yet.

Report

xlnagla

7 years ago

hello - it appears this plasmoid has become broken. I'm getting "please enable cookies" messages when I try to use it.

Report

Phlogiston

7 years ago

Yes I'm having the same issue...

@author: Could you take a look at that?

Report

tjk

7 years ago

I have used Google Calendar from the beginning (think it's great). Today I upgraded to KDE 4.3.1 and now it doesn't work. Error message is: Object could not be created - could not creat a python ScriptEngine... Is there a fix for this?

Report

tjk

7 years ago

I found my own fix... so in case someone else needs it, here's what I did: I just installed python-plasma from the Ubuntu repository and everything works now.

Report

fictitious

7 years ago

Thank you for the great plasmoid! Only thing that would improve this app is if it were possible to costumise the appearance a bit. I find it a bit crowded as is.

Report

savnn

7 years ago

is it able to work behind proxy?

Report

ehamberg

7 years ago

i'm not sure. it uses the default webkit part (webview), i don't know where connectivity settings for that is configured.

Report

cfraz89

7 years ago

Thanks for this plasmoid, really nice and useful. However I like mine to be smaller than the default size. I can resize it smaller, however next time plasma restarts, it returns to default size. It would be awesome if you could modify the plasmoid to remember its size. I think this can be done by using X-Default-Size or something like that within the metadata file. Thanks again!

Report

cfraz89

7 years ago

Oh yeah, and an option for font size would be awesome too :)

Report

tamasrepus

7 years ago

Can anyone confirm that this applet works on KDE 4.3? (currently RC2 as of this writing)

I get "Script initialisation failed" when trying to use the applet. I'm not sure how to diagnose it further.

Report

setafur

7 years ago

Hi,
Sorry it took someone so long to get back to you.

Yes, it works in KDE4.3, however, the background doesn't look very nice with many of the themes for plasma. To make it look nice I made a small modification to your script which you may consider including and improving for distribution:

-------------------------------------------------------------------
def storeUserAndDomain(self, username, password):
re_email = re.compile('@(.+)')
m = re_email.search(username)

# if username is an email address with a domain name other than
# gmail.com, assume it's a Google Apps for your Domain thingie and
# change the url
if m <> None and m.group(1) <> "gmail.com" and m.group(1) <> "googlemail.com":
self.url = "http://google.com/calendar/hosted/" + m.group(1) + "/m"
username = re_email.sub('', username)
else:
self.url = "file:///home/<username here>/.kde4/share/apps/plasma/plasmoids/gcal/contents/code/displayCalendar.html"

self.settings['username'] = username
self.settings['password'] = password
----------------------------------------------------------------

where displayCalendar.html has:
----------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHtmL 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
body {
overflow: hidden;
}
div.container {
position: absolute;
top: 2px;
right: 2px;
left: 0px;
bottom: 2px;
}
iframe {
background-color: #fff;
border: solid 1px black;
opacity: 0.75;
}
-->
</style>
</head>
<body>
<div class="container">
<iframe src="http://google.com/calendar/m" width="100%" height="100%" frameborder="0">
<p>This applet does not support iframes</p>
</iframe>
</div>
</body>
</html>
----------------------------------------------------------------------

I think that something like this would allow more customization via the css parameters to allow users to match their themes more closely and include transparency if they so choose.

Regards,
Sergio

Report

ehamberg

7 years ago

Hi, thanks for the patch.

I'll have a look at it asap. :)

Report

vyncem

8 years ago

Sweet plasmoid. I like it a lot.
Wondering if tasks support may be added, I am willing to enlist my services with some guidance.
Thank you.

Report

tjk

7 years ago

I second this request.

Report

ehamberg

7 years ago

i'll take a look at it. maybe that should be a plasmoid of its own?

Report

vyncem

7 years ago

Hey,

The link
http://mail.google.com/tasks/android
provides a view to google tasks don't know if this is any help.

I've been trying to look into a plasmoid of its own but having trouble with the python-plasmoid tutorial - can't locate the plasmapkg utility, it's been moved around and can't seem to locate it any help will be much appreicated. running kubuntu 9.04-jaunty

Report

FlappySocks

8 years ago

Can only see one line of text, when I use this on a sidebar.

Report

Vistaus

8 years ago

I have to file a bug for this fantastic plasmoid. When I start my PC, this widget shows up blank. I have to remove it from the desktop and put add it again via Add widgets...

I hope you can fix this bug :)

Report

janet

8 years ago

Is it possible to get something like this plasmoid for local korganizer calendar?

Report

Vistaus

8 years ago

Thank you for this plasmoid, it is just what I was looking for :) I hope you keep working on this plasmoid :)

Report

pi4sek

8 years ago

http://www.google.com/calendar/gp

Report

7 years ago

1.2: 2009-08-25
* rounded corners for the webview.

1.1.3: 2009-08-24
* force a white background colour for the web view. this hopefully makes this plasmoid usable on any theme.

1.1.2: 2009-05-09
* don't strip @doma.in in usernames for hosted apps

1.1.1: 2009-05-08
* Fix 404 error for @googlemail.com addresses

1.1: 2009-05-07
* Remembers username and password with kwallet
* Works with Google Apps for your Domain

1.0: 2009-05-05
Initial Version

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 79%
79.00 Likes
21 Dislikes
Details
version
1.2
updated Aug 25 2009
added May 05 2009
downloads
page views 763