{$link_text}"; } $text = preg_replace($tag_pattern_match,$link,$text); } } return $text; } function s3_url_generator_menu() { add_options_page('S3 URL Generator Options', 'S3 URL Generator', 8, __FILE__, 's3_url_generator_options'); } function s3_url_generator_options() { ?>

Amazon S3 URL Generator

Amazon S3 Key
Amazon S3 Secret
Expire (In seconds)

Usage

[S3 bucket=yourbucket text=your link text]the_object_name.txt[/S3]

Read more at my blog - codepolice.net/2008/12/08/generate-expiring-urls-for-amazon-s3-via-a-wordpress-plugin/

This is just a "exprimental" version. If you have suggestions on how to improve this plugin pleace comment in the blog.