=========================== */ ?> call('feed_header'); header("Content-type: text/xml; charset=utf-8"); $isFeed = true; global $conf, $tumble; $util_class = new util(); echo "\n"; ?> <?php echo htmlspecialchars($conf->title);?> urlGelato;?> description);?> gelato CMS codeName()." (".$util_class->version().")"; ?> urlGelato;?>/images/information.png <?php echo htmlspecialchars($conf->description);?> urlGelato;?> getPosts("20"); if ($db->contarRegistros()>0) { while ($register = $rs->fetch()) { $register["description"] = $register["description"]; switch ($register["type"]) { case "1": $tit = ($register["title"]=="") ? $register["description"] : $register["title"]; $desc = $register["description"]; break; case "2": $photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]); $tit = ($register["description"]=="") ? "Photo" : $register["description"]; $desc = ""; break; case "3": $tit = "\"".$register["description"]."\""; $tmpStr = ($register["title"]!="") ? "

- ".$register["title"]."" : ""; $desc = "\"".$register["description"]."\"".$tmpStr; break; case "4": $tit = ($register["title"]=="") ? $register["url"] : $register["title"]; $tmpStr = ($register["description"]!="") ? "

- ".$register["description"]."" : ""; $desc = "".$tit."".$tmpStr; break; case "5": $lines = explode("\n", $register["description"]); $line = $lines[0]; $tit = ($register["title"]=="") ? $line : $register["title"]; $desc = $tumble->formatConversation($register["description"]); break; case "6": $tit = ($register["description"]=="") ? "Video" : $register["description"]; $desc = $tumble->getVideoPlayer($register["url"]); break; case "7": $tit = ($register["description"]=="") ? "MP3" : $register["description"]; $desc = $tumble->getMp3Player($register["url"]); break; } $tit = $util_class->trimString($tit); $strEnd = ($conf->urlFriendly) ? "/" : ""; $url = $tumble->getPermalink($register["id_post"]); $formatedDate = gmdate("r", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime)); ?> <?php echo $tit; ?> ]]>