Shelley Powers published a short tutorial on accessing Newsgator via its API and PHP. I’m working with the code and fleshing out a wrapper library I hope to release shortly. I’m fairly sure using Newsgator judiciously will help alleviate the hosting problems I’ve been facing as Philly Future grows, and allow me to add some interesting new features. We shall see.
Menu
- About
- Personal Mission Statement
- How I Got A Career
- Words to Live By
- Principals from Programming
- Links
- Favorite Quotes
- Nineteen eighty-nine
- Christmas 1998
- Thanksgiving 1999
- What Is Important in Life
- Three Months Quit
- Awaiting the Prequels
- Emacs Notes
- Java and Perl Notes
- Music Gear
- The Future Knocks
- Second Chance
- Kensington
- Over The Edge
- Face In The Crowd
- Close My Eyes
-
Recent Posts
Recent Comments
- Karl on Cathy Davidson: Why We Need a 4th R: Reading, wRiting, aRithmetic, algoRithms
- Eric Hamell on Cathy Davidson: Why We Need a 4th R: Reading, wRiting, aRithmetic, algoRithms
- slacktivist » Every day is a good day to call Congress about SOPA, PIPA on If you’re not going dark, help others get informed: Be a Better Activist Day is today
- Sick on The greatest metal songs of all time
- Quick on The greatest metal songs of all time
Archives
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
Categories
- Coding, Software Engineering, Programming
- Cofax
- Comcast
- Communications, Connection, the Internet, the Web, and Media
- Education
- Emma
- Friends, Family and Life
- Homelessness
- Journalism, norgs, and the future of news
- Movies, TV, Radio, Comics, Books
- Music
- Philly
- PhillyFuture.org
- podcast
- Public Service, Civics, Government and Activism
- Texts
- Uncategorized
Tags
achievement Alfresco APIs blogging class CMS cogsci community connection craft CSS data design economy education Emacs family feeds guitar health heroes holiday homelessness influence internet Java JavaScript journalism lessons Mom music norgs parenting philadelphia poverty process programming Python scifi sociology software television video visualization webMeta
How is NewsGator used for PhillyFuture?
At the moment – not. But I have a strong feeling I can use it to help determine which of our member feeds have updated, before we go out to consume them. That will save considerable bandwidth costs and CPU utilization.
I think. Actually – I feel real good about it
better than just monitoring weblogs.com or something similar?
In a way – yes. Weblogs.com makes available changes.xml once per hour. It includes EVERY blog that has pinged it in the last hour. That’s a huge, mega huge file to get and parse.
I am only interested in n-number of the 300 blogs that we aggregate. I can set up subscriptions for these in Newsgator and then monitor them from there.
I think. Pretty sure at least
Another option that is close to this is the Bloglines Sync API: http://bloglines.com/services/api/sync – which might, in the end, be simpler to use, but is not as feature rich. I would have to manually add/delete subscriptions myself – which would suck.
Damn shame. All I really want is a webservice that will let me know when is the last time that specific feed has been updated. That’s it.
I was Googling to see if anyone else had created a PHP wrapper for the NG API, and the closest thing I saw was Shelley’s post (which you referenced). She’s off to basically the same start I made (both using NuSOAP), but only coded a fraction of the total functionality.
If you plan on continuing to pursue this option for your own evil purposes, you may be interested in my NewsGator API Class, which is about half complete (just a matter of adding the remaining functions for their API, as per the existing pattern).
You can find everything related to my code at: http://incoherentcode.com/projects/newsgator-api-class/
If you do happen to finish / add to what I’ve started, I’d really appreciate it if you’d pass it back along. I would really like to use this class eventually, but I just don’t have time to finish it AND code an app that uses it… Good luck, hope you find my work thus far to be useful!