Feed Genie Support Product Page
Feed Genie show no results in PHP page but does when tested in the extension
Reported 07 Nov 2015 08:31:42
1
has this problem
07 Nov 2015 08:31:42 Daryl Toogood posted:
I have tried adding a feed to a PHP page using feed genie.The feed URL is zapier.com/engine/rss/813330/RNE/
The Extension shows an output when I press test field.
The page shows no content at all despite having the php error code at the top of the page.
rescuenortheast.com/plugins/feedGenie.php
The Page Code is:
<?php error_reporting(E_ALL); ini_set('display_errors', 1); ?> <?php require_once('../ScriptLibrary/incFeedGenieClass.php'); ?> <?php // *** Feed Genie PHP 1.0.5 $RNEFacebook = new FeedGenie(); $RNEFacebook->FeedType = ""; $RNEFacebook->FeedUrl = "https://zapier.com/engine/rss/813330/RNE/"; $RNEFacebook->TimeOut = 20; $RNEFacebook->CacheTime = 60; $RNEFacebook->FeedName = "RNEFacebook"; $RNEFacebook->ReadFeed(); $RNEFacebook->SortOn("publishedDate", FG_SORT_ASCENDING); ?> <?php // *** Feed Genie PHP Repeater Vars 1.0.0 $RNEFacebook->setPageRecs(5); ?> <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Untitled Document</title> </head> <body> <?php // *** Feed Genie PHP Repeater Start while ($RNEFacebook->CanRepeat()) { ?> <a href="<?php echo $RNEFacebook->Attr("link") ?>"><?php echo $RNEFacebook->Attr("title") ?></a> <?php echo $RNEFacebook->Attr("content") ?> <?php $RNEFacebook->MoveNext(); } // *** Feed Genie PHP Repeater End ?> <?php // *** Feed Genie PHP Repeater Start while ($RNEFacebook->CanRepeat()) { ?> <a href="<?php echo $RNEFacebook->Attr("feed.link") ?>"><?php echo $RNEFacebook->Attr("feed.title") ?></a> <?php echo $RNEFacebook->Attr("feed.description") ?> <?php $RNEFacebook->MoveNext(); } // *** Feed Genie PHP Repeater End ?> </body> </html>