XML Parsing Error: not well-formed Location: www.gamelinks.com/rssfeed.p...umber=10&field=time&ascdes c=descending Line Number 17, Column 61:http://www.hyperology.com/element.php?n=dronesweeper&t=Dronesweeper&m=flash &p=cat%3D3&w=600&h=400
And in Explorer:
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. --------------------------------------------------------------------------- ----- A semi colon character was expected. Error processing resource 'http://www.gamelinks.com/rssfeed.php?type=links&number=10&f... www.hyperology.com/element....per&t=Dronesweeper&m=flash &p=cat%3D3&w=600&...
I could have sworn that I tested this out last night and it worked, but I'm having no such luck now.
As far as I can tell, you can't have a URL that has an = in it, because that's a reserved character of some sort in RSS. I can't find any info on how dynamic URLs might be made to work inside an RSS feed.
For both of them, it should list the newest 10 links. However, it's listing some links twice and others that shouldn't be there. I'm wondering if it's listing link aliases as well, and if so, how do I get it to list only the 10 posted links?
This is what I see when I click on the first link:
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.
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.
Comments on RSS
Beginner
Usergroup: Member
Joined: Dec 07, 2004
Total Topics: 2
Total Comments: 6
Hi,
Could anyone recomend the proper way to change the format of outgoing links in RSS feed from default
http://www.linkname.com/
to
http://www.directory.com/links/LINKNUBER
Thank you.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You'd have to edit rssfeed.php and just change
$linkstuff = $settings->dirurl .'/link.php?id='. $thisone->id;
to make /link.php?id= into /links/
Beginner
Usergroup: Member
Joined: Dec 07, 2004
Total Topics: 2
Total Comments: 6
Thank you!
This is exactly that I want :-))))))
Thank you!
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
I'm having problems getting my RSS to work. Here's the link I'm using:
www.gamelinks.com/rssfeed.p...umber=10&field=time&ascdes c=descending
Here's what happens in Firefox:
XML Parsing Error: not well-formed
Location: www.gamelinks.com/rssfeed.p...umber=10&field=time&ascdes c=descending
Line Number 17, Column 61:http://www.hyperology.com/element.php?n=dronesweeper&t=Dronesweeper&m=flash &p=cat%3D3&w=600&h=400
And in Explorer:
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.
--------------------------------------------------------------------------- -----
A semi colon character was expected. Error processing resource 'http://www.gamelinks.com/rssfeed.php?type=links&number=10&f...
www.hyperology.com/element....per&t=Dronesweeper&m=flash &p=cat%3D3&w=600&...
I could have sworn that I tested this out last night and it worked, but I'm having no such luck now.
Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
As far as I can tell, you can't have a URL that has an = in it, because that's a reserved character of some sort in RSS. I can't find any info on how dynamic URLs might be made to work inside an RSS feed.
Member
Usergroup: Customer
Joined: Nov 11, 2003
Total Topics: 9
Total Comments: 21
Has anyone tried formatting the links to output the details page url instead of outgoing links url?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If not using mod_rewrite, you'd run into the same & problem mentioned by Synozeer above.
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
Oh well. If anyone comes up with a solution to this, please post it.
Thanks,
Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Actally, I think it's just that the links are being input as imporper HTML. Technically, an & has to be & a m p ; (without spaces) in HTML.
Just replace
echo '
with
$linkstuff = str_replace('&', '& a m p ;', $linkstuff);
echo '
(again removing spaces in the amp.
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
The "&" fix seems to have worked for the original link, but when I try using another field, I get a similar error:
www.gamelinks.com/rssfeed.p...umber=10&field=rating&ascd esc=descending
Also, the results for the now working links appear to be wrong. Using the examples from the manual, I get these two links:
www.gamelinks.com/rssfeed.p...umber=10&field=time&ascdes c=descending
www.gamelinks.com/rssfeed.p...umber=10&field=time&ascdes c=descending&thecondition=type='regular'
For both of them, it should list the newest 10 links. However, it's listing some links twice and others that shouldn't be there. I'm wondering if it's listing link aliases as well, and if so, how do I get it to list only the 10 posted links?
Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Where do you get a similar error? Your link doesn't seem to show an error.
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
This is what I see when I click on the first link:
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.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource 'http://www.gamelinks.com/rssfeed.php?type=links&...
Link letters and create words to feed the hungry, hungry Bookworm! But watch out for fiery red letters......
I'm using the latest version of IE.
When I do it in Firefox, it shows the RSS, but additionally with this message at the top:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't know the the 'style' stuff is about, seems to me that stylesheets and RSS are very different things.
Try the attached. If that doesn't work, maybe it's just the double URLs involved there with those links.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The file I have for WSN Forum seems to be a bit different, perhaps it'll work better:
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
No go. I get this error:
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.
--------------------------------------------------------------------------- -----
The following tags were not closed: rss, channel. Error processing resource 'http://www.gamelinks.com/rssfeed.php?type=link...