Opened 12 years ago

Closed 12 years ago

#1736 closed bug (fixed)

RSS feeds invalid

Reported by: andreasf Owned by: gavin
Priority: normal Milestone: R1
Component: Website/CMS Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

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 (10)

comment:1 by umccullough, 12 years ago

Cc: koki@… added

Probably Google Analytics related

comment:2 by andreasf, 12 years ago

Yes.

comment:3 by koki, 12 years ago

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.

comment:4 by andreasf, 12 years ago

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.

comment:5 by koki, 12 years ago

andreasf, thanks for the info.

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

comment:6 by andreasf, 12 years ago

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

comment:7 by koki, 12 years ago

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. :)

comment:8 by koki, 12 years ago

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?

comment:9 by andreasf, 12 years ago

Works for me, thanks.

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

comment:10 by stippi, 12 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.