root/releases/0.401/_rss/individual.php

Revision 45, 0.5 kB (checked in by sven, 3 years ago)

dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     require("../includes.php");
4     
5     run("weblogs:init");
6     run("profile:init");
7     run("rss:init");
8     
9     define('context','resources');
10     global $page_owner;
11     
12     if (isset($_REQUEST['feed'])) {
13         $feed = (int) $_REQUEST['feed'];
14     } else {
15         $feed = -1;
16     }
17     
18     $title = gettext("Feed detail");
19     
20     run("rss:update",$feed);
21     $body = run("rss:view:feed",$feed);
22     
23     $body = run("templates:draw", array(
24                     'context' => 'contentholder',
25                     'title' => $title,
26                     'body' => $body
27                 )
28                 );
29     
30     echo run("templates:draw:page", array(
31                     $title, $body
32                 )
33                 );
34
35 ?>
Note: See TracBrowser for help on using the browser.