MethylBlue
  1. Filelight
  2. Codeine
  3. Wocka
  4. Blog
  5. Detritus
  6. Home

Teh Life Feed

Here's a demo.

Using teh-life-feed.php

Here is a simple example of how to use Teh Life-feed:

<html>
<head><title>Example Implementation of teh-life-feed</title></head>

<body>

<?////////////////////////////////////>
    
require 'teh-life-feed.php';

    
$feeds[] = new Delicious'mxcl' );
    
$feeds[] = new LastFm'mxcl' );
    
$feeds[] = new LastFmJournal'mxcl' );
    
$feeds[] = new LastFmLovedTracks'mxcl' );
    
$feeds[] = new Flickr73643601 );
    
$feeds[] = new Twitter'mxcl' );

    
$entries_by_day teh_life_feeds$feeds );
/////////////////////////////////////?>

<ul>
<? foreach ($entries_by_day as $date_string => $entries_for_day): ?>
    <li>
        <?= $date_string ?>
        <ul>
        <? foreach ($entries_for_day as $entry): extract$entry ?>
            <li>
                <code><?= date'H:i'$time ?></code>
                &nbsp;
                <img src='<?= $favicon ?>'>&nbsp;<?= $content ?>
            </li>
        <? endforeach ?>
        </ul>
    </li>
<? endforeach ?>
</ul>

</body>
</html>

Download

View Source

You can peruse the code before you download.