Introducing QuickLink

QuickLink is a plugin for MovableType which allows users to manage a set of words for which they would like links automatically generated. Build your own QuickLink rules to link to commonly referred to websites, blogs, terms, or anything you can imagine. Users are encouraged to contribute their own recipes, like one recipe which shows how to convert any Wiki-style CamelCase word to the corresponding entry in Wikipedia.

2 TrackBacks

QuickLink from Movable Type Plugin Directory on December 13, 2004 7:47 PM

See the QuickLink Recipes for more ideas on what you can do with this tool.... Read More

Patch: MT 3.15 from Solid Wall of Code on February 22, 2005 1:15 PM

Patches for MovableType 3.15 Read More

35 Comments

You've got a typo :P

"The latest version of BookQueueToo can"

Also how about a PHP port!

It seems that half of the readme for this file is for BookQueueToo. I also tried to install it, but I'm getting some CMS error.

Uhm, help? :)

Any chance of an FTP installation guide (you know, for losers (like, you know, me))?

Note from Byrne: here ya go.

do you have this in a zip file?

Note from Byrne: Your wish is my command.

Does this work with dynamic publishing?

Note from Byrne: It should. Absolutely.

Can you provide instructions for a Windows/IIS server ?

I dropped the directory into the plugins directory and it does not work correctly. If I move the MTPlugins directory to the lib directory under MT - then it shows up - but has a file link instead of a url to access the quicklinks.

I had a hard time getting it to work at first.

Perhaps you should make it clear that you need to keep the two QuickLink folders nested?

ETC

Excuse my last message, I was mistaken about the nested folders.

Anyway... I did everything to the letter but sill cannot get QuickLink to hot link on my MT platform. The text is there, but no link.

Folder renamed as instructed.

Getting no error message either.

The "Edit My QuickLinks" URL on my blogs Main Menu is trying to use a local path to the mt-quicklink.cgi file instead of a virtual web path.

Example: - it's showing - http://my.blog.com/C:/Inetpub/wwwroot/myblogdir/plugins/quicklink/mt-quicklink.cgi?&from=bloghome;blogid=1

Any quick fix or am I going to have to pry into MT for the solution...?

Thanks for this terrific plugin. It makes glossary-making a breeze, and saves a tremendous amount of time for me and my fledgling site.

Couple of comments.

  1. I experienced some strange behaviors with the automatic notifying option on (where new posts send an update ping to blo.gs and weblogs.com and technorati.com). For some reason, your plugin would act recursively, wrapping the pattern in the appropriate link tag, and then wrapping the entire thing in the same link tag. Odd! Any thoughts on that?

  2. I would love to see an option for each pattern that lets you set whether or not the resulting link would be standard or include the target="_blank" for opening in a new window.

Thanks again. This plugin is really great.

C.

Ah...one other request. Most of my entries make use of the extended entry box, but this plugin only seems to work with text entered in the entry body box.

Any way we could expand the functionality to the extended entry box?

Man, if you can get the new window option and the extended entry box option working, some grateful user just might send you that Doyle Brunson book. :)

TIA,

C.

Maybe I did something wrong, but in following the normal install guide (README.txt linked above and also packed in the tarball), I put the files in the wrong place.

