NewsCloud Releases Open Media Web Services and API
Today we're announcing the release of the NewsCloud Web Service and APIs as part of our effort to make NewsCloud into a fully open platform for media distribution. Our goal is to expand the potential for citizen journalism by helping developers embrace and extend our work. The NewsCloud web services will allow other community developers to easily interact and expand the stories and features at NewsCloud.com. We hope the result will be a variety of cool mashups, customized Web sites with media content and a better NewsCloud.
NewsCloud's Web Services consist of more than 50 interfaces (APIs) for interacting with our Web site. Nearly everything you can do as a user on the NewsCloud site can be done via our APIs from your own Web site. If you want to, you can even create your own news site - or design your own front page.
We've tried to make it easy for Web developers to make use of our APIs with a simple PHP class. By using our NewsCloud PHP class with your code, interacting with data from our site becomes as easy as manipulating any PHP array data.
We've also built a number of examples for which we're sharing the source code: The Cloud Report - a custom front page, a mini-text-based version of NewsCloud for PDAs, a customized version of your journal page (clippings from all your news stories), a personal tag cloud, a custom group page featuring Daily Show content, example sign in and registration forms, a keyword-based image roll and more. These are just a start - but the potential is vast. We'll be improving and adding to the samples over time with help from our developer community. We've also integrated AJAX using the Prototype Javascript Framework into our registration and voting example to show developers an easy way to take advantage of the interactive elements we use on NewsCloud. We'll be building more AJAX examples over time.
All of our APIs are available via REST as described in our documentation, so you don't have to use PHP to get in on the fun. If there are developers who would like to build code libraries for other platforms or improved examples, please email us.
For users who just want to use our news headlines without the API, we've provided code examples of using the Magpie RSS parser to grab stories from any of our site RSS feeds.
The NewsCloud PHP class and example code can be downloaded here. Use of the NewsCloud PHP class requires PEAR be installed on your server, however, you could replace PEAR with another library for making HTTP requests at your preference.
How can you get started?
Getting started is easy:
- Visit our NewsCloud Web Services Overview
- Browse our documentation
- Get your API key (registration required)
- Download our example code and start customizing!
How can I get more involved?
We'd appreciate your help with NewsCloud. First, we encourage you to get involved in the NewsCloud community by posting stories and joining discussions. Learn more.
Then, when you've had time to work with our example code, please share your improvements with us. If you have requests for us to expand our API capabilities, please let us know. You can either join the discussions and post suggestions in our experimental Google Group Web Services community - or just email us.
You can also contribute funds to support our site development - click on the tip jar to the upper left if you'd like to help.
Disclaimers
NewsCloud is small startup with just one full time person, so we're monitoring our API usage tightly and carefully limiting volume on sensitive APIs to prevent abuse. Once you've tried out our Web services, just let us know if you want us to increase your limits for your application. If you have a valid use, we'll do our best to accomodate you. Email us here.
We may also modify the API without notice. However, if you use our PHP class as an abstraction layer, you're less likely to run into compatibility problems. We will post notifications of changes and enhancements to the API and example code here on the blog. You can subscribe to our blog feed here.
Right now, there is no cost to use our APIs but we reserve the right to revisit this issue to accomodate load and bandwidth issues, as well as the long term sustainability of our currently pro-bono organization.
About NewsCloud
NewsCloud was founded in 2005 by Jeff Reifman to create an open community to address the problems with consolidation of corporate media and censorship. Originally named CommonTimes, the site was renamed in 2006 as NewsCloud.com. NewsCloud evolved from CommonBits and CommonTunes - earlier experiments in online media distribution communities.
Jeff's experience with online media began in 1995 with MSN News and then MSNBC.com. Since leaving Microsoft, Jeff is a happy Mac user and has written extensively about his former employer. You can follow Jeff's blog at Idealog.us.
Technorati Tags: ajax, api, code samples, newscloud, newscloud api, web services





Jeff,
I'm interested in this project, but I'm not really a developer. I've hacked a little PHP and installed a lot of PHP/MySQL apps, but this project looks like it has a lot of promise.
One area that a lot of people seem to be looking for is the ability to create self-branded YouTube-type sites. How does NewsCloud currently handle videos? Is this handled within the application or by some outsourced method. Ideally, I'd like to see uploaded files of any type (wmv or QT) converted to FLVs for progressive downloading to an embedded Flash player. Just wondered if you could give us any insight on how this is currently done or if you have had an developer interest in extending it in this direction?
Posted by: cheekygeek | Feb 02, 2007 at 06:20 AM
Cheeky, thanks for the great comment.
I'm going to post this to our discussion forum and answer it there as well.
NewsCloud links to video hosted at external URLs ... there are so many free video hosting sites, this didn't seem like a good problem for us to try to tackle right now. Also, bandwidth for upload and download would be prohibitively expensive for us.
That said, if a developer wants to work on this, it would be a great addition to our platform. So far, no one has asked to do this.
Posted by: Jeff | Feb 02, 2007 at 02:24 PM