
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
[ 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/
11 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
11 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
9 years ago
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
10 years ago
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
11 years ago
Report
xlnagla
11 years ago
Report
Phlogiston
11 years ago
@author: Could you take a look at that?
Report
tjk
11 years ago
Report
tjk
11 years ago
Report
fictitious
11 years ago
Report
savnn
11 years ago
Report
ehamberg
11 years ago
Report
cfraz89
11 years ago
Report
cfraz89
11 years ago
Report
tamasrepus
11 years ago
I get "Script initialisation failed" when trying to use the applet. I'm not sure how to diagnose it further.
Report
setafur
11 years ago
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
11 years ago
I'll have a look at it asap. :)
Report
vyncem
11 years ago
Wondering if tasks support may be added, I am willing to enlist my services with some guidance.
Thank you.
Report
vyncem
11 years ago
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
ehamberg
11 years ago
Report
tjk
11 years ago
Report
FlappySocks
11 years ago
Report
Vistaus_double
11 years ago
I hope you can fix this bug :)
Report
janet
11 years ago
Report
Vistaus_double
11 years ago
Report
pi4sek
11 years ago
Report