Build the future of news, in software!

Code up and post about an application based on Daylife's API, and win a prize!

1st Prize- $2000, 2 Runners-up $500 each

Our stellar panel of judges will pick out the best entries based on interestingness, originality, and innovative use of the DayPI.

1

Brian Behlendorf

1

Jeff Jarvis

1

Jonathan Harris

1

Richard Moross

1

Marc Hedlund

1

Clay Shirky

1

Scott Heiferman

 

 

We'll accept entries from June 3 through Midnight on July 25th, 2008.

Winners will be announced at the next New York City Tech Meetup, on Aug 5th, 2008!

Read the blog post on ProgrammableWeb about our contest and the DayPIs.

Need a developer? Need an idea?

Click here for more information

Cooking With Daylife

Daylife makes its technology platform available to developers, editors, publishers, and readers who want to dig their hands into the news and make new stuff.

The Daylife Cookbook is a set of recipes you can use to jumpstart your news fiddling. It's a motley collection of ideas, samples, step-by-steps, case studies, and so forth, that you should feel free to borrow or steal from as you build your own applications on top of the DayPI.

We've broken the cookbook up into several sections, listed below.

Showcase; USA Today's Cruise log Sample code and tutorials Lazyweb Idea Sample

Showcase profiles live examples of how the DayPI is being used in the field

Sample Code and Tutorials walk you through how to build a complete implementation, sometimes with code sample and sometimes without.

Lazyweb Ideas are notions and sketches that illustrate possible applications of the DayPI, that you could build if you wanted, or that we might build if we weren't so lazy.

The recipes contained in the cookbook are updated all the time, with new additions and tweaks to old recipes in response to user comments coming every week. You can keep up with the new additions to the cookbook by watching our front page or by subscribing to our sitewide RSS.

You can also navigate the cookbook by tag (see the tag cloud to the left and note the tags at the base of each recipe).

Dig in!

Sky News In Depth

By vineet

Sky News provides in-depth news and content about hot topics in news using the Daylife API Platform. Sky news tracks coverage of hundreds of relevant topics and surfaces the rising topics on the Sky News home page. These topic pages provide in-depth content about the topic by showing related Sky News stories, a gallery of images, quotes and connections. Each topic page also shows the latest news stories from Sky News' partners and from sources all around the world to provide a global perspective on the topic.

 

 

The Sky News topic pages use the Topic APIs (with source filtering) to show all the articles, images, quotes and connections for the topic. Each topic page also shows some Background information about the topic using the Wikipedia excerpt returned by topic_getInfo API.

The "Show Connections" link for every connection on a topic page help you discover the articles and images that are related to both the topic and the connection. This feature calls the Search APIs and uses the names of the topic and the connection joint by the AND operator as the query.

NASCAR Drivers on TNT.tv

By vineet

TNT.tv launches a NASCAR drivers portal using the Daylife APIs. The portal shows stories, connections, quotes and photos for each driver.

 

 

The portal uses the Topic APIs like topic_getRelatedStories, topic_getRelatedTopics, topic_getRelatedQuotes and topic_getRelatedImages to get data about each player.

Purina Pet Charts

By vineet

Purina created Pet Charts, a curated collection of the best pet stuff online. This is the first application of the Daylife platform by an international marketer creating a unique content destination for viewers.

 

 

Pet Charts is a great example of a DayPI powered application that creates a huge inventory of content for an editor to choose and pick from. Pet Charts pulls positive stories about dogs and cats from the DayPI and stores it in a data store. An editor has a publisher console to pick the stories that they think is the most relevant and promote it to the Pet Charts web portal. Pet Charts also pulls photos from Flickr and videos from Youtube. A user can vote up and down any story, photo or video and the community can float up the cute pets.

 

Build a topic page

By vineet

Problem

You want to build a page about someone like Barack Obama or Steve Jobs or some organization like Google or NBA.

Topics are people, organizations and places in the daylife eco-system.

Things you can put on a topic page:

 

 

Read more below to see the code (in PHP) that builds this page.

The Newsweek Threatmeter

By vineet

Newsweek is using the DayPIs to build an interactive application called the Threat Meter. A user can rate the different issues on the Threat Meter and read negatively opinionated stories (threats!) published by Newsweek and their partners The Washington Post and MSNBC related to the issues.

Once the user has rated the issues, he can see the overall ratings as well as read more about the issues.

 

 

The Threat Meter is also available as a widget to put it up on your own blog or facebook profile.

Read more below about the DayPI calls that Newsweek uses to power this application.

PHP: Client to make multiple DayPI calls as one request using the Batch API

By vineet

The Batch API lets you make multiple DayPI requests as one request to the daylife servers.

You can use this PHP client to make a Batch.parallel request. You can download this script from the attachment below.

Here is sample code how to use this script to first form your DayPI requests and then provide them as request to the Batch API:

Idea: Newsmakers on the map

By vineet

Newsmakers on the map is a design for a widget or html module that tracks the hot topics in news based on geographic locations. You mouse over or click on a particular region on the map to see the people that are getting the most coverage by the press in that region. You can then select one of those topics below the map and see the top 4 headlines from the sources in that region writing about that person.

 

 

Here is a design for a smaller version that can be developed as a grabbable widget.

 

 

Read more below to see what methodologies and API calls you will need to implement this design.

This is still an idea, but if you would like to give it a life - let us know.

RSS feed for Articles about any term using DayPI Search

By sumit_kataria

I have written a PHP script that generates RSS feeds for articles by calling Daylife's search APIs for any topic, queries, tags or events happening in the world.

Each item in the RSS feeds contains an article headline, description, published time and link to the original source of the article. To produce a desired RSS feed of your interest, you can use the script that I have hosted by forming a URL that looks like:

http://www.buzzingblog.com/dayliferss/rss.php?query=<search term of your choice>

For e.g.,

http://www.buzzingblog.com/dayliferss/feed.php?query=Barack%20Obama

Read more about Daylife's Search query syntax to form your queries intelligently.

You can also specify the number of items you want to pull in the feed using a limit parameter. So your final URL will looks like

http://www.buzzingblog.com/dayliferss/feed.php?query=Barack%20Obama&limit=20

The last parameter that the script allows is source_filter_id. Read more about source filters here to learn how you can restrict your search to a limited number of sources.

With the availability of RSS feeds on top of the Daylife API, opportunities to build news applications are endless. The script calls the Daylife API on every request and builds the RSS feed in real time. Webmasters can use RSS generator to produce feeds on desired topics to feed them their Drupal/Joomla or any other RSS supported content management systems.

You can download the script and run it on your own server, in case, you want to customize it. You will need to substitute your own accesskey and shared secret that you received from Daylife to make the script work.