Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Get RSS feed of private Google Groups for Google Apps

branch: master
6 comments

Use System Temp dir instead of file dir

latest commit 45dfd1780e
Christian Stocker authored December 10, 2010 root committed December 10, 2010
Octocat-spinner-32 .gitignore initial init December 09, 2010
Octocat-spinner-32 LICENSE Added LICENSE stuff December 09, 2010
Octocat-spinner-32 README Added README December 09, 2010
Octocat-spinner-32 config.php-dist initial init December 09, 2010
Octocat-spinner-32 googleLogin.php Use System Temp dir instead of file dir December 10, 2010
Octocat-spinner-32 index.php Added LICENSE stuff December 09, 2010
README
README
******

You can't access the RSS feed of private Google Groups for Goolge Apps 
outside of your logged in browser session. There's just no way to provide 
your credentials.

This little script makes it possible to get an RSS feed of your latest
threads in a private Google Group. It first tries to login into your 
Google account like a browser would do and then saves all the cookies into
a curl cookie file. With that you can later access the RSS feeds (because
they are there, just hidden).

For the login part I used a class which is provided by playnice by Andy Blyler 
(https://github.com/ablyler/playnice) and adjusted it to login against your 
Google Groups account and not Latitude. The rest was easy.

INSTALL
*******

Put all files in a directory. Rename config.inc-dist to config.inc, add your
credentials and call it with eg. http://localhost/gr2rss/index.php?group=mygroup.
You can also use it from the CLI, but then you have to replace the $_GET['group']
with something more appropriate.

CAUTION
*******

Make sure you protect that file somehow (with http-auth for example) so that 
not everyone can read your RSS feed and with that the content of your maybe 
private conversation!


TODO
****

(no real itentions to actually do it, but as an inspiration)

* Provide credentials via http-auth
* whitelist groups

Something went wrong with that request. Please try again.