- common_element_start('entry');
- common_element('title', null, $entry['title']);
- common_element('content', array('type' => 'html'), $entry['content']);
- common_element('id', null, $entry['id']);
- common_element('published', null, $entry['published']);
- common_element('updated', null, $entry['updated']);
- common_element('link', array('href' => $entry['link'], 'rel' => 'alternate', 'type' => 'text/html'), null);
- common_element_end('entry');
+ $this->elementStart('entry');
+ $this->element('title', null, $entry['title']);
+ $this->element('content', array('type' => 'html'), $entry['content']);
+ $this->element('id', null, $entry['id']);
+ $this->element('published', null, $entry['published']);
+ $this->element('updated', null, $entry['updated']);
+ $this->element('link', array('href' => $entry['link'], 'rel' => 'alternate', 'type' => 'text/html'), null);
+ $this->elementEnd('entry');