FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 what is wrong here my friends ? i can't see any feed View next topic
View previous topic
Post new topicReply to topic
Author Message
abc



Joined: 30 Jan 2010
Posts: 3

PostPosted: Tue Feb 02, 2010 5:12 pm Reply with quoteBack to top

every thing is done but i can't see any rss feed here, instead i get blank screen when every time i try to access the feeds page:

http://www.abc.net/sql2rss.php?CONFIGFILE=sql2rss_sampleconfig.php



my files created as follow :


Sql2rss_sampleconfig.php

<?PHP

$outputCacheTTL = 600;

$ChannelTemplate = "sql2rss_ChannelTemplate.xml";

$ItemTemplate = "sql2rss_ItemTemplate.xml";

$DBconfigFile = "sql2rss_DBconfig.inc.php";

$SQLQuery = "SELECT * FROM `feedItems` WHERE 1 ORDER BY ItemPubDate_t DESC LIMIT 10";

$debugLevel = 3;
?>


Sql2rss_DBconfig.php

<?php
$config["DBuser"]= "";
$config["DBpassword"] = "";
$config["DBmachine"] = "";
$config["DBdatabase"] = "";
$config["DBtype"] = "mysql";

?>


Sql2rss_channeltemplate

<item>
<title>~~~ItemTitle~~~</title>
<link>~~~ItemLink~~~</link>
<description>~~~ItemDescription~~~</description>
<pubDate>~~~RSSDATE(ItemPubDate_t)~~~</pubDate>
</item>



Sql2rss_itemtemplate


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>sql2rss.php Sample Template</title>
<description>A sample RSS feed template for sql2rss.php, http://www.FeedForAll.com/, by NotePage, Inc.</description>
<link>http://www.FeedForAll.com/</link>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<language>en-us</language>
</channel>
</rss>
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