Lines Matching refs:items

43         if (count($this->items) > 0
44 && !empty($this->items[0]->lat)
48 if (count($this->items) > 0
49 && isset($this->items[0]->additionalElements['xcal:dtstart'])
130 for ($i = 0; $i < count($this->items); $i++) {
133 htmlspecialchars(strip_tags((string) $this->items[$i]->title)),
136 $feed .= " <link>".htmlspecialchars((string) $this->items[$i]->link)."</link>\n";
137 $feed .= " <description>".$this->items[$i]->getDescription()."</description>\n";
139 $creator = $this->getAuthor($this->items[$i]->author, $this->items[$i]->authorEmail);
146 if ($this->items[$i]->source!="") {
147 $feed.= " <source>".htmlspecialchars($this->items[$i]->source)."</source>\n";
150 if ($this->items[$i]->lat != "") {
151 $feed .= " <georss:point>".$this->items[$i]->lat." ".$this->items[$i]->long."</georss:point>\n";
153 if (is_array($this->items[$i]->category)) {
154 foreach ($this->items[$i]->category as $cat) {
158 if ($this->items[$i]->category != "") {
159 $feed .= " <category>".htmlspecialchars($this->items[$i]->category)."</category>\n";
162 if ($this->items[$i]->comments != "") {
163 $feed .= " <comments>".htmlspecialchars($this->items[$i]->comments)."</comments>\n";
165 if ($this->items[$i]->date != "") {
166 $itemDate = new FeedDate($this->items[$i]->date);
169 if ($this->items[$i]->guid != "") {
170 $feed .= " <guid>".htmlspecialchars($this->items[$i]->guid)."</guid>\n";
172 if ($this->items[$i]->thumb != "") {
173 $feed .= " <g:image_link>".htmlspecialchars($this->items[$i]->thumb)."</g:image_link>\n";
175 $feed .= $this->_createAdditionalElements($this->items[$i]->additionalElements, " ");