function plug_travel($d, $id) { req('pop'); //http://w41k.info/plug/rss1.php?read=74453&preview=full $ret = rss_read($d); return $ret; }
function rss_art($u, $p, $br) { if (substr($u, 0, 4) != 'http') { $u = 'http://' . $u; } if ($p) { $u = rss_read($u); } //$r=load_xml($u,1); $r = read_rss($u, "item", array("title", "link", "pubDate", "description")); list($va, $lnk, $dat, $txt) = $r[1]; $va = html_entity_decode($va); $txt = html_entity_decode($txt); $txt = stripslashes($txt); if ($br) { $txt = format_txt($txt, 3, $id); } else { $txt = format_txt_r($txt, 3, $id); } if ($va) { return bal('h2', lkc('', $lnk, $va)) . divc('justy', $txt); } }