-LOCAL_ROOT = /home/quilime/dev.gabrieldunne.com/
+LOCAL_ROOT = /home/quilime/quilime.com/
CONTENT_DIR = content/
TEMPLATE_DIR = templates/
-SITE_TITLE = plog
+SITE_TITLE = quilime
--- /dev/null
+<html>
+
+<head>
+
+ <?php include_template('header-src.html'); ?>
+
+ <title><?php echo SITE_TITLE; ?> - aggregate</title>
+
+ <link rel="alternate" type="application/rss+xml" title="aggregate" href="http://media.quilime.com/aggregate/?return=rss" />
+
+
+</head>
+
+<body>
+
+ <?php include_template('nav.html'); ?>
+
+ <div id="content">
+
+ <h1>aggregate</h1>
+
+ <p>
+ visual content and links
+ </p>
+
+ <table border="0" id="agg"><tr>
+
+
+ <td valign="top" class="column">
+ <?php $agg = get_rss_feed('http://media.quilime.com/aggregate/index.php?return=rss'); ?>
+ <h2><a href="http://quilime.com/aggregate/">images</a></h2>
+ <ul class="image">
+
+ <?php
+ $count = 8;
+ foreach($agg->channel->item as $item) :
+ if ($count-- == 0) break;
+ ?>
+ <li title="<?php echo $item->title; ?>">
+ <a href="<?php echo $item->link; ?>">
+ <img src="<?php echo $item->thumb; ?>">
+ </a>
+ </li>
+ <? endforeach; ?>
+ </ul>
+ <p>
+ <a class="more" href="http://quilime.com/aggregate" title="via quilime.com/aggregate">more →</a>
+ </p>
+
+ </td>
+
+
+<?php /*
+ <td valign="top" class="column">
+ <?php $tube = get_rss_feed('http://gdata.youtube.com/feeds/base/users/kabr/favorites?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile'); ?>
+ <h2><a href="http://www.youtube.com/profile?user=kabr&view=favorites">video </a></h2>
+ <ul class="video">
+ <?php
+ $count = 11;
+ foreach($tube->channel->item as $tube) :
+ if ($count-- == 0) break;
+ ?>
+ <li title="<?php echo str_replace('"', '\'', $tube->title); ?>">
+ <?
+ $url = $tube->link;
+ $pattern = '/v=(.+?)&/';
+ preg_match($pattern, $url, $matches);
+ $id = $matches[1];
+ ?>
+ <a href="<?php echo $tube->link; ?>">
+
+ <img src="http://i3.ytimg.com/vi/<?=$id?>/default.jpg" />
+ </a>
+ </li>
+ <? endforeach; ?>
+ </ul>
+ <p>
+ <a class="more" href="http://www.youtube.com/profile?user=kabr&view=favorites" title="via youtube">more →</a>
+ </p>
+ </td>
+*/ ?>
+
+
+
+
+
+ <td valign="top" class="column">
+ <?php $feed = get_rss_feed('http://feeds.delicious.com/v2/rss/quilime?count=20'); ?>
+ <h2><a href="http://delicious.com/quilime/">bookmarks </a></h2>
+ <ul class="bookmarks">
+ <?php foreach($feed->channel->item as $item) : ?>
+ <li>
+ <a href="<?=$item->link?>"><?=$item->title?></a>
+ <br/>
+
+ <span class="desc"><?=$item->description;?></span>
+ </li>
+ <? endforeach; ?>
+ </ul>
+ <p>
+ <a class="more" href="http://delicious.com/quilime/" title="via delicious">more →</a>
+ </p>
+ </td>
+
+ <? /*
+
+ <td valign="top" class="column">
+ <?php $read = get_rss_feed('http://www.google.com/reader/public/atom/user%2F10925293898931913532%2Fstate%2Fcom.google%2Fbroadcast'); ?>
+ <h2><a href="http://www.google.com/reader/shared/10925293898931913532">reader </a></h2>
+ <ul class="reader">
+ <?php foreach($read->entry as $item) : ?>
+ <li>
+ <a href="<?php echo $item->link['href']; ?>"><?php echo $item->title; ?></a>
+ </li>
+
+ <? endforeach; ?>
+ </ul>
+ <p>
+ <a class="more" href="http://www.google.com/reader/shared/10925293898931913532" title="via google reader">more →</a>
+ </p>
+ </td>
+
+ */
+ ?>
+
+
+
+
+ </tr></table>
+
+ </div>
+
+
+</body>
+
+</html>
\ No newline at end of file
--- /dev/null
+<?php
+
+ $items = array();
+ $single = false;
+
+ if (is_dir(CONTENT_DIR . $url_string) && !is_file(CONTENT_DIR . $url_string . '/config') ) {
+ list($items_list, $total) = get_content(basename($url_string));
+ }
+ else {
+ $config = parse_config(CONTENT_DIR . $url_string . '/config');
+ $items = $config;
+ $single = true;
+ }
+
+ $inline = isset($_GET['inline']) ? true : false;
+
+
+?>
+<html>
+
+<head>
+ <?php include_template('header-src.html'); ?>
+ <script src="/js/jquery-1.3.2.min.js"></script>
+
+ <title><?php echo SITE_TITLE; ?> - code<?php if (sizeof($items) > 0 ) : ?>: <?echo strtolower($items['title']); ?> [<?php echo $items['medium']; ?>]<?php endif; ?></title>
+
+</head>
+
+<body>
+
+ <?php
+ include_template('nav.html');
+ ?>
+
+ <div id="content">
+
+ <?php if ($single) : ?>
+
+ <h1><a href="/code/">code</a> / <?php echo $items['title']; ?> <small class="medium">[<?php echo $items['medium']; ?>]</small></h1>
+
+
+ <div class="content">
+ <?php
+ $base_dir = $items['base_dir'];
+ include_once($items['content']);
+ ?>
+ </div>
+
+
+ <?php elseif ($inline): ?>
+
+ <h1>code (view <a class="func" href="/code/">list</a>)</h1>
+
+ <ul class="inline_content">
+ <?php foreach($items_list as $items): ?>
+ <li>
+ <h3>
+ <a href="<?php echo $items['href']?>"><?php echo $items['title']; ?></a>
+ <small class="medium">[<?php echo $items['medium']; ?>]</small>
+ </h3>
+ <div class="content">
+ <?php
+ $base_dir = $items['base_dir'];
+ include( $items['content'] );
+ ?>
+ </div>
+ </li>
+ <? endforeach; ?>
+ </ul>
+
+
+
+
+ <?php else: ?>
+
+
+
+
+ <h1>code (view <a href="/code/?inline=1">inline</a>)</h1>
+
+
+ <table class="archive" cellspacing="0" cellpadding="0">
+ <?php
+ $c = 1;
+ foreach($items_list as $items): ?>
+ <tr>
+ <td style="text-align:right; padding-right:1em;">
+ <small class="medium"><?php echo $items['medium']; ?></small>
+ </td>
+ <td>
+ <a onmouseout="$('.c_pop').hide();" onmouseover="$('.c_pop').hide(); $('#c_<?php echo $c; ?>').show();" href="<?php echo $items['href']?>"><?php echo $items['title']; ?></a>
+
+ <div id="c_<?php echo $c; ?>" class="c_pop">
+ <?php
+ $base_dir = $items['base_dir'];
+ include( $items['content'] );
+ ?>
+ </div>
+ </td>
+ </tr>
+ <? $c++; endforeach; ?>
+ </table>
+
+ <?php endif; ?>
+
+ </div>
+
+</body>
+
+</html>
\ No newline at end of file
--- /dev/null
+<html>
+
+<head>
+
+ <?php include_template('header-src.html'); ?>
+
+ <title><?php echo SITE_TITLE ?> :contact</title>
+
+</head>
+
+<body>
+
+ <?php include_template('nav.html'); ?>
+
+ <div id="content">
+
+ <h1>contact</h1>
+
+ email: <a href="mailto:gdunne@quilime.com">gdunne@quilime.com</a>
+
+ </div>
+
+</body>
+
+</html>
\ No newline at end of file
--- /dev/null
+<?php
+
+$img = get_rss_feed('http://api.flickr.com/services/feeds/photos_public.gne?id=28394478@N00&lang=en-us&format=rss_200');
+
+?>
+
+<html>
+
+<head>
+
+ <?php include_template('header-src.html'); ?>
+
+ <title><?php echo SITE_TITLE; ?> - img</title>
+
+ <style>
+
+ ul.image li { float:left; width:240px; height:240px; text-align:center; margin:0 50px 50px 0;}
+
+ </style>
+
+</head>
+
+<body>
+
+ <?php include_template('nav.html'); ?>
+
+ <div id="content">
+
+ <h1>img</h1>
+
+ <ul class="image">
+ <?php foreach($img->channel->item as $item) : ?>
+ <li>
+ <?
+ $subject = $item->description;
+ $pattern = '/<a href="http:\/\/www\.flickr\.com\/photos\/quilime\/(.*) \/><\/a><\/p>/';
+ preg_match($pattern, substr($subject, 3), $matches, PREG_OFFSET_CAPTURE);
+ echo $matches[0][0];
+ ?>
+ </li>
+ <?endforeach; ?>
+
+ <div style="clear:both;"></div>
+
+ <a href="http://www.flickr.com/photos/quilime/" title="via flickr" >via flickr →</a>
+
+ </div>
+
+</body>
+
+</html>
\ No newline at end of file
<?php include_template('header-src.html'); ?>
- <title><?php echo SITE_TITLE ?> :links</title>
+ <title><?php echo SITE_TITLE ?> - links</title>
</head>
<?php
}
- $links = array(
- array('http://quilime.com', 'quilime'),
- array('http://gabrieldunne.com', 'gabriel dunne')
- );
+ $people = array(
+// array('http://aaronkoblin.com', 'aaron koblin'),
+ array('http://universaloscillation.com', 'aaron meyers'),
+// array('http://ripevessel.com', 'adam roth'),
+// array('http://reas.com/', 'casey reas'),
+// array('http://cenizal.com', 'cj cenizal'),
+ array('http://www.oddsympathy.com/', 'daniel massey'),
+ array('http://davidrager.org', 'david rager'),
+ array('http://fredericeyl.de', 'frédéric eyl'),
+ array('http://dabkitsch.com/jml', 'jeff lubow'),
+ array('http://jtnimoy.net', 'joshua nimoy'),
+ array('http://keithpasko.com', 'keith pasko'),
+ array('http://digitanalog.net', 'marc nimoy'),
+// array('http://makaga.com', 'matthew gale'),
+ array('http://davidmichaeldunne.com', 'michael dunne'),
+ array('http://mike.teczno.com', 'michal migurski'),
+ array('http://mylinhtrieu.com', 'mylinh trieu'),
+// array('http://renataraksha.com', 'renata raksha'),
+ array('http://onecm.com', 'ryan alexander'),
+ array('http://pohflepp.com', 'sascha pohflepp'),
+ array('http://ssherriff.com', 'stephanie sherriff'),
+// array('http://www.thegreeneyl.com/', 'the green eyl'),
+ array('http://tom-carden.co.uk', 'tom carden')
+ );
?>
-
- <ul style="list-style-type:none;";>
- <?php linklist($links); ?>
+
+ <h2>me</h2>
+ <ul>
+ <li><a href="http://gabrieldunne.com">gabrieldunne.com</a></li>
+ <li><a href="http://delicious.com/quilime/">delicious</a></li>
+ <li><a href="http://flickr.com/photos/quilime/">flickr</a></li>
+ <li><a href="http://vimeo.com/quilime/">vimeo</a></li>
+ </ul>
+
+
+ <h2>people</h2>
+ <ul>
+ <?php linklist($people); ?>
</ul>
</div>
--- /dev/null
+<?php
+
+ $single = false;
+
+ if (is_dir(CONTENT_DIR . $url_string) && !is_file(CONTENT_DIR . $url_string . '/config') ) {
+ list($log_list, $total) = get_content(basename($url_string), "type=flat");
+ }
+ else {
+ $config = parse_config(CONTENT_DIR . $url_string);
+ $log = $config;
+ $base_dir = $log['base_dir'];
+ $single = true;
+ }
+
+ $list = isset($_GET['list']) ? $_GET['list'] : false;
+
+?>
+<html>
+
+<head>
+
+ <?php include_template('header-src.html'); ?>
+
+ <title>
+ <?php echo SITE_TITLE; ?><?php if ($single) : ?> - log: <?echo strtolower($log['title']); ?> [<?php echo date("Y M d", strtotime($log['date']));?>]<? else: ?> - log<? endif; ?></title>
+
+ <script src="/js/jquery-1.3.2.min.js"></script>
+
+</head>
+
+<body>
+
+ <?php include_template('nav.html'); ?>
+
+ <div id="content">
+
+ <?php if ($single) : ?>
+
+ <h1><a href="/log/">log</a> / <?php echo $log['title']; ?> <small class="date"><?php echo date("M d Y", $log['timestamp']); ?></small></h1>
+
+ <div class="content">
+ <?php echo $log['inline_content']; ?>
+ </div>
+
+ <?php elseif ($list): ?>
+
+ <h1>log</h1>
+
+ <table class="archive" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="text-align:right; padding-right:1em;">
+
+ </td>
+ <td>
+ </td>
+ <?php
+ $c = 1;
+ foreach($log_list as $log):
+ ?>
+ <tr>
+ <td style="text-align:right; padding-right:1em;">
+ <small class="medium"><?php echo date("M d Y", $log['timestamp']); ?></small>
+ </td>
+ <td>
+ <a onmouseout="$('.c_pop').hide();" onmouseover="$('.c_pop').hide(); $('#c_<?php echo $c; ?>').show();" href="<?php echo $log['href']?>"><?php echo $log['title']; ?></a>
+ <div id="c_<?php echo $c; ?>" class="c_pop">
+ <?php
+ $base_dir = $log['base_dir'];
+ echo $log['inline_content'];
+ ?>
+ </div>
+ </td>
+ </tr>
+ <? $c++; endforeach; ?>
+ </table>
+
+ <br/>
+ <p class="func">
+ <a href="/log/">view inline</a>
+ </p>
+
+
+
+
+ <?php else: ?>
+
+ <h1>log</h1>
+
+ <ul class="inline_content log">
+ <?php foreach($log_list as $log): ?>
+ <li>
+ <h3>
+ <a title="<?php echo get_relative_time($log['timestamp']); ?>" href="<?php echo $log['href'];?>">
+ <?php echo $log['title']; ?></a> <span class="date"><?php echo date("M d Y", $log['timestamp']); ?></span>
+ </h3>
+
+
+
+ <br/>
+
+ <?php echo $log['inline_content']; ?>
+ </li>
+ <? endforeach; ?>
+ </ul>
+
+ <br/>
+ <p class="func">
+ <a class="func" href="/log/?list=1">archive</a>
+ </p>
+
+ <?php endif; ?>
+
+ </div>
+
+</body>
+
+</html>
\ No newline at end of file
<strong><a href="/"><? echo SITE_TITLE; ?></a></strong>
</h3>
+ <li>
+ (process<br/>and<br/>projects)
+ </li>
+
+
<br/>
- <h3><a href="/projects/">projects</a></h3>
- <ul>
- <?php echo list_content('projects', array()); ?>
- </ul>
+ <li><a href="/log/">log</a></li>
+ <li><a href="/projects/">projects</a></li>
+ <li><a href="/code/">code</a></li>
+ <li><a href="/img/">img</a></li>
+
+ <br/>
+
+ <li><a href="/agg/">aggregate</a></li>
+ <li><a href="/links/">links</a></li>
+ <li><a href="/contact/">contact</a></li>
- <br/>
+ <br/>
- <li><a href="/about/">about</a></li>
- <li><a href="/links/">links</a></li>
</ul>
<div id="content">
+
<?php if ($single) : ?>
<h1><a href="<?php echo get_base_dir(); ?>/projects">projects</a> / <?php echo $project['title']; ?></h1>
- <?php
- $base_dir = $project['base_dir'];
- include_once($project['content']);
+ <?php
+ $base_dir = $project['base_dir'];
+ include_once($project['content']);
?>
<?php elseif ($list): ?>
-
+
<?php else: ?>
<h1>projects</h1>
-
+
+ <p>slightly borked. bbl.</p>
+
+ <p>
+ in the meantime, go here:<br/>
+ <a href="http://gabrieldunne.com/projects/">gabrieldunne.com/projects/</a><br/>
+ <a href="http://portfolio.quilime.com/2008/">2008</a><br/>
+ <a href="http://portfolio.quilime.com/new/port.php">2007</a><br/>
+ <a href="http://portfolio.quilime.com/recent.html">2004 - 2006</a>
+ </p>
+
+ <!--
<ul class="thumbnails">
<?php foreach($projects_list as $project): ?>
<li>
</a>
</li>
<? endforeach; ?>
- </ul>
+ </ul>
+ -->
<?php endif; ?>