為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to open a news URL

  • 7 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 rsx11m

more options

The command { thunderbird 'news:news.answers'; } should show the Usenet group news.answers using the default Usenet news server but it does not; it has no effect.

The command { thunderbird 'news:news.answers'; } should show the Usenet group news.answers using the default Usenet news server but it does not; it has no effect.

所有回覆 (7)

more options

The command { thunderbird 'news:news.answers'; }

I have no idea what you're talking about.

You'll need to create a news account for the news server of your choice. Then subscribe to the group(s) you're interested in.

more options

I am talking about launching Thunderbird from the command line.

more options
more options

That URL is wrong, news URL do not have the authority part. The semantic of this URL is to open the group in the default Usenet server. The command { thunderbird -news 'news:news.answers'; } opens Thunderbird but does not show the group.

more options

The command line is handled the code in nsMailNewsCommandHandler.js; the expression (neckoURL.messageHeader) causes an invalid value exception, probably because it expects a message reference, not a group reference (represented by msgKey == -1 in nsMsgDatabase::GetMsgHdrForKey). It looks unimplemented.

more options

Reported as bug 1096355

more options

According to the examples in the applicable standards document RFC 3986 Section 1.1.2, "news:comp.infosystems.www.servers.unix" is a valid URL. Thus,

  • thunderbird news:comp.infosystems.www.servers.unix

should work similar to

  • thunderbird mailto:John.Doe@example.com

The command-line syntax is the internal syntax, but without the "-news" switch, you'd expect the URL passed as argument to be parsed.

由 rsx11m 於 修改