WSRS Website Updates https://www.wildlife-sound.org/ Updates to the Web site of the Wildlife Sound Recording Society en-uk http://backend.userland.com/rss PHP END; // loop through the array pulling database fields for each item for ($i = 0; $i < mysql_num_rows($result1); $i++) { @$row = mysql_fetch_array($result1); $title = cleanText($row["title"]); if (strpos($row["url"],"http://") === false) { // does it not start with http:// $link="https://www.wildlife-sound.org/".cleanText($row["url"]); } else { $link = cleanText($row["url"]); } $description = cleanText($row["body"]); $guid = "tag:wildlife-sound.org,2004-05-20:mustelidae.".$row["id"]; $pubDate = date("r", strtotime($row["posted"])); // display an item ECHO << $title $link $description $pubDate $guid END; } ECHO << END; ?>