3 class AtomNoticeFeed extends Atom10Feed
5 function __construct($indent = true) {
6 parent::__construct($indent);
8 // Feeds containing notice info use the Atom Threading Extensions
12 'http://purl.org/syndication/thread/1.0'
16 function addEntryFromNotices($notices)
18 if (is_array($notices)) {
19 foreach ($notices as $notice) {
20 $this->addEntryFromNotice($notice);
23 while ($notices->fetch()) {
24 $this->addEntryFromNotice($notice);
29 function addEntryFromNotice($notice)
31 $this->addEntryRaw($notice->asAtomEntry());