Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How do I manually add an RSS feed?

  • 6 trả lời
  • 10 gặp vấn đề này
  • 1323 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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
Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (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

Giải pháp được chọn

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

Được chỉnh sửa bởi cor-el vào

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!