|
Revision 114, 509 bytes
(checked in by ben, 3 years ago)
|
Fix for RSS aggregator not accepting $page_owner
|
- 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 |
$title = run("profile:display:name") ." :: " . gettext("Feeds"); |
|---|
| 13 |
|
|---|
| 14 |
run("rss:update:all",$page_owner); |
|---|
| 15 |
$body = run("rss:view",$page_owner); |
|---|
| 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 |
?> |
|---|