root/devel-backup/_rss/subscriptions.php

Revision 252, 479 bytes (checked in by ben, 3 years ago)

Code to allow for RSS imports into weblogs

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