Did the Feeds Change? Extra spaces at the top?

darryldarryl Registered Users Posts: 997 Major grins
Hey Dev --

Did you make any changes to the feeds in the past week or so?

My hacks to show [thread=100758]"most recent photos"[/thread] and "most recent galleries" are failing, with the error:
chanElement is undefined
[Break on this error] this.image = new RSS2Image(chanElement.getElementsByTagName("image")[0]);

Bleh. When I try to view the feed with Firefox, I'm getting this odd error:
XML Parsing Error: XML or text declaration not at start of entity
Location: http://api.smugmug.com/hack/feed.mg?Type=nickname&Data=darryl&format=rss200&ImageCount=12
Line Number 9, Column 1:<?xml version="1.0" encoding="utf-8"?>

Viewing source, it appears that the opening <?xml> tag doesn't show up until line 9. So there's 8 blank lines before that and perhaps that is screwing up my script?

Your thoughts? Anyone? Bueller?

Thanks!

--Darryl

Comments

  • knight777knight777 Registered Users Posts: 7 Beginner grinner
    edited December 13, 2008
    I'm getting the same error. I use the ATOM feed to stream photos to my website and starting getting this same error last night.

    Validating the feed it shows:
    XML parsing error: <unknown>:9:0: xml declaration not at start of external entity
    

    There is also an empty line at the end.
  • MnMMnM Registered Users Posts: 13 Big grins
    edited December 13, 2008
    I'm getting the same error. My recent galleries feed XML is failing to load...

    I also noticed that slideshows are no longer working as well when a feedURL is used and it may be the same issue. If I trace Activity on Safari, the feed is returning internal server error.

    This was fine this morning - so this must be a recent change. Though I didn't see any notices for upgrades or maintenance...
  • knight777knight777 Registered Users Posts: 7 Beginner grinner
    edited December 13, 2008
    Whatever it was, the Sorcerers have used their Magicks to fix it. Thanks!
  • MnMMnM Registered Users Posts: 13 Big grins
    edited December 13, 2008
    knight777 wrote:
    Whatever it was, the Sorcerers have used their Magicks to fix it. Thanks!

    Have they? I'm not getting an "ERROR" anymore per se, but now my feeds are empty. So, my recent galleries is blank and the slideshow is still not showing any pictures.

    ETA: And now - they work! Thanks devs!
Sign In or Register to comment.