= Wordpress Linked List Plugin
* http://github.com/jonathanpenn/wordpress-linked-list-plugin
== DESCRIPTION:
Have designated posts act like the "Linked List" posts on Daring Fireball (http://daringfireball.net). Set the custom field "linked_list_url" to any desired destination on a post. The permalink then becomes that destination. Affects RSS feeds automatically and provides functions you can use in your template to control the layout if the post is a normal post, or a linked-list post".
== REQUIREMENTS:
* Wordpress 2.7+
== INSTALL/USAGE:
* Copy all the files in this repository to a directory in your "wp-content/plugins" directory. (name it something like "linked_list")
* Navigate to the plugins page in the backend and click "Activate" to enable it.
* When adding a link, just create a normal blog post with a description. Add a custom field "linked_list_url" with the desired destination.
* RSS Feeds will automatically have their link be replaced with the lined_list_url field value.
* Templates can be changed by using the provided functions to check whether your are rendering a linked list item or not. For example:
....the top part of a template....
<?php if (have_posts()): ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (is_linked_list()): ?>
...other HTML formatting...
<a href="<?php the_linked_list_link()">This is a linked list link</a>
...other HTML formatting...
<?php else: ?>
...other HTML formatting...
<a href="<?php the_link()">This is a normal post link</a>
...other HTML formatting...
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
...the rest of the template...
So, basically use the "is_linked_list()" function to check. And then alter your template the way you wish to make it look or act differently.
For more information about customizing wordpress templates, view the "Template Tags" document on the Wordpress Codex (http://codex.wordpress.org/Template_Tags)
== LICENSE:
(The MIT License)
Copyright (c) 2008 FIX
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.