예제 #1
0
 public static function getExtensionsRssFeed($items = 15, $cache_time = 2880)
 {
     if (empty(self::$extFeeds)) {
         try {
             self::$extFeeds = self::getCPsRssFeed("http://extensions.tsmart.net/?format=feed&type=rss", $items, $cache_time);
             //self::$extFeeds =  self::getRssFeed("http://extensions.tsmart.net/?format=feed&type=rss", 15);
         } catch (Exception $e) {
             echo 'Where not able to parse extension feed';
         }
     }
     return self::$extFeeds;
 }
예제 #2
0
	static public function getExtensionsRssFeed() {
		if (empty(self::$extFeeds)) {
			self::$extFeeds =  self::getCPsRssFeed("http://extensions.virtuemart.net/?format=feed&type=rss", 15);
		}
		return self::$extFeeds;
	}