Mixed Updates

This commit is contained in:
MatMasIt
2021-03-21 11:46:26 +01:00
committed by GitHub
parent f610299b72
commit 3ff6b494e8
6 changed files with 71 additions and 38 deletions

View File

@ -28,6 +28,12 @@ switch($al[0]){
if($al[2]=="rss"){
$el=adjustFlow($o);
include("rssBuilder.php");
for($i=0;$i<count($el);$i++){
if(!empty($el[$i]["questionTitle"])){
$el[$i]["title"]=$el[$i]["questionTitle"];
$el[$i]["shortDescription"]=$el[$i]["questionTitle"]."\n----\n".$el[$i]["questionText"]."\n````````\n".$el[$i]["answerTitle"]."\n----\n".$el[$i]["answerText"];
}
}
$data=rss($el);
ob_clean();
header("Content-Type: application/xml");