Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How do I manually add an RSS feed?

  • 6 antwoorden
  • 10 hebben dit probleem
  • 1252 weergaven
  • Laatste antwoord van goodday

more options

I remember live bookmarks can add them by presenting an icon, but what if all I can get is the feed url?

I remember live bookmarks can add them by presenting an icon, but what if all I can get is the feed url?

Gekozen oplossing

Try this variant as a bookmarklet.

javascript:(function(){function hEsc(s){return(s.replace(/&|<|>/g,function(r){return(r=='&'?'%26amp;':r=='>'?'%26gt;':r=='<'?'%26lt;':'')}))}function lEsc(s){return(s.replace(/&/g,'%26amp;').replace(/"/,'%26quote;'))}t=hEsc(document.title);h='<link rel="alternate" type="application/rss+xml" title="'+t+'" href="'+lEsc(location.href)+'" />';with(window.open().document){write('<html><head>'+h+'</head><body>Click the highlighted RSS feed icon</body></html>');close();}})();
  1. make sure that you have the "Subscribe to this page" icon on the Navigation Toolbar
  2. create a new bookmark (AddFeed on the Bookmarks Toolbar) with the location set as the full JavaScript code
  3. open the page with the feed content in a tab
  4. invoke the bookmark with the JavaScript code
  5. this should open a new tab/window with the subscribe toolbar button enabled (highlighted)
  6. click the subscribe button to open the feed page
Dit antwoord in context lezen 👍 2

Alle antwoorden (6)

more options

The easiest method is to use the Firefox subscribe icon for adding RSS feeds. I think that may not be shown by default but can be added by customising.

As something to test note these support forum pages have feeds available can you add them using the icon ?
Another site is this blog https://blog.mozilla.org/ that has no link or button for the feeds but the feed can be found and used with the subscribe icon.

more options

I have a keyword (rss) bookmarklet for cases like this:

data:text/html,<link rel="alternate" type="application/rss+xml" title="Add Feed" href="%S">

That should give you an enabled RSS feed button that you can click.

more options

Hmm....I tried that but only got to subscribe to the feed once by going to a page with a valid feed, then returning. I think that's actually a bug. Here is a url you can try: http://weeklyspecials.safeway.com/rss.jsp?drpStoreID=1258&categories=Bread%20%26%20Bakery

more options

Gekozen oplossing

Try this variant as a bookmarklet.

javascript:(function(){function hEsc(s){return(s.replace(/&|<|>/g,function(r){return(r=='&'?'%26amp;':r=='>'?'%26gt;':r=='<'?'%26lt;':'')}))}function lEsc(s){return(s.replace(/&/g,'%26amp;').replace(/"/,'%26quote;'))}t=hEsc(document.title);h='<link rel="alternate" type="application/rss+xml" title="'+t+'" href="'+lEsc(location.href)+'" />';with(window.open().document){write('<html><head>'+h+'</head><body>Click the highlighted RSS feed icon</body></html>');close();}})();
  1. make sure that you have the "Subscribe to this page" icon on the Navigation Toolbar
  2. create a new bookmark (AddFeed on the Bookmarks Toolbar) with the location set as the full JavaScript code
  3. open the page with the feed content in a tab
  4. invoke the bookmark with the JavaScript code
  5. this should open a new tab/window with the subscribe toolbar button enabled (highlighted)
  6. click the subscribe button to open the feed page

Bewerkt door cor-el op

more options

It looks weird: I sometimes get the subscribe page send as "application/xhtml+xml" if I use Alt + Enter to open the feed page another time in a new tab or just refresh the page.
It is the same URL only send by the server as application/xhtml+xml instead of text/html

more options

Wow that's some great detective work...thanks!