<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.234.123.184</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.234.123.184"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/217.234.123.184"/>
		<updated>2026-04-08T09:19:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Ed2k_links_handling</id>
		<title>Ed2k links handling</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Ed2k_links_handling"/>
				<updated>2004-10-30T22:50:29Z</updated>
		
		<summary type="html">&lt;p&gt;217.234.123.184: Added instructions for links-hacked (and presumably other links versions, too) Greetings from Alex &amp;lt;alex@22-music.de&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The way to have [[aMule]] handle your [[ed2k links]] on your favorite WebBrowser will depend on which WebBrowser you use. So, here's a list of mini-HowTos for each of the most popular WebBrowsers.&lt;br /&gt;
Have in mind that everywhere on this document, ''/path/to/ed2k'' should be replaced with ''/usr/local/bin/ed2k'', ''/usr/bin/ed2k'', ''C:\Program Files\aMule\ed2k.exe'' or whatever, depending on your own system's configuration.&lt;br /&gt;
&lt;br /&gt;
As a general idea, in most [http://www.kernel.org Linux] systems, self-compiled [[aMule]]s will install the [[FAQ_ed2k|ed2k]] utility in ''/usr/local/bin/ed2k'', while package-installed [[aMule]]s will install it in ''/usr/bin/ed2k''. As an exception, it is known that [http://www.suse.com SuSE] packages install it in ''/usr/local/bin/ed2k''.&lt;br /&gt;
&lt;br /&gt;
== [http://www.microsoft.com/windows/ie Internet Explorer] ==&lt;br /&gt;
'''by ''[[User:Jacobo221|Jacobo221]]'''''&lt;br /&gt;
&lt;br /&gt;
Go to &amp;quot;Start&amp;quot; -&amp;gt; &amp;quot;Run&amp;quot; and run &amp;quot;regedit&amp;quot; (without quotes).&lt;br /&gt;
Now, in regedit, get to ''HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ed2k\shell\open''&amp;lt;br&amp;gt;&lt;br /&gt;
It could happen that ''ed2k'' didn't exist. In such case, create it by selecting &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Key&amp;quot; and entering ''ed2k'' as value. Then do the same with ''shell'' and ''open''.&amp;lt;br&amp;gt;&lt;br /&gt;
Once inside the ''open'' key, if ''command'' exists, just double click on it, but if it doesn't, go to &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Value&amp;quot; and enter the path to the ed2k application as an ASCII string value, followed by ''&amp;quot;%1&amp;quot;'' (with quotes), so you should end with some value like ''C:\Program Files\aMule2\ed2k &amp;quot;%1&amp;quot;''.&lt;br /&gt;
&lt;br /&gt;
== [http://www.konqueror.org Konqueror] ==&lt;br /&gt;
'''by ''gfdsa'''''&lt;br /&gt;
&lt;br /&gt;
''/usr/kde/3.1/share/services'' you can find it by file names ended with ''.protocol'' kinda ''`find /usr -name &amp;quot;*.protocol&amp;quot;`'' or ''`find /opt -name &amp;quot;*.protocol&amp;quot;`'' or even put ''/'' to path if you want.&lt;br /&gt;
&lt;br /&gt;
If the search was successful, create a file named like ''ed2k.protocol'' in&lt;br /&gt;
the mentioned directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[Protocol]&amp;lt;br&amp;gt;&lt;br /&gt;
exec=/path/to/ed2k &amp;quot;%u&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
protocol=ed2k&amp;lt;br&amp;gt;&lt;br /&gt;
input=none&amp;lt;br&amp;gt;&lt;br /&gt;
output=none&amp;lt;br&amp;gt;&lt;br /&gt;
helper=true&amp;lt;br&amp;gt;&lt;br /&gt;
listing=false&amp;lt;br&amp;gt;&lt;br /&gt;
reading=false&amp;lt;br&amp;gt;&lt;br /&gt;
writing=false&amp;lt;br&amp;gt;&lt;br /&gt;
makedir=false&amp;lt;br&amp;gt;&lt;br /&gt;
deleting=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now just restart [http://www.konqueror.org Konqueror].&lt;br /&gt;
&lt;br /&gt;
== [http://www.opera.com Opera]  ==&lt;br /&gt;
'''by ''thermoman [Marcel Meckel]'', ''ender'' and ''[[User:Jacobo221|Jacobo221]]''&lt;br /&gt;
&lt;br /&gt;
Edit ''/etc/opera6rc'' as root or ''~/.opera/opera6.ini'' as non-root:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[User Prefs]&amp;lt;br&amp;gt;&lt;br /&gt;
TrustedExternalURLProtocols=ed2k&lt;br /&gt;
&lt;br /&gt;
[Trusted Applications]&amp;lt;br&amp;gt;&lt;br /&gt;
ed2k=/path/to/ed2k ed2k://%u&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or an easier way:&amp;lt;br&amp;gt;&lt;br /&gt;
open ''Tools-&amp;gt;Preferences-&amp;gt;Paths and Programms-&amp;gt;Add...''&amp;lt;br&amp;gt;&lt;br /&gt;
protocol = ed2k&amp;lt;br&amp;gt;&lt;br /&gt;
choose the path: ''/path/to/ed2k''&lt;br /&gt;
&lt;br /&gt;
'''[http://www.opera.com Opera] 6''' doesn't pass complete URL to external programs; only URL without protocol. The way to walk around this follows.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;In [http://www.kernel.org Linux] or some other Unix-like flavour&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Create ''amule_submit.sh'' with this content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#!/bin/sh&amp;lt;br&amp;gt;&lt;br /&gt;
/path/to/ed2k &amp;quot;ed2k://$1&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change ''ed2k=/path/to/ed2k ed2k://%u'' with ''ed2k=/path/to/amule_submit.sh  ed2k://%u''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;In Windows systems&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Crate ''amule_submit.bat'' with this content:&lt;br /&gt;
&lt;br /&gt;
''X:\path\to\ed2k.exe &amp;quot;ed2k://%1&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
Change ''ed2k=/path/to/ed2k ed2k://%u'' with ''ed2k=X:\path\to\amule_submit.bat ed2k://%u''&lt;br /&gt;
&lt;br /&gt;
== [http://www.mozilla.org Mozilla] 1.7 (or later) &amp;amp; [http://www.mozilla.org/products/firefox Firefox] 0.9 ==&lt;br /&gt;
'''by ''GhePeU'''''&lt;br /&gt;
&lt;br /&gt;
Mozex doesn't work anymore with [http://www.mozilla.org Mozilla] 1.7 and [http://www.mozilla.org/products/firefox Firefox] 0.9. There is an alternate method that seems to be working with both of them:&lt;br /&gt;
&lt;br /&gt;
*Remove [http://mozex.mozdev.org/installation.html MozEx] if installed or at least remove the ed2k input from it (only if [http://mozex.mozdev.org/installation.html MozEx] is installed)&lt;br /&gt;
&lt;br /&gt;
*Insert ''about:config'' in the address bar&lt;br /&gt;
&lt;br /&gt;
*Right click on the list, select '''New''', then '''Boolean'''; insert ''network.protocol-handler.external.ed2k'' as '''Preference Name''' and ''true'' as '''Value'''&lt;br /&gt;
&lt;br /&gt;
*Now another right click, select '''New''' and '''String'''; insert ''network.protocol-handler.app.ed2k'' as '''Preference Name''' and ''/path/to/ed2k'' (or path to where the file is installed on you system) as '''Value'''.&lt;br /&gt;
&lt;br /&gt;
== [http://www.mozilla.org Mozilla] 1.3 to 1.6 &amp;amp; [http://www.mozilla.org/products/firefox Firebird] v0.6 &amp;amp; [http://www.mozilla.org/products/firefox Firefox] v0.8  ==&lt;br /&gt;
'''by ''DeltaHF'''''&lt;br /&gt;
&lt;br /&gt;
Go to [http://mozex.mozdev.org/installation.html MozEx's WebPage] and install the ''mozex-1.07.xpi'' file.&amp;lt;br&amp;gt;&lt;br /&gt;
Restart your [http://www.mozilla.org Mozilla]/[http://www.mozilla.org/products/firefox FireBird]/[http://www.mozilla.org/products/firefox FireFox], go to Edit -&amp;gt; Preferences -&amp;gt; mozex -&amp;gt; ED2K and set it to ''/path/to/ed2k %r''&amp;lt;br&amp;gt;&lt;br /&gt;
Click '''OK''' and you're done.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note for Firefox 0.8 users&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Instead of Edit -&amp;gt; Preferences -&amp;gt; mozex -&amp;gt; ED2K, you'll find [http://mozex.mozdev.org/installation.html MozEx]'s preferences at Edit -&amp;gt; Preferences -&amp;gt; Extensions -&amp;gt; mozex -&amp;gt; Options -&amp;gt; ED2K&lt;br /&gt;
&lt;br /&gt;
== [http://www.mozilla.org Mozilla] 1.2.1 or earlier  ==&lt;br /&gt;
'''by ''rpokorny [R. Pokorny]'''''&lt;br /&gt;
&lt;br /&gt;
1) Go to [http://protozilla.mozdev.org/download.html Protozilla's WebPage]&amp;lt;br&amp;gt;&lt;br /&gt;
Choose the version fitting your [http://www.mozilla.org Mozilla]-version and click on '''Install'''. It will auto-install [http://protozilla.mozdev.org Protozilla].&amp;lt;br&amp;gt;&lt;br /&gt;
Now close [http://www.mozilla.org Mozilla] completely.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Notes for [http://www.kernel.org Linux] and other Unix-like systems users&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
- You must have write permission to the [http://www.mozilla.org Mozilla] installation directory. If you've installed [http://www.mozilla.org Mozilla] in ''/usr'', you'll have to be '''root''' probably.&amp;lt;br&amp;gt;&lt;br /&gt;
- The downloadable precompiled version of [http://protozilla.mozdev.org Protozilla] apparently does '''not''' work with [http://www.debian.org Debian]'s [http://www.mozilla.org Mozilla] packages. It '''does''' work together with the precompiled version of 1.2.1 available at [http://www.mozilla.org Mozilla's WebPage] for example (or you can build both [http://www.mozilla.org Mozilla] and [http://protozilla.mozdev.org Protozilla] yourself).&lt;br /&gt;
&lt;br /&gt;
2) This step is only necessary if you had to start [http://www.mozilla.org Mozilla]/[http://www.mozilla.org/products/firefox FireBird]/[http://www.mozilla.org/products/firefox FireFox] as '''root''' in step 1.&lt;br /&gt;
&lt;br /&gt;
As '''root''' do:&lt;br /&gt;
''cp -r /root/.mozilla/PROFILENAME/RANDOM.slt/protozilla/ /home/USERNAME/.mozilla/PROFILENAME2/RANDOM.slt/''&lt;br /&gt;
&lt;br /&gt;
This will have copied protozilla-configuration from root's home directory to user's home directory.&lt;br /&gt;
&lt;br /&gt;
''cd /home/USERNAME/.mozilla/PROFILENAME/RANDOM.slt/&lt;br /&gt;
chown -R YOURUSER.YOURGROUP protozilla''&lt;br /&gt;
&lt;br /&gt;
This will have changed file-ownership parameters in user's files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''USERNAME:''' Name of your normal, non-root user.&amp;lt;br&amp;gt;&lt;br /&gt;
'''PROFILENAME:''' Name of the profile you'll want to use.&amp;lt;br&amp;gt;&lt;br /&gt;
'''RANDOM:''' Random alphanumeric string, autogenerated by mozilla.&amp;lt;br&amp;gt;&lt;br /&gt;
'''YOURUSER, YOURGROUP:''' User and group of your normal user.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) Setup a protocol-handler for [[ed2k links]]:&amp;lt;br&amp;gt;&lt;br /&gt;
''cd ~/.mozilla/PROFILENAME/RANDOM.slt/protozilla/protocol''&lt;br /&gt;
&lt;br /&gt;
create a file called ''ed2k.cmd'' with the following content:&lt;br /&gt;
&lt;br /&gt;
''ed2k ed2k:$URI_DATA''&lt;br /&gt;
&lt;br /&gt;
(The file doesn't need to be executable).&lt;br /&gt;
&lt;br /&gt;
Now restart [http://www.mozilla.org Mozilla].&lt;br /&gt;
&lt;br /&gt;
== [http://xray.sai.msu.ru/~karpov/links-hacked/ links-hacked*] ==&lt;br /&gt;
(* probably this will work for the usual links and/or elinks, too)&lt;br /&gt;
&lt;br /&gt;
add to url.c behind the lines about telnet and tn3270:&lt;br /&gt;
  --snip&lt;br /&gt;
  {&amp;quot;ed2k&amp;quot;, 0, NULL, ed2k_func, 0, 0, 0},&lt;br /&gt;
  --snap&lt;br /&gt;
&lt;br /&gt;
add to links.h behind the definitions of /* mailto.c */:&lt;br /&gt;
  --snip&lt;br /&gt;
  void ed2k_func(struct session *, unsigned char *);&lt;br /&gt;
  --snap&lt;br /&gt;
&lt;br /&gt;
add to mailto.c at the end:&lt;br /&gt;
  --snip&lt;br /&gt;
  void ed2k_func(struct session *ses, unsigned char *url)&lt;br /&gt;
  {&lt;br /&gt;
  tn_func(ses, url, options_get(&amp;quot;network_program_ed2k&amp;quot;), TEXT(T_ED2K), TEXT(T_BAD_ED2K_URL));&lt;br /&gt;
  }&lt;br /&gt;
  --snap&lt;br /&gt;
&lt;br /&gt;
add to options_register.c behind telnet and tn3270:&lt;br /&gt;
  --snip&lt;br /&gt;
  register_option_char(&amp;quot;network_program_ed2k&amp;quot;, TEXT(T_ED2K_PROG),NULL,2);&lt;br /&gt;
  --snap&lt;br /&gt;
&lt;br /&gt;
add to intl/*.lng behind &lt;br /&gt;
  &amp;quot;T_TN3270_PROG&amp;quot;: T_ED2K_PROG, &amp;quot;ed2k program&amp;quot;, (or whatever that is in your language), behind&lt;br /&gt;
  &amp;quot;T_TN3270&amp;quot;: T_ED2K, &amp;quot;ed2k&amp;quot;, and behind &lt;br /&gt;
  &amp;quot;T_BAD_TN3270_URL&amp;quot;: T_BAD_ED2K_URL (I guess you've got the picture)&lt;br /&gt;
&lt;br /&gt;
If you want to automatize this stuff, execute the following commands:&lt;br /&gt;
  cd intl&lt;br /&gt;
  for l in *.lng; do&lt;br /&gt;
    cp $l $l.bak&lt;br /&gt;
    cat $l.bak | sed -e &amp;quot;/T_TN3270_PROG*/aT_ED2K_PROG\, \&amp;quot;ed2k program\&amp;quot;\,&amp;quot; \&lt;br /&gt;
     -e &amp;quot;/T_TN3270,\ */aT_ED2K\, \&amp;quot;ed2k\&amp;quot;\,&amp;quot; \&lt;br /&gt;
     -e &amp;quot;/T_BAD_TN3270_URL*/aT_BAD_ED2K_URL\, \&amp;quot;Bad ed2k url\&amp;quot;\,&amp;quot; &amp;gt; $l&lt;br /&gt;
  done&lt;br /&gt;
  &lt;br /&gt;
Anyway, run afterwards before recompiling links-hacked:&lt;br /&gt;
  ./synclang&lt;br /&gt;
  cd ..&lt;br /&gt;
&lt;br /&gt;
Now you can compile with&lt;br /&gt;
  ./configure (add your favourite options here) &amp;amp;&amp;amp;&lt;br /&gt;
  make &amp;amp;&amp;amp;&lt;br /&gt;
  make install&lt;br /&gt;
&lt;br /&gt;
Because links somewhat malforms the urls, we need a small bash script handler:&lt;br /&gt;
  cat &amp;gt; /usr/bin/ed2k4links.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  ed2k $(echo &amp;quot;ed2k://$1&amp;quot; | sed s/_/\|/g)&lt;br /&gt;
  EOF&lt;br /&gt;
  chmod a+x /usr/bin/ed2k4links.sh  &lt;br /&gt;
&lt;br /&gt;
Do not forget to setup links (Options-&amp;gt;Network Options-&amp;gt;Mail and Telnet Programs) to call our ed2k4links.sh for ed2k links:&lt;br /&gt;
  ed2k4links.sh %&lt;br /&gt;
&lt;br /&gt;
Attention: The Percent Mark is important! Now links should work with ed2k links.&lt;br /&gt;
&lt;br /&gt;
==  More information  ==&lt;br /&gt;
&lt;br /&gt;
If the above information didn't help you enough, take a look at [http://www.amule.org/amule/ed2k.php http://www.amule.org/amule/ed2k.php]&lt;/div&gt;</summary>
		<author><name>217.234.123.184</name></author>	</entry>

	</feed>