Ticket #1736 (closed bug: fixed)

Opened 10 months ago

Last modified 10 months ago

RSS feeds invalid

Reported by: andreasf Owned by: gavin
Priority: normal Milestone: R1
Component: Website/CMS Version:
Cc: koki@… Blocked By:
Platform: All Blocking:

Description

Haiku's RSS feeds have become unreadable in Safari 3. It cannot refresh feeds or display new ones, saying they had an invalid format.

Looking at the news feed's XML source, it appears to be invalid XML because after </rss> some Google javascript stuff is appended. Please remove this.

Change History

Changed 10 months ago by umccullough

  • cc koki@… added

Probably Google Analytics related

Changed 10 months ago by andreasf

Yes.

Changed 10 months ago by koki

The Haiku website has many feeds.

Can you provide the URL of the feed that fails to load?

Also, can you tell when it started failing?

Thanks.

Changed 10 months ago by andreasf

All feeds I tried, for instance the /rss.xml "Latest News" and the two below, in the bottom right corner.

Last week or so it worked fine, then there were duplicates due to www2, that went away; so it must've broken within the last few days. HTH.

Changed 10 months ago by koki

andreasf, thanks for the info.

Can you please see if the feeds load when you are logged off from the website?

Changed 10 months ago by andreasf

Yes, they do! When logged off, the feed ends with </rss>, as expected.

Changed 10 months ago by koki

I will have to look into this, but I suspect it may be a bug with the Google Analytics module. It may just be easier to drop the module and incorporate the GA script directly into our theme templates. Thanks for reporting. :)

Changed 10 months ago by koki

The problem persisted even after disabling and removing the GA module, so I had to look somewhere else. Looked into the DB, but there were no remnants of the module there either. In the end, it turned out to be that somebody had hardcoded the GA script into one of Drupal's PHP files, and as a result the code was being added to the end of every page.

Should be fixed now, but can you please confirm and close the bug in case it works OK?

Changed 10 months ago by andreasf

Works for me, thanks.

Unfortunately I see no way of closing this bug...?

Changed 10 months ago by stippi

  • status changed from new to closed
  • resolution set to fixed

It depends on your user setup. I can close it. Thanks for fixing!

Note: See TracTickets for help on using tickets.