GooglePlus RSS Feed Reader in PHP

I’m working on a GooglePlus RSS Feed Reader in PHP for anyone who might be interested in making a WordPress module or something similar to display N latest Public posts to your stream.

I have some code in PHP that I’m tinkering with. The original idea came from http://plusfeed.appspot.com/.

You can view the progress: http://www.techish.net/pub/googleplus_rss.php

You can use ?id= to supply your own Google+ ID string found when you login and navigate to http://plus.google.com/

The string of interest here is:

https://plus.google.com/_/stream/getactivities/?&sp=[1,2,"XXX",null,null,null,null,"social.google.com",[]]

Where XXX is your Google+ ID.

[update: August 7, 2011 22:45 EST]

The RSS is for the most part complete; I have some code clean-up to work on yet but it is working. Check out the right column and you’ll see my public feed from Google+.

To reference this, simply add: http://techish.net/pub/googleplus_rss.php?id=YOURGOOGLEPLUSIDHERE to the RSS widget source in WordPress – or in your favorite RSS reader. Let me know if you have any problems!

Tip: You can show the latest N by adding ?latest=X to the URI.

[update: August 6, 2011 02:07 EST]

I have completed most of the work. I’ve added two user controllable parameters:

id - Integer:  Google+ ID
latest - Integer:  Latest X number of entries to return.

http://www.techish.net/pub/googleplus_rss.php?latest=5 will show you my latest 5 entries.

I plan to add date constraints sometime soon and eventually I can maybe pull in comments to the entries(?).

This entry was posted in Site by Rich Kreider. Bookmark the permalink.

About Rich Kreider

Rich, founder of Techish.net, is an IT guy with over 8 years professional experience in systems and network administration, design and development. He is currently employed with Creative Technology in Western Pennsylvania for the past 4 years. He has been working with computer technology for over 15 years amd is currently studying for is VCP5 certification.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>