Author |
Message |
oyjord
Hangin' Around

Joined: Aug 25, 2006
Posts: 44
|
Posted:
Sat Jan 05, 2008 12:42 pm |
|
Hi all,
I found a great how-to at http://www.ravenphpscripts.com/article356.html teaching how to make an RSS feed from my forums posts.
However, when I try and run it by going to http://mysite/rdf-nuke.php, I get the error:
Code:
XML Parsing Error: junk after document element
Location: http://mysite/rdf-nuke.php
Line Number 1, Column 82:<script language="JavaScript">startColor="#000000";endColor="#ffffff"; </script> <script language="JavaScript" src="themes/Harmony/fade.js"></script><?xml version="1.0" encoding="ISO-8859-1" ?>
|
Any tips what I'm doing wrong?
Thanks! |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Sat Jan 05, 2008 2:36 pm |
|
I guess you are to be congratulated for finding a 4 year old script like this and for the courage to try to get it running. There is going to be a much improved rss feed process in Ravennuke 2.20 and you probably won't have to (or even want to) bother with stuff like this. For the time being have you considered using forumsbackend.php? |
|
|
|
 |
oyjord

|
Posted:
Sat Jan 05, 2008 2:38 pm |
|
fkelly wrote: | I guess you are to be congratulated for finding a 4 year old script like this and for the courage to try to get it running. There is going to be a much improved rss feed process in Ravennuke 2.20 and you probably won't have to (or even want to) bother with stuff like this. For the time being have you considered using forumsbackend.php? |
Heh, don't congratulate my ignorance! I've just barely a clue what I'm doing here.
I'd love to try a "forumsbackend.php," but I can't find it. If you won't mind posting the code for it I'd greatly appreciate it!
Thanks again,
Oy. |
|
|
|
 |
fkelly

|
Posted:
Sat Jan 05, 2008 3:05 pm |
|
What distribution do you have? It is in the root of recent Ravennuke distributions and I'm pretty sure in the root of most recent PHPnuke distributions. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Jan 05, 2008 3:13 pm |
|
I have been using that rdf-nuke file myself for a long time, primarily because it allowed me to create one feed for each specific forum.
However you are right in that it is now causing errors. I'll need to look at that.
As fkelly mentions, you will find forumsbackend.php in most if not all versions of RavenNuke available from this site.
If you can hang on a very short while, you would be better to wait for the next release as there is some terrific stuff you'll be wanting;)
If you cannot wait, pop over to www.nukeseo.com and take a look at nukePIE |
|
|
|
 |
oyjord

|
Posted:
Sat Jan 05, 2008 3:17 pm |
|
You guys are great.
I've honestly no clue which Raven install I'm using (how can I check?), it's at least a few years old, and it didn't come with forumsbackend.php, I just looked for it.
I'll check out the nukeseo link while I keep scratching my head over this one.
Thanks again!
Oy. |
|
|
|
 |
Guardian2003

|
Posted:
Sat Jan 05, 2008 3:22 pm |
|
By the age you have mentioned, it sounds like you are running one of Ravens 7.5 or 7.6 Distro's rather than 'RavenNuke'.
In my earlier post, the link is correct but it is nukeFEED you want to look at not nukePIE sorry. |
|
|
|
 |
fkelly

|
Posted:
Sat Jan 05, 2008 3:37 pm |
|
Thanks Guardian. I'd just echo what Guardian said. If you have an old distribution and you can wait just a little while (lol, I won't dare to quantify "little"), Ravennuke 2.20 will bring vast improvements in the feed process and you won't have to muck around with trying to debug that script. There will be a forumsbackend in it but it will be just an entry point into a vastly improved feed capability. Thanks largely to Kguske's efforts, bugs that have plagued Nuke admins and users since the dark ages will be totally gone.
I'd wait to start there if you possibly can. |
|
|
|
 |
|