From: Gabriel Dunne Date: Fri, 9 Jul 2010 07:12:12 +0000 (-0700) Subject: aggregate template X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=22184fa1b0825860a4a2bf19117cec0d82418a1b;p=plog.git aggregate template --- diff --git a/templates/agg.html.tpl b/templates/agg.html.tpl new file mode 100644 index 0000000..88d8b9c --- /dev/null +++ b/templates/agg.html.tpl @@ -0,0 +1,178 @@ + + + + include_template('head-inc.html.tpl'); ?> + + <?=SITE_TITLE?> + + + + + include_template('nav.html.tpl') ?> + +
+ + + + + + + + +

video

+ +

+ more → +

+ +*/ ?> + + +*/ ?> + + + + + + + + + + + + + +
+ + +

aggregate

+
    + +channel->item as $item) : + if (!$count--) break; + ?> +
  • + +
  • + +
+ +

+ rss, more → +

+ +
+

flickr

+
    + + channel->item as $item) : if (!$count--) break; ?> +
  • + description; + $pattern = '/rss, more → +

    +
+ +:@api.del.icio.us/v1/posts/recent'; + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_POST, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); + curl_setopt($ch, CURLOPT_TIMEOUT, 5); + curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); + $data = curl_exec($ch); + curl_close($ch); + $del = new SimpleXMLElement($data); +?> + +

bookmarks

+ +
    + post as $d) : ?> +
  • +
    + +
  • + +
+ +

+ rss, more → +

+ +
+ +
+ + include_template('footer.html.tpl'); ?> + + + + + + + + + + + + + + + <?php echo SITE_TITLE; ?> - aggregate + + + + + + + + + +
+ + +
+ + + + + \ No newline at end of file