Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (60 sloc) 2.39 KB
Yahoo Firehose research interface
Copyright (c)2010 Christian Heilmann
Code licensed under the BSD License:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Yahoo! Firehose research interface</title>
<link rel="stylesheet" type="text/css" href="">
<link rel="stylesheet" type="text/css" href="firehosesearch.css">
<body class="yui-skin-sam">
<div id="doc" class="yui-t7">
<div id="hd" role="banner">
<h1>Yahoo Firehose search</h1>
<div id="bd" role="main">
<form method="post" id="mainform" action="index.php">
<h2><span>1</span> Select the sources you want to get information from (default is all)</h2>
<ul id="sources">
<?php include('options.php');?>
<h2><span>2</span> Tell us what you want to find</h2>
<div class="bar"><label for="search">Search for:</label><input type="text" id="search" name="s" value="<?php echo $_POST['s'];?>"><input type="submit" value="search the social web" name="sent"></div>
<?php include('lookup.php');?>
<div id="ft" role="contentinfo">
<p>Written by Christian Heilmann, powered by YQL and YUI. State retention using HTML5 local storage.</p>
<script src=""></script>
YUI().use('node', function(Y) {
if(('localStorage' in window) && window['localStorage'] !== null){
var key = 'lastyahoofirehose';
<?php if(isset($_POST['sent']) || isset($_POST['moar'])){?>
<?php }else{ ?>
if(key in localStorage){'#mainform').set('innerHTML',localStorage.getItem(key));'#hd').append('<p class="message"><strong>Notice:</strong> We restored your last search for you - not live data</span>');
<?php } ?>
Y.all('#sources li').set('tabIndex','-1');'#sources').delegate('click',function(event){'on');
Jump to Line
Something went wrong with that request. Please try again.