It seems to me that this line: > cp -a QuickLink-VERSION/* $MT_HOME/plugins

needs to be changed to this: > cp -a QuickLink-VERSION/* $MT_HOME/plugins/QuickLink

This seems to be fixed already elsewhere on the site.

I'm having some trouble: according to logs, I get a "Premature end of script headers" error, and QuickLinks doesn't work. Permissions appear correct, and enabling debugging doesn't give more information.

Help?

I'd have to agree that the ability to use the QuickLinks in the extended entry would be great and perhaps optionally for the comment body also?

p.s. You have a bunch of mismatched header tags in the install.php file, and hence ever increasing red text in browsers that care about this kind of thing (ie, Opera). ;-)

Hmmm, I've installed it on my Win32 Apache 2 server using file copying etc, but the damned thing doesn't work, when I put the files where I think they go and click on "Edit by quicklinks" I get this error message...

"An error occurred: Can't locate MTPlugins/QuickLink.pm in @INC (@INC contains: W:/usr/users/thatfilmsite/cgi-bin/plugins/extlib W:/usr/users/thatfilmsite/cgi-bin/plugins/lib ./lib W:/usr/lib W:/usr/site/lib .) at W:/usr/users/thatfilmsite/cgi-bin/plugins/mt-quicklink.cgi line 35."

Can someone provide me with a directory structure of what goes where, thanks in advance.

Stew

The plugin shows up in my active plugins, but when I click on "Edit my Quicklinks" i receive the following error:

An error occurred: Bad ObjectDriver config: Your DataSource directory ('./db') does not exist.

Any help would be greatly appreciated.

Thanks Mahi

I agree with Eduardo... I ALSO get...

"http://my.site.com/w:\usr\users\thatfilmsite\cgi-bin\plugins\quicklink\mt-quicklink.cgi?&from=bloghome;blogid=1"

well similar, I've installed mine to Apache 2.0.52...

Hey, how about a PHP port for Wordpress. This plugin is great!

Nice work; quite useful.

You may want to change the installation instructions a little: I've installed the static MT bits outside the cgi-bin directory so the QuickLink style sheet should go into that directory and not under cgi-bin or what you see won't match the screenshot on this page :)

Also, a patch to expand extended entry text: add this at the end of quicklinks () in QuickLink.pl

my $ext_text = $obj->{column_values}->{text_more};
$ext_text = process_quicklinks($ext_text,$blog_id);
$obj->{column_values}->{text_more} = $ext_text;

Hi all!

I have a litlle bit problem here: 1) Where i can get the HTML:: Template? It is listened in your Prerequisities 2) I can see the "Edit My QuickLinks" link and can add "pattern" and "link", but it doesn't works! So, i rebuilt the entries, but it stll doesn't works! Where is the error?

Thank you for your MT-plugin. I tried it but it seems it replaces a string again and again when I save it.

Detail: string to replace: php url: http://www.php.net

Post: I like php

Post after save: I like php

Post after resave: I like php

and so forth. Do I have to do regular expressions to suppress that?

This looks like a cool plug in. I don't know how to use regex, but I would like to have automatic links when I type in certain words or phrases in my posts.

I'm curious about what the 'Global Search and Replace' check box does. Also, I assume that if I'm just turning 'salguod' into salguod, that I would leave the 'regular expression' box unchecked?

Thanks.

I've installed QuickLink and do not get any error messages when using it. Unfortunately, nothing seems to happen when I use it, either. After a little troubleshooting I think I've identified a symptom:

When I click on 'edit my quicklinks' the destination identifies itself as: Main Menu > Main Menu > (My Blog Name) > QuickLinks

Is this dual main menu causing the plugin trouble in identifying where my blog is when it goes to scan for patterns (it doesn't match the screen shot)? If so, how can I fix it? If not, any idea what the problem might be? Thanks!

Is there an elegant way to do undecorated links (i.e. without an underline) such as Autolinks for Postnuke does?

Thanks!

This plugin has great promise, but the installation was anything but straight-forward, and there are a few quircks I did not see addressed in the comments above.

Might I suggest the following:

  1. Update your install documentation to indicate the proper install directories (/plugins/Quicklink ... not directly under /plugins) as stated above by Craig.

  2. Provide some basic Recipies on your site. For example, how to create a Quicklink for "ABC" to "http://www.abc.com". I had to figure it out via trial and error and I STILL don't think I have it right.

  3. As posted by Kir above, how do you keep the Quicklink from recursively replacing after each publish? I end up with multiple nested anchor tags.

Then again, perhaps there is someplace that has some actual documentation? I could not find any on this site. If there is documentation somewhere else, please point me to it.

This is a great concept, but the implementation/documentation at this point leaves quite a bit to be desired.

I hope you get it all worked out.

Cheers.

Could you PLEASE update the readme file to include the proper copy command of "cp -a QuickLink-1.04 $MT_HOME/plugins/QuickLink"

It took me forever to install it because it was wrong in the readme file.

I've uploaded this plugin to the 3.2 beta version and get the following error when I try to view the admin interface:

Can't locate MT/PluginData.pm in @INC (@INC contains: /kunden/homepages/23/d89651489/htdocs/blog-1.04/extlib /kunden/homepages/23/d89651489/htdocs/blog-1.04/lib ./lib /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at lib/MTPlugins/QuickLink.pm line 16. BEGIN failed--compilation aborted at lib/MTPlugins/QuickLink.pm line 16. Compilation failed in require at /kunden/homepages/23/d89651489/htdocs/blog//plugins/QuickLink-1.04/mt-quicklink.cgi line 35.

Any suggestions, ideas?

I get:

Can't call method "param" on an undefined value at lib/MTPlugins/QuickLink.pm line 460.

Nice work; quite useful.

You may want to change the installation instructions a little: I've installed the static MT bits outside the cgi-bin directory so the QuickLink style sheet should go into that directory and not under cgi-bin or what you see won't match the screenshot on this page :)

Also, a patch to expand extended entry text: add this at the end of quicklinks () http://amorphis.tuonela.info

my $exttext = $obj->{columnvalues}->{textmore}; $exttext = processquicklinks($exttext,$blogid); $obj->{columnvalues}->{textmore} = $exttext;

hi there.

i like the idea of your plugin very much, but after trying it out it doesn't seem to be ready for production use.

here are my suggestions/observations:-

  • the links are placed into the entry text each time the entry is saved. this causes a problem, creating nested <A> tags each time the entry is updated. i think a better way would be to modify the actual pages upon rebuild (or modify the output dynamically), leaving the original text intact.

  • i'm guessing leaving the 'global search & replace' unchecked should only quicklink the first instance of the pattern, but it doesn't do anything.

thanks for listening, and thanks for the effort.

actually, you don't need to patch anything to get this to work with extended entry text. just use the quicklink tag parameter in MTEntryMore. see my trackback ping for some details on that. :)

leaving global search & replace unchecked works fine with the quicklink global filter. i wonder how i missed it during the pre_save callback.

The plugin is adding an extra slash mark in the link to the application:

http://dev.wbiw.com/mt//plugins/QuickLink/mt-quicklink.cgi?;from=bloghome;blogid=10

I'm also still getting an error when I take it out of the link

Thoughts?

i noticed that initially created quicklinks (at least the non-regex ones) won't work until it's been edited at least once.

i also noticed that regex quicklinks created are not saved as regex.

to the other commenters who've asked, you can extend the quicklink functionality to extended entries by adding the quicklink="1" parameter to MTEntryMore. i think this should work with other types of 'bodies' as well.

Are the provided instructions and files supposed to work as is for a Windows-hosted MT? I followed the instructions. They're easy enough. Initially, MT reported an error finding QuickLink.pm. It wanted a copy in extlib\MTPlugins. I copied one there. Next, MT shows the plug-in as active with no link. I go to the CGI from the address bar, and it's looking for PluginData.pm only under the plugins\quicklink\lib and plugins\quicklink\extlib directories. I hardcode the correct path (I'm not a PERL programmer, but I can manage that) into the @INC and get to the interface. The URLs generated on the two left sidebar links are whacked. They switch mid-URL from forward slashes to backward slashes including one substring of "\/" and one repetition of the plugins/quicklink path. If anyone has a list of edits to the pertinent files to fix these paths, it would be much appreciated.



Recent Comments

  • Are the provided instructions and files supposed to work as is for a Windows-hosted MT? I followed the instructions. They're easy enough. Initially, MT reported an error finding QuickLink.pm. It wanted a copy in extlib\M...

  • i noticed that initially created quicklinks (at least the non-regex ones) won't work until it's been edited at least once. i also noticed that regex quicklinks created are not saved as regex. to the other commenters wh...

  • The plugin is adding an extra slash mark in the link to the application: http://dev.wbiw.com/mt//plugins/QuickLink/mt-quicklink.cgi?;from=bloghome;blogid=10 I'm also still getting an error when I take it out of the lin...

  • leaving global search & replace unchecked works fine with the quicklink global filter. i wonder how i missed it during the pre_save callback. ...

  • actually, you don't need to patch anything to get this to work with extended entry text. just use the quicklink tag parameter in MTEntryMore. see my trackback ping for some details on that. :) ...

Close