Difference between revisions of "HowTos/ScalixMailGoogleGadget"

From Scalix Wiki
Jump to: navigation, search
(Scalix mailbox integration with Google's personalized homepage (iGoogle))
 
Line 3: Line 3:
  
 
''How to use this script:''<br/>
 
''How to use this script:''<br/>
1. <br/>
+
1. [[ScalixMailGoogleGadget ScalixMailGoogleGadget.php]]<br/>
 
2. Modify the following three lines in ScalixMailGoogleGadget:<br/>
 
2. Modify the following three lines in ScalixMailGoogleGadget:<br/>
 
$user="";<br/>
 
$user="";<br/>
Line 16: Line 16:
 
That's it.<br/><br/>
 
That's it.<br/><br/>
  
Links RSS gadgets:<br/>
+
Links:<br/>
 
[http://www.google.com/ig/directory?url=reader.xml Google RSS Reader (Labs)]<br/>
 
[http://www.google.com/ig/directory?url=reader.xml Google RSS Reader (Labs)]<br/>
 
[http://www.google.com/ig/directory?url=http://1o4.jp/google/module/slim-reader.xml Slim RSS Reader]<br/>
 
[http://www.google.com/ig/directory?url=http://1o4.jp/google/module/slim-reader.xml Slim RSS Reader]<br/>
[http://www.google.com/ig/directory?root=%2Fig&dpos=top&num=24&url=http://customrss.googlepages.com/customrss.xml CustomRSS]<p/>
+
[http://www.google.com/ig/directory?root=%2Fig&dpos=top&num=24&url=http://customrss.googlepages.com/customrss.xml CustomRSS]<br/>
 
+
[http://www.google.com/ig/directory?url=http://www.haraldsinger.de/checkmail.xml CheckMail V0.9.2]<br/><br/>
Link CheckMail gadget:<br/>
+
[http://www.google.com/ig/directory?url=http://www.haraldsinger.de/checkmail.xml CheckMail V0.9.2]<p/>
+
  
 
ScalixMailGoogleGadget.php is is based on Manuel Lemos' httpclient-2007-02-15.zip and sasl-2005-10-31.zip. The license of his work can be found in the LICENSE.txt. <br/>
 
ScalixMailGoogleGadget.php is is based on Manuel Lemos' httpclient-2007-02-15.zip and sasl-2005-10-31.zip. The license of his work can be found in the LICENSE.txt. <br/>
 
Many thanks to Manual for these excellent PHP classes. It made development of this Google Gadget a piece of cake.
 
Many thanks to Manual for these excellent PHP classes. It made development of this Google Gadget a piece of cake.
 
[[Link title]]
 
[[Link title]]

Revision as of 19:01, 15 July 2007

This How-to helps you to view your Scalix mailbox on your personalized Google homepage (iGoogle).
The integration with iGoogle can be done through the Scalix integration API. Scalix is able to output your mailbox as an RSS feed. This RSS feed can be shown in iGoogle. But to access this Scalix RSS feed you need to authenticate yourself. Unfortunately the RSS gadgets can not authenticate you. The PHP script below will do the authentication for you and relays the RSS feed so you can view it on your Google personalized homepage. There is a security risk associated with this. Anyone who knows the URL to this PHP script is able to view you inbox.<p/>

How to use this script:
1. ScalixMailGoogleGadget ScalixMailGoogleGadget.php
2. Modify the following three lines in ScalixMailGoogleGadget:
$user="";
$password="";
$url="";
3. Upload the files (http.php, sasl.php and ScalixMailGoogleGadget.php) to your website.
(note: your website should support PHP 4 or higher)
4. Add a RSS gadget to your Google personalized homepage (see links below for RSS gadgets)
5. Edit the RSS gadget settings, the feed URL is ScalixMailGoogleGadget.php on your server.
You should now see your inbox.
5. Add the CheckMail gadget (see link below). This will show how many new emails are waiting for you.
That's it.

Links:
Google RSS Reader (Labs)
Slim RSS Reader
CustomRSS
CheckMail V0.9.2

ScalixMailGoogleGadget.php is is based on Manuel Lemos' httpclient-2007-02-15.zip and sasl-2005-10-31.zip. The license of his work can be found in the LICENSE.txt.
Many thanks to Manual for these excellent PHP classes. It made development of this Google Gadget a piece of cake. Link title