So seeing this one here, small and simple, I have high hopes..
But I can't for the life of me get the RSS feed script to run on my site.
I have a working database that my site updates are posted though, and it also has the ID setup already the same way the tutorial said it needed to be, I've gone though and edited the title and entry values to match the ones my update script uses (topic and post), aside from that and putting in my data, the script is unedited, but it still returns an error.
QUOTE
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Only one top level element is allowed in an XML document. Error processing resource
<b>Warning</b>: mysql_connect(): Unknown MySQL Server Host '$dbhost' (0) in <b>/home/memoirs/www/rss.php&...
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Only one top level element is allowed in an XML document. Error processing resource
<b>Warning</b>: mysql_connect(): Unknown MySQL Server Host '$dbhost' (0) in <b>/home/memoirs/www/rss.php&...
The last part confuses me, server host is localhost, all my database scrips use that, so yes I do know that for sure.
The rest of the info is also correct, password, database name, etc.
I have double checked and even started fresh, even tweeked it to run off my sites news config file that holds the database information already, but the error still does not change.
I'm also a little confused on the
$permafile = "entry.php";
part. Where is that to point to? My news.php that is just the news and included to my sites main page, or my site index? Right now I have it set to my news.php file.
Also one more small thing I am conserned with, I have news that is submitted to the database that is not yet made 'public'. As I make updates I write them down so I don't lose track or forget what I had messed with, as most the updates I make span a few days or weeks at times. And save that in the database, when it's all done with I set the post to public for all to see.
Will this display those hidden submissions in the feed as well?
