diff --git a/index.xml b/index.xml index 9c671f7..3279db1 100644 --- a/index.xml +++ b/index.xml @@ -1,18 +1,26 @@ - - - - - Fbi's Epic Guestbook RSS Feed - https://www.w3schools.com - A cool Guestbook made by fbievan - - - - <?php echo $post["name"];?> - - - - - + + + + Fbi's Epic Guestbook RSS Feed + https://www.w3schools.com + A cool Guestbook made by fbievan"; + $data = json_decode(file_get_contents('test.json'), true); + $id = 0; + foreach($data as $post) { + $id = $id + 1; + $description = htmlspecialchars($post["message"]); + $title = $post["name"]; + $link = "http://testing.fbievan.live/guestbook?link=$id"; + echo " + + $title + $description + $link + "; + }; + echo " + + "; + ?>