Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove non-working RSS <link> tag #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cernekee
Copy link

@cernekee cernekee commented Aug 4, 2014

{{rsslink}} has been undefined since commit 63d1d95 (Fix RSS link).

I originally tried this change:

-    <link rel="alternate" type="application/rss+xml"  href="{{rsslink}}" title="Latest Crash Reports">
+    <link rel="alternate" type="application/rss+xml"  href="/acra-{{acralyzer.app}}/_design/acra-storage/_list/rss/recent-items?descending=true" title="Latest Crash Reports">

The substitution looked fine in the Firefox Inspector, but Firefox apparently parses the RSS URL too early during the page load process; clicking "Subscribe to this page" did nothing, and Tamper Data showed a GET request to /acra-%7B%7Bacralyzer.app%7D%7D...

Manually replacing {{acralyzer.app}} with my app's literal name made "Subscribe to this page" work again.

This page corroborates my claim that Firefox is picky about editing the <link> href from Javascript, and suggests a few other alternatives:

http://ask.metafilter.com/54377/Firefox-and-Javascript-issue

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant