Opened 11 years ago

Closed 11 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


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 Changed 11 years ago by umccullough

Cc: koki@… added

Probably Google Analytics related

comment:2 Changed 11 years ago by andreasf


comment:3 Changed 11 years 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?


comment:4 Changed 11 years 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.

comment:5 Changed 11 years ago by koki

andreasf, thanks for the info.

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

comment:6 Changed 11 years ago by andreasf

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

comment:7 Changed 11 years 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. :)

comment:8 Changed 11 years 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?

comment:9 Changed 11 years ago by andreasf

Works for me, thanks.

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

comment:10 Changed 11 years ago by stippi

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.