MozillaZine

Request: Download manager intergration; Mockup provided

Talk about add-ons and extension development.
jedbro

User avatar
 
Posts: 1899
Joined: November 10th, 2002, 12:35 pm
Location: Mexico / Boulder Co.

Post Posted March 11th, 2004, 5:59 pm

Paradox52525 wrote:Thanks for the positive feedback everyone, :-) I'm glad you all like this so much. Just to give you all an update, I'm working on seemless integration/download monitoring now, and it's coming along pretty well. I've got it to the point that it can catch files based on filetypes and automatically send them to the associated download manager as per user prefs, but only for direct link clicks, it doesn't do redirects yet (working on that). Not ready to release a new version yet because it has no UI for adding filetype associations yet, and in it's current state it will conflict something nasty with the DownloadSort extension (I copied DownloadSort's methods for intercepting downloads, so until I find some kind of workaround to make the two get along, they don't work together)...but just wanted to post to let everyone know it is coming along. As for UI I was thinking of just adding a "filetypes" box to the existing downloadwith options panel, and instead of using the "do this every time..." checkbox I'll probably add either add a button to the download dialog or just have all file extension filters be controlled from the options panel instead. Like DownloadSort, everything will be by file extension, not mime-type, and it will be possible to have different file extensions use different download managers if you use more than one.

gbitten: I'd be happy to work on this with you. :-) I'll send you an e-mail about that.


Sounds good, but I hope you make this optional.
The current implementation with the dialog I find to be great, as I only use getright when the file is large (over 50meg) so I want to always be asked.

Cheers

Paradox52525

User avatar
 
Posts: 1219
Joined: April 23rd, 2003, 9:13 am
Location: Middle of nowhere

Post Posted March 11th, 2004, 6:57 pm

Oh yeah, it would be based on user defined filetypes (similar to DownloadSort in some ways) so if you don't add any filetypes all downloads will be handled with the dialog/browser defaults.

nexx

User avatar
 
Posts: 736
Joined: July 29th, 2003, 1:23 am
Location: Brisbane, Australia

Post Posted March 11th, 2004, 6:57 pm

Excellent extension! Exactly what i've always wanted :D

A few suggestions though:
- Have it ship with defaults for the most popular download managers. DAP, Flashget etc.
- The "download with" text is longer and means the two drop down menus arent lined up, a minor graphical annoyance which i fixed by editing the har anyway :D
<a href="http://users.bigpond.net.au/nexx1/oxpmenu/" title="Office XP Menus">Office XP Menus</a> || <a href="http://scragz.com/tech/mozilla/firefox-unofficial-branding.php"> Unofficial Firefox Branding</a>

Rowne Mastaile

User avatar
 
Posts: 1434
Joined: December 21st, 2003, 3:05 pm
Location: Housed in a swirling neosma of scintillating thought and turgid ideas.

Post Posted March 11th, 2004, 11:27 pm

Don't take this the wrong way Paradox but... you amaze me and I love you, man. That aside, let's see if I can find something useful to say, as I enjoy doing because it's useful, rather than redundant and I am all too often redundant. Let's see... well, this is good. This is another one of those extensions that I firmly believe should make it into the core package. The default MozFire downloader is decent for small files but when you're dealing with big files, if you're on a modem or an even slightly unstable connection (or if your connection hiccups for some reason), you lose the file and you realize your computer has been sitting around like a lemon simply staring instead of downloading and you've wasted time.

That's not fun.

Until now, the only alternative for those who aren't on wholly reliable T1 lines (or worse, for those of us on modems), was to either cut and paste the URL (blargh) and drop it to wGET or to use something like Getright. I cut and paste because I refuse to use Getright. No, this isn't some anti-pay ethos (if people give me something, I usually try to throw a little money at them because of it, I'm communist but I'm not selfish) but rather an anti-bloat ethos. So downloading a large number of things is a tiring process.

Now I just click. Hurrah!

This is also a nice step towards the all-free (don't kill me, commercialists?), no bloat cause. Because now it's easy for someone to simply click a file and have it sent through to a wonderful downloader like wGET. And if you can pull off seamless integration then I wholly believe it should be part of the core package because... well damn, it only heightens what Mozilla is about; in my eyes. Versatility, freedom of choice and anti-bloat. Heck, if the devs removed most of their downloader from the core and added that as an extension of its own so you could have the choice there too, that would definitely be anti-bloat.

Just my thoughts anyway. You enabled me ease of use with wGET, thank you.

sbc
 
Posts: 147
Joined: February 18th, 2004, 12:47 pm

Post Posted March 12th, 2004, 4:17 am

Is it possible to set download options depending on filetype and filesize? That way, you can use an external download manager if files are over a certain size (i.e. 10MB), but the builtin one for smaller files.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Paradox52525

User avatar
 
Posts: 1219
Joined: April 23rd, 2003, 9:13 am
Location: Middle of nowhere

Post Posted March 12th, 2004, 5:58 am

Thanks again everyone, but be careful all this positive feedback will go right to my head ^_^ Also be sure to thank gbitten too, he's the original DownloadWith author who wrote the options panel (which is great because I *HATE* making options panels) and the code for calling apps w/ command line parameters. I wouldn't have known where to start without those things in place.

nexx: I was thinking of something like this, but I'm not sure if it's practical because of the amount of code it would add. DownloadWith already has a very neat system of downloading settings for download managers from its list online, and I think this is probably sufficient. I was also intending to go back and clean up that overlay a bit. How did you line the two dropdowns up? If you already did it I'll just copy your method and save myself time, if you don't mind that is :-)

sbc: I'm already working on automatic downloading by filetype. I had thought about by size options, but didn't think there was a way to do this. Then coincidentally the <a href="http://forums.mozillazine.org/viewtopic.php?t=60855">Get File Size Extension</a> showed up on the forums yesterday, so obviously it's possible. Maybe when I get a chance I'll look at that extensions code to see how it detects filesize and see if this can be implemented practically.

soccer_dude182

User avatar
 
Posts: 720
Joined: July 11th, 2003, 10:50 pm
Location: Waco, TX

Post Posted March 12th, 2004, 9:23 am

Yeah, great extension Paradox, I'm glad it's coming along well. I would also like to second sbc's request to set the option according to file size. That would be so great. Thanks.

nexx

User avatar
 
Posts: 736
Joined: July 29th, 2003, 1:23 am
Location: Brisbane, Australia

Post Posted March 12th, 2004, 6:29 pm

Paradox52525 wrote:nexx:....How did you line the two dropdowns up? If you already did it I'll just copy your method and save myself time, if you don't mind that is :-)



I just changed the label "Download with..." to "Sent to..." and they lined up lol :D
<a href="http://users.bigpond.net.au/nexx1/oxpmenu/" title="Office XP Menus">Office XP Menus</a> || <a href="http://scragz.com/tech/mozilla/firefox-unofficial-branding.php"> Unofficial Firefox Branding</a>

TychoQuad
 
Posts: 1263
Joined: December 11th, 2002, 12:30 am
Location: Australia

Post Posted March 13th, 2004, 9:41 pm

The Opening: dialog box seems to have been broken in more recent builds... I think they changed something. I'm using build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040313 Firefox/0.8.0+

OBnascar
 
Posts: 55
Joined: November 14th, 2003, 5:11 pm

Post Posted March 14th, 2004, 10:13 am

Maybe this should be a separate post but I will try sneaking it in here.

I like the pop-up feature that FireFox has when the download is complete. I am not a programer so I will ask this maybe silly question:

On other free download managers, if one wants the resume feature, you have to pay extra for it. I sure would like to have that with FireFox and it would be the greatest. Is this feature not possable for FireFox ? What are the issues adding resume to a download manager ?
I haven't lost my mind, it is backed up on disk somewhere.

Best Regards, OBnascar

TheOneKEA

User avatar
 
Posts: 4864
Joined: October 16th, 2003, 5:47 am
Location: Somewhere in London, riding the Underground

Post Posted March 14th, 2004, 10:53 am

Cross-session resuming is planned for 1.0. Ask Ben Goodger for details.
Proud user of teh Fox of Fire
Registered Linux User #289618

Paradox52525

User avatar
 
Posts: 1219
Joined: April 23rd, 2003, 9:13 am
Location: Middle of nowhere

Post Posted March 14th, 2004, 11:36 am

TychoQuad wrote:The Opening: dialog box seems to have been broken in more recent builds... I think they changed something. I'm using build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040313 Firefox/0.8.0+


I'm also running 3/13 Firefox and I haven't noticed any problems. Do you mean you don't get the dialog window at all? Or does it not function properly?

TychoQuad
 
Posts: 1263
Joined: December 11th, 2002, 12:30 am
Location: Australia

Post Posted March 14th, 2004, 5:48 pm

Doesn't work properly. If that's the case, maybe I screwed something over in installation, because that isn't the only problem I've had in this build. When I get home, i'll start hitting Firefox with a crowbar and see if i can fix it. I'm thinking maybe some file didn't replace properly.

EDIT: Yeah, my bad. It seems I need to be more careful whenever I install a new Firefox build. Glad that's sorted though, I was knee-deep in damn annoying bugs!
Last edited by TychoQuad on March 15th, 2004, 1:50 am, edited 1 time in total.

babba
 
Posts: 79
Joined: June 8th, 2003, 8:17 am

Post Posted March 15th, 2004, 1:49 am

Paradox52525 wrote: be careful all this positive feedback will go right to my head ^_^

Well i m impressed!!!

Now working with wget,there is no reason for resume feature,wget can handle this.
Also if you create some more wget profiles manually,you can save the downloadable files in different folders depending from the file extension or whatever criteria you choose.
Paradox52525 wrote: Also be sure to thank gbitten too,

Thanks gbitten and TychoQuad for the first thought~~~excellent thread btw~~~..
I ve done with that download issue.

varaonaid
 
Posts: 30
Joined: December 22nd, 2003, 9:04 am

Post Posted March 17th, 2004, 10:36 pm

Hello,

I'm really frustrated because I can't seem to get any download manager integration going. Hopefully, someone can help.

I have getright and i've installed the Opera/Mozilla plugin but it doesn't work (i've been sure to have it install into both the mozilla.org plugins folder as well as the new firefox plugins folder. Even after restarting firefox it won't catch clicks.

So i figured i'd try the downloadwith extension. I've attempted to install that one twice and both times it says it installed successfully just restart firefox for the changes to tak eeffect. Both times it hasn't shown up either in the installed extensions or when i try to download something. i also attempted to download/install paradox's upgrade to that extension but i get an error message that says "/content/editor.xul cannot be found".

Can anyone please help me and tell me what i'm doing wrong? I'd really appreciate any assistance.

Thanks in advance.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 3 guests