Daylife Cookbook

  • Showcase
  • Sample Code
  • Lazyweb Ideas
  • Documentation
  • Dev Forums

About the Cookbook

The Daylife Cookbook is a collection of recipes to help you bootstrap applications that use the Daylife platform (DayPI).

These recipes come from Daylifers and the cookbook community, with entries ranging from sample code to tutorials, half baked ideas, and spotlights of the latest deployments of the DayPI.

Feel free to share, steal, criticize, applaud, and feed back!

Login to the Cookbook

  • Create new account
  • Request new password

Resources

  • Cooking With Daylife
    • Showcase: The DayPI In the Wild
    • Lazyweb Ideas
    • Sample Code and Tutorials
      • Build a topic page
      • Build a customized index widget
      • Python Madlibs
      • A Lightweight PHP Client Library
      • Create Trend Graphs using Trendrr and Daylife
      • Get a feed of quotes said by a particular person
      • How to build a redcarpet photos website?
      • A Ruby Snippet
      • A Simple Java Client
      • A Simple Python Client
      • A Topic Page Builder
      • Code to Rig Up a News Index
      • Drupal: Add a block with headines about anything you want
      • Render a set of headlines using PHP
      • Drupal Module for news headlines blocks and search page
      • From the Labs: SmartImage (Contextual images for your site)
      • Getting information about topics from Wikipedia
      • Mashup: Create Dipity Timelines using the Daylife RSS feeds
      • PHP: Client to make multiple DayPI calls as one request using the Batch API
      • Proxy in PHP for your widgets to talk to the DayPI
      • RSS feed for Articles about any term using DayPI Search
      • Sport News, from Your Favorite Teams
      • Timeline Widget for Topics
      • Use Source Filtering to Narrow DayPI Results
      • Video: Put Daylife Widgets on your Site
      • Squawk Box
  • DayPI Documentation

Featured Recipes

  • Build a Topic Page
  • Drupal showcase: Journey of the Olympics 2008 Torch
  • Contributed C# .NET client New!
  • Create Trend Graphs using Trendrr and Daylife
  • Sport News, from Your Favorite Teams

Popular Tags

bounty Case Studies cookbook design dex documentation drupal flash idea indexes mashup php samples search searchbasedtopics showcase source filter Step-By-Step topic pages widgets
more tags

Testimonials

Daylife is a perfect fit for our strategy of presenting the best and most tightly focused content, whether it is produced by us at USA TODAY or anywhere else on the Web. It helps us provide our readers with a full 360-degree view of a given topic, and adds depth and richness to niche areas important to our readers and advertisers.- Jeff Webber, SVP, USAToday.com


You guys have what seems like an amazingly powerful and easy to use API, we're pretty excited about playing with it and possibly integrating it with Hubdub. - Tom Griffith, Hubdub.com


It's amazing how simple this is to integrate into django. When a view is creating a page, it just calls a thin wrapper function that I put around the daypi module. - Bracket Boy


I found the Daylife API for PHP really easy to use, and coded something up quickly for my site, Brooklyn and Beyond - Brooklyn & Beyond


This tool makes it really easy to get a quick look or dive in deep thanks to our partner Daylife, who built a comprehensive service that yields up-to-the-minute results - The Washington Post


I was trying to make it work by using Google News RSS feeds but turned out impossible since they don't organize their data in the feeds. I now know its possible with the Daylife API - Akash Xavier


Home › Cooking With Daylife

Sample Code and Tutorials

By john

Below, a growing set of sample code and tutorials to get you going with the DayPI.

  • Build a topic page
  • Build a customized index widget
  • Python Madlibs
  • A Lightweight PHP Client Library
  • Create Trend Graphs using Trendrr and Daylife
  • Get a feed of quotes said by a particular person
  • How to build a redcarpet photos website?
  • A Ruby Snippet
  • A Simple Java Client
  • A Simple Python Client
  • A Topic Page Builder
  • Code to Rig Up a News Index
  • Drupal: Add a block with headines about anything you want
  • Render a set of headlines using PHP
  • Contributed C# .NET client to make DayPI calls
  • Drupal Module for news headlines blocks and search page
  • From the Labs: SmartImage (Contextual images for your site)
  • Getting information about topics from Wikipedia
  • Mashup: Create Dipity Timelines using the Daylife RSS feeds
  • PHP: Client to make multiple DayPI calls as one request using the Batch API
  • Proxy in PHP for your widgets to talk to the DayPI
  • RSS feed for Articles about any term using DayPI Search
  • Sport News, from Your Favorite Teams
  • Timeline Widget for Topics
  • Use Source Filtering to Narrow DayPI Results
  • Video: Put Daylife Widgets on your Site
  • Squawk Box
‹ Sports Tracker - News and pictures, tracker up Build a topic page ›
  • Printer-friendly version
  • Add new comment
Filed Under:
  • cookbook

Home | Get Credentials for the DayPI | Daylife.com | FAQ's | Terms of Use
© 2008 Daylife, Inc.