element->appendChild($this->dom->createElement("id", $id)); return $this; } public function title($title) { $this->element->appendChild($this->dom->createElement("title", $title)); return $this; } public function updated($updated) { $this->element->appendChild($this->dom->createElement("updated", $updated)); 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"); } public function append_entry($atom_entry) { /* Append an exising entry. */ $this->element->appendChild($atom_entry->get_element()); } }