Last Comment Bug 77195 - support news, imap, mailbox message urls from the browser (needed bookmarking)
: support news, imap, mailbox message urls from the browser (needed bookmarking)
Status: NEW
:
Product: MailNews Core
Classification: Components
Component: Backend (show other bugs)
: Trunk
: All All
: -- normal with 11 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
: 467981 (view as bug list)
Depends on:
Blocks: 14988 108948 245677 499383
  Show dependency treegraph
 
Reported: 2001-04-23 11:20 PDT by (not reading, please use seth@sspitzer.org instead)
Modified: 2014-07-15 14:11 PDT (History)
21 users (show)
davida: blocking‑thunderbird3-
dmose: wanted‑thunderbird3+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description (not reading, please use seth@sspitzer.org instead) 2001-04-23 11:20:18 PDT
we need some support news, imap, mailbox message urls from the browser (needed 
bookmarking)

it might already be there, but I'm too lame to know what it is.

for news I know it's news://host/message-id

there is something that works for mailbox:// (which involves the path to the
folder on disk) but it might not be supported.

this bug blocks our ability to implement bookmarking of mail / news messages.
Comment 1 benc 2001-08-03 07:37:06 PDT
Actually, RFC 1738 says that news: should use the slash-less mailto style, not
Common Internet Scheme Syntax (http/ftp style, section 3.1 of the RFC).

I found from pasting a news URL:
news:netscape.public.mozilla.announce

that it sort of converts it into a news URL in CISS
news://news:119/netscape.public.mozilla.announce
But the window doesn't open.

I think for a "news" URL, we have to consider using only the default news server
("The news URLs are unusual in that by themselves, they do not contain
sufficient locatino to locate a single resource, but, rather, are
location-independent.")

Having server-level granularity probably belongs in nttp...
That seems more like the way NNTP should be described in a URL (3.7).
Comment 2 Denis Antrushin 2001-10-05 05:00:32 PDT
To show news URl mozilla looks for existing resource(folder)
with the same name. For example, to show
news://news.mozilla.org/netscape.public.test, mozilla looks for 
(RDF) resource with such name ('netscape.public.test' subfolder
of folder 'news.mozilla.org')

There is two problems here:
1. Mozilla cannot show nonexisting resource, so you can't load
unsubscribed newsgroup.

2. Even if such resource exists, it cannot be shown anyway,
besause URL gets converted from news://server/newsgroup form
to news://server:119/newsgroup (or news:newsgroup to
news://default_server:119/newsgroup). Of course, there is no such
resource! (but port-less resource does exists).

I'm don't quite understand why such conversion (adding port number) 
is needed. BTW, what is CISS?

Also, if news server uses nonstandard port number, it also cannot
be shown.

To solve this problem we can
a. don't add (strip) port number from URL or,
b. *always* add port number to server name in folders tree

As for imap:// URL, I can't test them, besause my mozilla just
silently exits in a fraction of second when loading such URL....
Last few debuglines are
###!!! Break: at file nsImapProtocol.cpp, line 544
###!!! ASSERTION: couldn't get proxies: 'NS_SUCCEEDED(res)', file nsImapProtocol
.cpp, line 550
###!!! Break: at file nsImapProtocol.cpp, line 550
###!!! ASSERTION: missing url or sink: 'PR_FALSE', file nsImapProtocol.cpp, line
 1167
###!!! Break: at file nsImapProtocol.cpp, line 1167
###!!! ASSERTION: nsStreamListenerTee not thread-safe: 'owningThread == NS_Curre
ntThread()', file nsDebug.cpp, line 528
###!!! Break: at file nsDebug.cpp, line 528
Comment 3 OstGote! 2004-06-07 03:03:50 PDT
There should be a dependency to Bug 14988.
Comment 4 (not reading, please use seth@sspitzer.org instead) 2007-06-21 14:38:49 PDT
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Comment 5 Serge Gautherie (:sgautherie) 2008-06-20 10:37:38 PDT
Filter on "Nobody_NScomTLD_20080620"
Comment 6 plop 2008-10-25 17:53:30 PDT
This bug sounds to me like dup of bug 14988
Comment 7 Magnus Melin 2008-12-08 13:51:49 PST
*** Bug 467981 has been marked as a duplicate of this bug. ***
Comment 8 Dan Mosedale (:dmose) 2008-12-10 14:56:37 PST
This seems like a pretty big deal for platform-local integration, to the point where it might want to be block Thunderbird 3, though I suspect it's more likely that it should "wanted".  Supporting these URLs also helps push towards vendor-neutrality by providing incentive to link to the actual objects rather than (say) Google Groups representations thereof.
Comment 9 David Ascher (:davida) 2009-01-08 11:23:02 PST
Doesn't block tb3 I don't think.
Comment 10 wodka 2009-03-05 01:42:33 PST
(In reply to comment #0)
> we need some support news, imap, mailbox message urls from the browser (needed 
> bookmarking)
> 
> it might already be there, but I'm too lame to know what it is.
> 
> for news I know it's news://host/message-id
> 
> there is something that works for mailbox:// (which involves the path to the
> folder on disk) but it might not be supported.
> 
> this bug blocks our ability to implement bookmarking of mail / news messages.

You're not the only one:
http://forums.mozillazine.org/viewtopic.php?f=39&t=584542&start=0&st=0&sk=t&sd=a

This feature would be very handy when combining TB with local Wiki \ CMS \ OneNote.
Comment 11 Dotan Cohen 2010-05-21 04:06:26 PDT
> This feature would be very handy when combining TB with
> local Wiki \ CMS \ OneNote.

Yes, this is a popular feature request. Here is the RFE for Zim-wiki:
https://bugs.launchpad.net/zim/+bug/381679
Comment 12 David Rees 2013-05-11 19:28:36 PDT
Agreed this is a duplicate of bug 14988, even though this one has more votes/CCs.

Note that Postbox supports this somehow so its possible. They use the scheme "x-postbox-message". Its very handy for adding links to todo lists and tools like Things/OmniFocus.
Comment 13 Petr Špaček 2014-07-15 14:11:43 PDT
It seems that https://addons.mozilla.org/en-US/thunderbird/addon/thunderlink/ already implemented the idea, using message-ID. This is really great idea!

Note You need to log in before you can comment on or make changes to this bug.