From 8abf48dd79561fd6605604de8714d4eaf4870942 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 15 Mar 2009 22:23:04 +0000 Subject: Move atom, developer, polar_rose and gmaps modules into gallery-contrib --- modules/atom/libraries/Atom_Feed.php | 47 ------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 modules/atom/libraries/Atom_Feed.php (limited to 'modules/atom/libraries/Atom_Feed.php') diff --git a/modules/atom/libraries/Atom_Feed.php b/modules/atom/libraries/Atom_Feed.php deleted file mode 100644 index 9625f951..00000000 --- a/modules/atom/libraries/Atom_Feed.php +++ /dev/null @@ -1,47 +0,0 @@ -element->appendChild($this->dom->createElement("id", $id)); - return $this; - } - - public function title($title) { - /* @todo Add optional type argument that defaults to "text" */ - $this->element->appendChild($this->dom->createElement("title", $title)); - return $this; - } - - public function updated($timestamp) { - $this->element->appendChild( - $this->dom->createElement("updated", atom::unix_to_internet_timestamp($timestamp))); - return $this; - } - - public function link() { - return $this->add_child("Atom_Link", "link"); - } - - public function entry() { - /* Create new empty entry. */ - return $this->add_child("Atom_Entry", "entry"); - } -} -- cgit v1.2.3