Plugin Name: WordPress AutoLink
Plugin URI: http://rudd-o.com/projects/wp-autolink/
Description: Lets you break free from long, absolute URLs in your blog
Version: 0.1.1
Author: Manuel Amador (Rudd-O)
Author URI: http://rudd-o.com/

This plugin has two purposes:

- it lets you insert hyperlinks, content and images in your posts and pages with easy-to-type shortcut URLs, which don't become invalid when you change your WordPress content directory or the permalink structure of your site
- it replaces absolute URLs to content (but not posts or pages) with shortcut URLs, so they do not become invalid in the event that you change your WordPress content directory.

It does these two functions by processing all tags and modifying the href="...", cite="..." and src="..." attributes.

When writing an article, you can specify hyperlinks in several ways:

* Posts:

post:841 or post:the-slug-of-the-post would turn into permalinks for those posts

* Content:

content:images/my-picture.jpg would turn into an absolute URL http://yoursite/your_wp_content_directory/images/my-picture.jpg, using your configured content directory as a base URL.

When posting articles, absolute URLs to files within your WordPress content directory will be automatically replaced with a content: shortcut.

* Note on embedded JavaScript:

	This plugin will perform content: replacement for JavaScript events embedded on tags as well.  This tag, for example:
	<a href="#" onclick="doSomething('content:somefile.jpg');">
	would automatically show up in public pages as:
	<a href="#" onclick="doSomething('http://yoursite/your_wp_content_directory/somefile.jpg');">
	
	the content: shortcut needs to be at the beginning of a JavaScript string for this to work.
	the post: shortcut cannot be made to work, due to the difficulties in separating post slugs and numbers from the rest of the JavaScript.

--------------------------------------------------------------------
    Hey, you!  Yes, you!  Did you like this plugin?
    Try my other plugins!
    http://rudd-o.com/projects/
--------------------------------------------------------------------
