diff --git a/community/index.php b/community/index.php
index bd40dfb..be9406b 100644
--- a/community/index.php
+++ b/community/index.php
@@ -98,56 +98,61 @@
- 3600 * $CACHETIME)) {
- if($feed_contents = http_get_contents($BLOGURL)) {
- // write feed contents to cache file
- $fp = fopen($CACHEFILE, 'w');
- fwrite($fp, $feed_contents);
- fclose($fp);
- }
- }
-
- include "rssparser.php";
- $rss_parser = new RSSParser($CACHEFILE);
-
- // read feed data from cache file
- $feeddata = $rss_parser->getRawOutput();
- extract($feeddata['RSS']['CHANNEL'][0], EXTR_PREFIX_ALL, 'rss');
-
- // display leading image
- if(isset($rss_IMAGE[0]) && $rss_IMAGE[0]) {
- extract($rss_IMAGE[0], EXTR_PREFIX_ALL, 'img');
- echo "
\n";
- }
-
- // display feed title
- echo "\n";
-
- // display feed items
- $count = 0;
- foreach($rss_ITEM as $itemdata) {
- echo "";
- echo htmlspecialchars(stripslashes($itemdata['TITLE']));
- echo "
\n";
- echo htmlspecialchars(stripslashes($itemdata['DESCRIPTION'])),"
\n";
- echo "",date($TIMEFORMAT, strtotime($itemdata['PUBDATE'])),"
\n\n";
- if(++$count >= $NUMITEMS) break;
- }
-
- // display copyright information
- echo "© {",htmlspecialchars($rss_COPYRIGHT),"}
\n";
-?>
+ "RetryLife",
+ "url" => "https://twitrss.me/twitter_user_to_rss/?user=RetryLife_music"
+ ),
+ array(
+ "title" => "ewpratten",
+ "url" => "https://twitrss.me/twitter_user_to_rss/?user=Ewpratten"
+ ),
+ array(
+ "title" => "nsdesjardins",
+ "url" => "https://twitrss.me/twitter_user_to_rss/?user=Nsdesjardins345"
+ )
+
+ );
+ function getFeed($url){
+ $rss = simplexml_load_file($url);
+ $count = 0;
+ $html .= '';
+ return $html;
+ }
+ foreach($newsSource as $source) {
+ $html .= ''.$source["title"].'
';
+ $html .= getFeed($source["url"]);
+ }
+ return $html;
+ }
+ print getContent();
+ ?>