/** * Gets the date stored in this FeedDate as an ISO 8601 date. * * @return a date in ISO 8601 format */ function iso8601() { return dateSpec(SPEC_ISO8601, $this->unix); }
$item->title = $row->topic; $item->link = $config['furl'] . "/showtopic.php?id=" . $row->id; $item->source = $config['furl'] . "/showforum.php?id=" . $row->board; $item->description = $row->comment; $item->date = dateSpec(SPEC_RFC822, $row->date); $item->author = $row->name; if ($config['syndication_insert_email'] == 1) { $item->authorEmail = $row->email; } else { $item->authorEmail = ''; } $item->pubDate = dateSpec(SPEC_RFC822, $row->date); $item->category = $row->forum; ($code = $plugins->load('external_item_prepared')) ? eval($code) : null; $rss->addItem($item); } } else { $item = new FeedItem(); $item->title = $lang->phrase('offline_head_ext'); $item->link = $config['furl']; $item->description = $lang->phrase('offline_body_ext'); $item->date = dateSpec(SPEC_RFC_2822); $item->author = $config['fname']; ($code = $plugins->load('external_offline')) ? eval($code) : null; $rss->addItem($item); } ($code = $plugins->load('external_prepared')) ? eval($code) : null; $rss->saveFeed($format['class'], '', $h); ($code = $plugins->load('external_end')) ? eval($code) : null; $phpdoc->Out(); $db->close();