Hi, First off, a big thank you to whomever wrote the Hyperlink Helper! What a great little bundle! I think you have helped the world, as this will make more pages incorporate referencing for claims, and help wikipedia become the top link for information and make links more semantically (in the Tim Berners Lee sense of semantic link) valid
Buglet for you:
Select the text "Cronbach's alpha"
"Lookup selection on wikipedia and link" -->
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha <a href="" title=""></a>
In a plain text document it returns the following
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha (this language is not supported, see for more info)
See if this does the trick. It's a stab in the semi-dark, so if you're willing to test it more extensively than I have time for, it would be appreciated ;).
Thanks, Brett
On Jul 7, 2007, at 11:26 AM, Timothy Bates wrote:
Buglet for you:
Select the text "Cronbach's alpha"
"Lookup selection on wikipedia and link" -->
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha <a href="" title=""></a>
In a plain text document it returns the following
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha (this language is not supported, see … for more info)
Oh, and do let me know if it's a decent solution, I'll make my first SVN commit ;). If there's a more elegant way than a manual gsub, I'm curious. None of the escape routines seem to play nice with the open- uri library, which doesn't like escaped single quotes.
Brett
On Jul 7, 2007, at 12:23 PM, Brett Terpstra wrote:
See if this does the trick. It's a stab in the semi-dark, so if you're willing to test it more extensively than I have time for, it would be appreciated ;).
Thanks, Brett
<Lookup Word : Selection on Wikipedia and link.tmCommand> On Jul 7, 2007, at 11:26 AM, Timothy Bates wrote:
Buglet for you:
Select the text "Cronbach's alpha"
"Lookup selection on wikipedia and link" -->
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha <a href="" title=""></a>
In a plain text document it returns the following
Received exception:bad URI(is not URI?): http://en.wikipedia.org/wiki/Cronbach%5C%27s_alpha (this language is not supported, see … for more info)
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate