Drupal Module for news headlines blocks and search page

By vineet

Do you want to put the latest news/blogs from all over the world on your site? On a sidebar? On a search page? On any other page?

We have written a very basic drupal module that gets you news from all over the world using the Daylife News APIs. You can download the drupal module here.

Daylife is an online news aggregator that collects and analyzes news from all over the world and has a set of open APIs (http://cookbook.daylfie.com/docs) for anyone to get news content regarding any topic.

In order to use this news module, you need to sign up for an accesskey and shared secret at http://developer.daylife.com/member/register.

This news module gives you 2 things:

a. A news block that shows headlines about any topic. Once you have installed and enabled the module, you can add an iphone news block with the following PHP code:

<?
$block =  daylife_block('view',0, "iphone");
$content = $block['content'];
echo $content;
?>

 

b. A news search page accessible at /search/daylife/. For e.g. at /search/daylife/iphone for iphone news.