root/devel-backup/_rss/popular.php

Revision 83, 481 bytes (checked in by sven, 3 years ago)

adding a list of popular feeds, along the lines of http://www.livejournal.com/syn/
my first attempt at a new page/function thing, let me know if it's shit.. :)

Line 
1 <?php
2
3     require("../includes.php");
4     
5     run("profile:init");
6     run("weblogs:init");
7     run("rss:init");
8     
9     define('context','resources');
10     global $page_owner;
11     
12     $title = gettext("Popular feeds");
13     
14     $body = run("rss:subscriptions:popular",$feed);
15     
16     $body = run("templates:draw", array(
17                     'context' => 'contentholder',
18                     'title' => $title,
19                     'body' => $body
20                 )
21                 );
22     
23     echo run("templates:draw:page", array(
24                     $title, $body
25                 )
26                 );
27
28 ?>
Note: See TracBrowser for help on using the browser.