2014-04-23 10:51:50 +08:00
|
|
|
<?php
|
|
|
|
if (!isset($channel)):
|
|
|
|
$channel = array();
|
|
|
|
endif;
|
|
|
|
if (!isset($channel['title'])):
|
2021-02-03 00:35:03 +08:00
|
|
|
$channel['title'] = $this->fetch('title');
|
2014-04-23 10:51:50 +08:00
|
|
|
endif;
|
|
|
|
|
|
|
|
echo $this->Rss->document(
|
|
|
|
$this->Rss->channel(
|
|
|
|
array(), $channel, $this->fetch('content')
|
|
|
|
)
|
|
|
|
);
|