Thread: download link
View Single Post
  #2 (permalink)  
Old October 25th, 2004
arne_bab's Avatar
arne_bab arne_bab is offline
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Yay, seems I first have to correct you: Magnet-Links have nothing to do with G2 specifically, other than that they are usable with G2, that is.

A magnet link is some kind of a universal resource-link, which at the least has to include a sha1-hash, and a file-name or directa direct resource link.

You can create those with Phex by using the hash, you find in your shared-files file.

A magnet link is structured as follows:

<a href="magnet:?xt=urn:sha1:HASH&dn=FILE-NAME">link-name</a>

You can add:

&xs=http://YOUR-IP:PORT/uri-res/N2R?urn:sha1:HASH
Comment: you can also use dyndns-servies instead of YOUR-IP, but you have to supply teh port your Program uses.

&as=http://HTTP-URL-TO-THE-FILE

That's it for starters (tehre are some smaller quirks still).

The file-name will be used for searching for the file on the GNet, so it is best to use the original file-name.

The HASH is the hash associated with your shared files.
Best wishes,
Arne
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote