[pmwiki-users] RSS Feeds not working
Sandy
sandy at onebit.ca
Fri Dec 15 11:56:01 CST 2006
I'm positive I had it working once.
Using Firefox 2.0 and
pmwiki-2.2.0-beta17.
Site is
http://www.cricket.onebit.ca/Site/AllRecentChanges?action=rss.
The local/config.php file has:
if ($action == 'rss') include_once("$FarmD/scripts/feeds.php");
if ($action == 'atom') include_once('$FarmD/scripts/feeds.php');
if ($action == 'rdf') include_once('$FarmD/scripts/feeds.php');
if ($action == 'dc') include_once('$FarmD/scripts/feeds.php');
$FeedFmt['rss']['item']['description'] = '$LastModifiedSummary';
$FeedFmt['atom']['item']['description'] = '$LastModifiedSummary';
$FeedFmt['rdf']['item']['description'] = '$LastModifiedSummary';
$FeedFmt['dc']['item']['description'] = '$LastModifiedSummary';
$FeedFmt['rss']['item']['title'] = '{$Group} / {$Title} :
$LastModifiedSummary';
$FeedFmt['rss']['item']['description'] = '$LastModifiedSummary';
++++
What I get is:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.cricket.onebit.ca/Site/AllRecentChanges?action=rss
Line Number 5, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>
^
++++
I was able to ViewSource and get the actual xml file. It starts with
several blank lines. PmWiki's equivalent feed does not, so that might be
the problem, but I've no clue what's causing that to happen.
Any ideas?
Thanks in advance,
Sandy
More information about the pmwiki-users
mailing list