PDA

View Full Version : ed2k links



uNz[i]
01-19-2005, 08:13 AM
Is there some kind of trick to posting them?

The forum seems to insert a rogue space like the one that appears near the end of this ed2k link (http://filesharingtalk.com/vb3/showpost.php?p=976558&postcount=1) or, if it's a clickable link, the space may appear in the clickable text.
No amount of editing will remove the space either; once the submit button is hit, it's back.

Obviously, if an unwanted space gets inserted in an ed2k link, it'll return this error:
Invalid link: This ed2k link is invalid (ill-formed hash)
Am I right in guessing this is caused by ed2k links with lengthy filenames that are exceeding a max character count imposed by the forum?

If so...
1. What is the max amount of characters allowed before a space is inserted by the board?
or
2. Is there a way to abbreviate an ed2k link without breaking it?

Samurai
01-19-2005, 08:34 AM
well i was getting them too, until someone told me the trick. use the http button but change it to the ed2k url. works for me. someone also said that they only work in verified sections but haven't bothered looking.

{I}{K}{E}
01-19-2005, 10:08 AM
Lost - S01E13 - Hearts and Minds.avi (ed2k://|file|Lost.-.S01E13.-.Hearts.and.Minds.avi|366471168|000F2351C0DD46932C71DAB1884EE032|h=4VDNL7ORM5QTOGB75S3LKIKJ6R6MELXR|/)

Quote this to see how I did it ;)

AndrewBarker
01-19-2005, 01:45 PM
the end result should be as below, with no line breaks (the * is a r)

[u*l=
your ed2k link
]
filename
[/url]

uNz[i]
01-20-2005, 04:02 AM
@ Samurai & AndrewBarker: That's exactly how I was doing it already, guys. That blimmin' space just kept inserting itself.

@ {I}{K}{E}: Right, I get it. The trick is to put the ed2k hash in quotes.
[uxl="ed2k hash"]Filename[/url].

Well... I nearly had it right... :lol:
Thanks! :D

But what about ed2k links that aren't clickable like the one I linked to in my first post?
Lots of members just paste the hash without making them clickable...

Samurai
01-20-2005, 04:08 AM
Works for me doing the method I described above without the fancy ' marks in the tags...

Pitch Black - Escape From Butcher Bay DVD (ed2k://|file|hlm-crdc.iso|3367000064|5F888C0DCA97EB73AA2E14CD8DCEC417|/)

uNz[i]
01-20-2005, 04:14 AM
Yeah, but your example has a very short filename.
Some ed2k links have really long filenames, have the spaces removed, and use underscores or full stops instead.
Thats when 'rogue spacing' can cause problems.

Samurai
01-20-2005, 04:23 AM
.xvid.avi|364359680|C4D4C56A7FCC97760A8AA00F82898FE0|/]The 4400 S01E02 (ed2k://|file|The_4400_-_1x02_-_The_New_And_Improved_Carl_Morrissey.(DVD).MEDiEVAL.[www.the-realworld.de)

I see what you mean. This link is FUBAR.

Let me try with IKE's suggestion...

The 4400 S01E02 (ed2k://|file|The_4400_-_1x02_-_The_New_And_Improved_Carl_Morrissey.(DVD).MEDiEVAL.[www.the-realworld.de].xvid.avi|364359680|C4D4C56A7FCC97760A8AA00F82898FE0|/)

Seems it works. I never knew that. What does putting it in quotes do? :ohmy:

uNz[i]
01-20-2005, 04:29 AM
Well, putting link urls in quotes when coding HTML tells web browsers not to mess with the format of what's between the quotes.

I guess this is the same sort of thing, but with bbcode.

Harsh!
01-20-2005, 10:07 AM
Worked for me now...
Thanks for the solution uNz[i]

uNz[i]
01-20-2005, 10:39 AM
Worked for me now...
Thanks for the solution uNz[i]
Well, actually it was {I}{K}{E} who gave us the fix.
I merely pointed out the problem...

Harsh!
01-20-2005, 10:48 AM
Oops...My bad..
Thanks {I}{K}{E}