Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
Ok, it's fixed... Oddly enough, the issue was a result of the syndication, magpie, and the rss feed from this site... Wierd, but long story short, a server refresh of the xml and deleting all the syndicated posts fixed it.
I'll have the syndication up in just a little bit. I'm sorry for all the trouble guys :-/
(Btw all the html characters for ampersands and bullet points was a result of me upgrading magpie, apparently it's a nazi when it comes to proper xhtml)
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
@tobi, I'm not entirely sure, but I do know that when the feed is trying to be read, it's causing a total breakdown. I'm trying to figure out what part of the syndication is causing that and fix it, but it's not altogether clear. According to my settings, it should be linking to springinfo, not here (just cause I wanted to try that to see if it would fix), but it's still linking here and throwing the same error. And yes, I think either the & or the # (prolly the #) is causing the error.
Gimmie a bit, now at least I know (or at least I think I do) what's causing the problem and I'm trying to fix it.
Edit: Ok it's definitely the link that is causing the issue, that much I was 99% sure of. Looks like it's the ampersand that is giving me trouble... See the thing is, I have it set up so that when the syndication updates, it actually makes a post on springinfo with a permalink to this site. Unfortunately, that link is breaking rss.
Code:
Message
XML Parsing error: syntax error Explanation
Your feed is not well formed according to the XML specification. All feeds must be well-formed XML. In fact, IE7 and the RSS platform in Windows Vista only support feeds that are well-formed XML. Solution
The text of the error may contain additional helpful details. At a minimum, the actual line and column number where the error was detected will be reported.
The most common cause is encoding errors. There are several basic approaches to solving this: escaping problematic characters ("<" becomes "<", "&" becomes "&", etc.), escaping entire blocks of text with CDATA sections, or putting an encoding declaration at the start of the feed.
Another common error is the inclusion of whitespace characters (spaces, tabs, newlines) before the XML Declaration. If an XML Declaration is included, it must be the first thing in the document
Working on it still...
Last edited by Forboding Angel on 27 Nov 2009, 11:22, edited 1 time in total.
you need to escape almost everything in xml and & is one of the things that is a common source of mistakes. make it & and the problem should go away.
note: you also should be doing this in xhtml source in hrefs. not sure about html.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
Well, the springinfo feed is fine now. Syndication is disabled for the moment. Atm I'm so tired I can barely keep my eyes open and I'm getting confused as to where to even look to fix this, so it's better if I just get some sleep and attack it later with a fresh brain
If I can't get it figured out, I'll get AF to help me. I'm fairly sure he has a lot more experience working with rss feeds than I do.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
It's all fixed now. I had to use a different form of syndication and change the way a few things work, but it's all working and the feed validates, so the community headlines can be re-enabled now (fresh braind did the trick).
Jesus, I'm sorry for the mess. All because of unescaped &'s. Sigh, well it's working now anyhow. The cron job is set up to perform a check every hour. Could someone make a bit of an announcement or something so that I can test it to make sure that the job is actually being performed? It says it is, but at this point I'm not willing to believe a whole lot of what I'm told lol
Also, in said post, could you put an image in there? It's supposed to grab the images and cache them on springinfo (so that it won't hotlink), and I'd like to make sure that that little chestnut is working as well (a smiley would do the trick actually).
I have 0 reason to believe that no part of this isn't working. It's tested and tested and tested and it all checks out ok, so I'm sure we're good to go. God I'm so sorry for the trouble :-/
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum