widgets

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.

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.

Idea: Candidate Tracker

By vineet

Candidate Tracker is a design for a widget or a module on a page to bring together background information, news stories and pictures in one complete grabbable module. You should also be able to search for a candidate by typing in a name. For e.g., the design below shows the universe of John McCain in one succinct model. The picture gallery and the newsfeed sections are supposed to refresh automatically to move on to the next picture or news story.

 

 

You can use topic_getRelatedStories to build the newsfeed. topic_getRelatedImages can be used to build the picture gallery. As for background information, you can use the DayPI topic_getInfo to get a block of text that is the abstract summary from wikipedia. However, it does not give you a the broken down information as in this design.

 

For the background information, it would be a good idea to do a mashup with some other people search APIs. For e.g., the ZoomInfo API  - http://api.zoominfo.com/PartnerAPI/XmlOutput.aspx?query_type=people_search_query&pc=dn7vdjv2wjmcpepbj9zg8u7f&firstName=John&lastName=McCain

 

This is still an idea. If you would like to implement it for us, let us know.

Timeline Widget for Topics

By vineet

The Topic Timeline widget shows coverage of a particular topic in mainstream news and blogs over a period of one month. Every light blue and dark blue bar represents the number of mentions for the topic in news and blogs. You can mouse over the bars to have a closer look on the coverage for that day. The widget also shows an article headline and the article source for each day.

 

 

Read more below to understand how to use this widget.

Proxy in PHP for your widgets to talk to the DayPI

By vineet

Applications written as Java applets, Flash or Javascript widgets often face security issues where they cannot talk to a data source which does not have the same domain name as the one where they get served from. For example, if you are going to host a flash widget on http://example.com, your flash securtiy settings will normally not let you talk to any data source that is not hosted on http://example.com.

There are workarounds using crossdomain files to solve someo of these problems. However, we do not support a crossdomain file for our freeapi.daylife.com domain that lets your widget read data from anywhere.

To work-around these security issues, you need a proxy that you can host on the same domain as your widget and that proxies all DayPI calls.

Read more below to learn how to use this proxy.

Pharma News Feed Widget on PharmaGossip Blog

By vineet

PharmaGossip has created a useful Pharma News Widget using the Custom News Feed Builder. You can build your custom news feed by selecting upto 6 journalists and 6 sources using the Newsfeed Wizard. The Widget then displays published by any of those sources or written by any of those journalists.

 

 

Read more below to learn how this news feed has been built.

Idea: People in the Press Ticker

By vineet

The design below is for a widget or a banner html module that shows you the stories about people in the press in a very visually beautiful manner.

 

There are several methodlogies to determine the list of these top players in the different categories of news (categories are World, US, Business etc.). We will list a few below and suggest what DayPI calls can be used.

 

  • For each category of news, maintain a list of top 100-200 topics. On a daily basis you can keep track of number of mentions in news for each of these players using the topic_getTimeline or the search_getCounts API. You can then select the top 10 mentioned players in each category to power the design above.
  •  

  • For each category of news, maintain a list of sources that publish articles in that domain. You can use source_getTopics API call to get the list of most relevant topics in these sources. Trick is to carefully choose the list of sources for each category.

 

When the user clicks on one of these topics, call topic_getRelatedStories to pull stories about that topic. You can also use specific source filters for each category to ensure that the news shown for each topic is from the right category.

 

The background picture of related topics is a big part of this design. It might be a good idea to maintain a mapping on the client side for some of these topics to these visual images to make the design more effective.

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

Video: Put Daylife Widgets on your Site

By john

Daylife Widgets let you take the Daylife functionality on your website or blog without having to write any code. The widgets let you embed related photos, news tickers, stock index style news indexes, slide shows and many other modules on any website you want.

All of our widgets are free. Some of them can be customized with whatever set of topics you want, and are available in several sizes.

Idea: Fashion Highlights and the Designers

By vineet

The design below is for a widget that brings you photos from fashion shows around the world and let you explore them by selecting your favorite designers. You can extend the design also to let the user filter the photos by the specific fashion shows.

 

 

You will need licenses to photo feeds from Getty Images, Associated Press and/or Reuters Pictures to use any photos in this widget.

You can use search_getRelatedImages to get photos about a particular fashion show using the name of the show. E.g. New York Fashion Week 2008. Or you can use a query such as "fashion week" OR "fashion show" to get the latest pictures in fashion.

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