RSS Protest Survey http://www.protestsurvey.eu Stay tuned for the latest updates on the protest survey network Sat, 08 Oct 2022 11:40:16 +0000 "; else $afb = ""; $titel = $row[title]; $url = "http://www.protestsurvey.eu/index.php?page=archive&id=$row[id]"; //however you would link to your article $bericht = filter($row[content]); // Clean the description: $bericht = strip_tags($bericht); $bericht = filter2($bericht); //$bericht = str_replace ("&"," ",htmlspecialchars(strip_tags($bericht))); // Pass tags to describe the product (this has been left out of this example) //$rss_tags = 'tag1, tag2'; //makes a 500 character long copy of the desciption - a teaser of your content for people to read $bericht = "$afb". substr($bericht,0,500) . "..."; //to record when the feed was published $timestamp = date("U", "$row[input_date]"); //converts the timestamp into a RSS-friendly format $pubdate = date("r", $timestamp); //outputs the RSS item echo " ".$titel." $url $naam $url#reac $url $pubdate "; $row = mysql_fetch_array($query); } //end of the for-loop ?>