View previous topic :: View next topic |
Author |
Message |
nullswitch
Joined: 07 Mar 2003 Posts: 14 Location: Carnegie Mellon, Pittsburgh
|
Posted: Wed Dec 10, 2003 7:14 am Post subject: RSS on heavily hacked b2 |
|
|
Argh, just killed my window. Anihoos,
I am running a heavily hacked b2 index and mysql db on some older php and mysql software. The links are:
Blog
and the rss is at
RSS
The error is as follows:
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://ijuta.res.cmu.edu/blog/b2rss2.php
in
Mozilla
and
The following tags were not closed: link. Error processing resource 'http://ijuta.res.cmu.edu/blog/b2rss2.php'.
in MSIE
Things I have already tried are:
1. change index.php to default (so its prolly now the extra hoo ha i have in my index.php)
2. deleted .chr(160) from b2.vars
I do have a fairly complicated b2 db now. I have another default blog whose RSS works fine at
RSS working
anihoos, any help would be great.
Henry _________________ "Whatever you do, at least be of some use" |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 967 Location: Washington
|
Posted: Wed Dec 10, 2003 6:04 pm Post subject: |
|
|
I got the following error from your RSS:
Quote: |
The following tags were not closed: link.
|
I think it's pretty much self-explanatory. _________________ Michael P. |
|
Back to top |
|
 |
nullswitch
Joined: 07 Mar 2003 Posts: 14 Location: Carnegie Mellon, Pittsburgh
|
Posted: Wed Dec 10, 2003 7:22 pm Post subject: |
|
|
So I'm a little slow:
But I got it. I just needed someone to kick me in the rear.
in my blog.header.php
I had a link include reference:
<link REL="SHORTCUT ICON" href="../favicon.ico">
It wasn't closed with </link> but b2rss still doesnt like this code in there. So I moved it to my index.php.
Okies, time to make sure the feed is compatible with my blog reader. Thanks cyberian _________________ "Whatever you do, at least be of some use" |
|
Back to top |
|
 |
nullswitch
Joined: 07 Mar 2003 Posts: 14 Location: Carnegie Mellon, Pittsburgh
|
Posted: Wed Dec 10, 2003 7:27 pm Post subject: |
|
|
Also I had to kill
<?php echo "<?xml version=\"1.0\"?".">\n"; ?>
from the top of the feed to make it work in blogexpress, an rss reader. Just in case some of you are also getting the same problems.
Also, has anyone hacked it so that it also displays comments?
*note, I am not an rss newb much less a guru.
_Henry _________________ "Whatever you do, at least be of some use" |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 967 Location: Washington
|
Posted: Wed Dec 10, 2003 7:30 pm Post subject: |
|
|
I believe Wordpress has a RSS feed for comments. _________________ Michael P. |
|
Back to top |
|
 |
|