FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 qustion about installing SQL2RSS View next topic
View previous topic
Post new topicReply to topic
Author Message
Andre



Joined: 06 Sep 2016
Posts: 12
Location: Netherlands

PostPosted: Wed Sep 07, 2016 4:45 am Reply with quoteBack to top

Can you help me, What for a file name have I to give at the configurationfile? Can you give me the parameter? I mean this file

<?PHP

//
// Enable the caching for the resulting XML file. Since it may take time to
$useOutputCaching = 0;

//
// The variable $outputCacheTTL controls how many seconds a cached copy of
// resulting RSS feed can be used before it must be recreated.
$outputCacheTTL = 3600;

//
// $ChannelTemplate is the XML file that contains the outer, , items
// for the produced feed. This MUST be a valid RSS 2.0 feed without any
// 's. It must also specify "UTF-8" encoding, since all the produced
// items will be in UTF-8.
$ChannelTemplate = "sql2rss_ChannelTemplate.xml";

//
// $ItemTemplate is the ITEM file that contains the the template for .
// This MUST be a valid RSS 2.0 feed . It must also specify "UTF-8"
// encoding, since all the produced items will be in UTF-8.
$ItemTemplate = "sql2rss_ItemTemplate.xml";

//
// $configFile is the configuration file with the database username and
// password
$DBconfigFile = "sql2rss_DBconfig.inc.php";

//
// $SQLQuery is a valid database query for your database
$SQLQuery = "SELECT * FROM feedItems WHERE ItemTitle LIKE "%FeedForAll%" ORDER BY ItemPubDate_t DESC LIMIT 10";

//
// Since we are calling sql2rss.php from here, we don't want
// to include a separate config file.
$ConfigFilename = "DO_NOT_INCLUDE_CONFIG";
if (!isset($_REQUEST["buildConfig"])) {
@include_once("sql2rss.php");
}

?>
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme