URL to files
Moderator: Moderators
URL to files
I'd like to have a possibility to make a link to a file, the same way bittorent/edonkey sites work. I know you already can link to hubs or users, but as far as I know it isn't possible to link to file
The URL should be very simple, I would suggest the following
dcfile://filename|TTH
The URL should be very simple, I would suggest the following
dcfile://filename|TTH
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Yes, it would be. Or to give the user a choice. But the DC++ queue relies on having a file size, so DC++ only searches for the file. The MAGNET-URI specification has no argument for size. Instead of hacking one in (as they did in Reverse Connect), DC++'s queue will eventually be changed to discover (or not need) the file size, and users will be given a choice between queuing the file and searching. (That's why the dialog is so big, if you noticed.)Wisp wrote:Hmm I didn't knew that, but it works quite well, I think it would be better to just add the file to the download queue instead of having to search
Since we use TTH to track down files, the filesize isn't important anymore, so why is it still needed? Isn't it possible to use the word 'unknown' as filesize until the filesize is known?GargoyleMT wrote:Yes, it would be. Or to give the user a choice. But the DC++ queue relies on having a file size, so DC++ only searches for the file. The MAGNET-URI specification has no argument for size. Instead of hacking one in (as they did in Reverse Connect), DC++'s queue will eventually be changed to discover (or not need) the file size, and users will be given a choice between queuing the file and searching. (That's why the dialog is so big, if you noticed.)
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
If the magnet handler is correctly registered with Windows, you should get an "External Protocol Link" message from Firefox asking for confirmation to lauch an external application to handle the link.Guitarm wrote:Hmm...I'm I missing some extension, or?
If it hasn't been registered correctly, you will receive a message that the link type is not a registered protocol.
Try clicking on the link given by Wisp and the one given by me, and see if the results are different.
Yes, obviously Firefox can handle dchub:// links now but not the magnet-links. I do belive it has something to do with the registration of magnet-links. But what can I do to register it other than clicking on magnet.exe in DC++ directory?
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Yes, I have it and it looks ok. the reference to magnet.exe is right and under command it says: "C:\Program\DC++\magnet.exe" /url "%L"TheParanoidOne wrote:The magnet uri registration should be done automatically by DC++. You shouldn't have to do anything yourself.
Do you have any data in the following registry key?:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\magnet
Hmmm....I just noticed that it doesn't work in IE anymore either. I was messing with services the other day and I put some services to manual and made some inactive. Could this have something to do with this?
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
That's interesting, because I have:Guitarm wrote:Yes, I have it and it looks ok. the reference to magnet.exe is right and under command it says: "C:\Program\DC++\magnet.exe" /url "%L"
"<full path here>\DC++\magnet.exe" %1
I doubt it.Guitarm wrote:Hmmm....I just noticed that it doesn't work in IE anymore either. I was messing with services the other day and I put some services to manual and made some inactive. Could this have something to do with this?
I suggest deleting the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\magnet and HKEY_LOCAL_MACHINE\SOFTWARE\Magnet and letting DC++ recreate them.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
That's what I said, isn't it?Wisp wrote:Since we use TTH to track down files, the filesize isn't important anymore, so why is it still needed? Isn't it possible to use the word 'unknown' as filesize until the filesize is known?
GargoyleMT wrote: DC++'s queue will eventually be changed to discover (or not need) the file size,
I have been a user of DC++ for about two years now and recently went from the core client to LDC++ (BTW is a great Multisource client).
I have been closely monitoring the Magnet-URI since the conception of integrating it.
It works great in my Firefox and with my client. With LDC you get the option to search for the file, or add it directly to the download queue.
My question....for a long time I have considered going with BT, but have always heard that seeding takes alot of resources. My files are fairly rare, so I would be seeding most of them. I don't know if seeding 400GB is possible with BT, plus I like the community like settings of DC.
What I want is magnet links on my site, but I do not have the time to click each individual file and copy /paste the link. Is there any software that can gather the magnet for multiple files, for example folder that has an entire album inside?
If not does anyone have any suggestion, as to how I can get the magnet's in a bulk sort of manner?
I have been closely monitoring the Magnet-URI since the conception of integrating it.
It works great in my Firefox and with my client. With LDC you get the option to search for the file, or add it directly to the download queue.
My question....for a long time I have considered going with BT, but have always heard that seeding takes alot of resources. My files are fairly rare, so I would be seeding most of them. I don't know if seeding 400GB is possible with BT, plus I like the community like settings of DC.
What I want is magnet links on my site, but I do not have the time to click each individual file and copy /paste the link. Is there any software that can gather the magnet for multiple files, for example folder that has an entire album inside?
If not does anyone have any suggestion, as to how I can get the magnet's in a bulk sort of manner?
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
What you're referring to is generally termed a 'collection.' There's no standard for a collection of MAGNET links - you can take a look at the MAGNET-URI list, occasionally MAGMA comes up as a container format for collections.Stacker wrote:What I want is magnet links on my site, but I do not have the time to click each individual file and copy /paste the link. Is there any software that can gather the magnet for multiple files, for example folder that has an entire album inside?
Once there's a usable standard, DC++ will implement it.