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!
API versions 4.0 and 4.2 have been deprecated. API v4.8 is the latest stable version available. Please check Release Notes for more information about different API versions.
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
The source_filter_id is a value configured by us based on a list of sources that a user wants to restrict their result to. The way it works is that you give me a list of sources (by email) and I send back you a source_filter_id that only works with your key. This is useful in cases where your source filter has a large number of sources.
You can also use a dynamic source filter by providing the source name to a source_whitelist or source_blacklist parameter. E.g.
source_filter_id is pre-constructed
Tom,
The source_filter_id is a value configured by us based on a list of sources that a user wants to restrict their result to. The way it works is that you give me a list of sources (by email) and I send back you a source_filter_id that only works with your key. This is useful in cases where your source filter has a large number of sources.
You can also use a dynamic source filter by providing the source name to a source_whitelist or source_blacklist parameter. E.g.
source_whitelist=SourceA&source_whitelist=SourceB .....
or
source_blacklist=SourceC&source_blacklist=SourceD .. and so on.
Here are some examples of dynamic source filters: http://cookbook.daylife.com/cookbook/sports_headlines
- Vineet