Read about Plugins

Oh, as an Aside: Tag Management for Wordpress 2.3 (From the 22nd of October)

Now that you have gotten used to WP 2.3 and had time to fiddle around with all those tags, you are probably finding that you need to edit, rename or delete tags. While I was going to write my own Plugins for this for a while, I found the perfect Plugins to do the work for me — and by perfect I mean really good, so I take no responsibility if they eat your dog.

The Simple Tags has been around for a long time, but now it works perfectly with Wordpress tagging. What does it do? Most everything you could want (I could retype the list, but I’m going to borrow it straight from the Simple Tags website):

  • type-ahead input tags
  • auto suggestion of tags
  • tags management (rename, delete, amalgamate, search and add tags, edit tags ID)
  • List of non tagged contents
  • Edit mass tags
  • Possibility to tag pages (not only posts) and include them inside the tags results
  • Related content since common tags
  • Possibility to add related posts inside RSS
  • Dynamic Tag Clouds with colors with Widgets
  • Tags inside your header’s blog
  • Embedded tags ([tags]tag1, tag2[/tags]) for retro compatibility

I use a lot of Plugins and write a lot of Plugins, so the fact that I even use one usually means it is really well made or very useful, but this one is one of the very few that I thought was good enough to promote.

Continue reading. »

INAP 3.0 Progress

Aside from a brief flirtation with a couple payed projects, I’ve been heavily focusing on rewriting the code for INAP 3.0, and it has almost reached the point of a private beta (which means I start running it on this site.) I have selected the new name for INAP 3.0, but I’m not going to reveal it just yet. Here is a small preview of what you can expect from INAP 3.0:

INAP 3.0 is now truly modular with a main Javascript/PHP core that other features hook into to function. This core is easily extensible and the new structure of a main project with many smaller projects will make bugfixes and upgrades less painful, and will allow the user to upgrade the plugin section by section as most changes in the modules won’t effect the core.

For the users:

  1. INAP 3.0 will make upgrades far less painful.

Continue reading. »

Multi-plugin Plugin

Multi-plugin is a very simple script that allows you to add small bits of PHP scripts, such as Wordpress filters, without having to make a plugin for them.

Download Multi-plugin

Installation is as simple as renaming the file to .php, uploading it to your server, activating it, and adding some script to the textbox (for example, I use the following code to remove the nofollow attribute from comments.)

  1. <?php
  2. add_filter('get_comment_author_link', 'aoi_follow');
  3. add_filter('comment_text', 'aoi_follow');
  4. function aoi_follow($link){
  5. return preg_replace('/(<a.*?rel[^>]*)nofollow(.*?)/','${1}${2}',$link);
  6. }
  7. ?>

You can also use the following to add the trailing slash back onto feeds, categories, pages, etc. in Wordpress 2.2+.

  1. <?php
  2. add_filter('user_trailingslashit', 'aoi_slashit',10,2);
  3. function aoi_slashit($string, $type=''){
  4. if($type == 'page' || $type == 'category'|| $type == 'month'|| $type == 'day'|| $type == 'paged'|| $type == 'feed'){
  5. return trailingslashit($string);
  6. }else{
  7. return $string;
  8. }
  9. }
  10. ?>
  11. Use the following to copy and paste the code.

Wordpress Code Escape

Here is another small modified plugin that auto-escapes your code, nicely displays line numbers and uses valid XHTML. This plugin is based off of SemCodeFix, and adds many of the features I wanted in my code plugin.

Download:
Wordpress Code Escape

Directions:
Download the file and save it as a .php file.
Upload to your plugins directory.
Activate it.
You may optionally choose to add the following style information to your theme’s style.css.

  1. .code_child {
  2. font-family:"Courier New", Courier, monospace;
  3. white-space:pre;
  4. width:90%;
  5. background-color: #F4F4F4 !important;
  6. overflow:auto;
  7. border:1px inset;
  8. margin:10px;
  9. }
  10. ol.code_child li{
  11. margin:0;
  12. padding:0 !important;
  13. line-height:100% !important;
  14. margin-bottom: -8px;
  15. margin-bottom: expression(5 +"px");
  16. margin-left: expression(35 + "px");
  17. }
  18. Use the following to copy and paste the code.

Spreadsheet to Table Plugin

This was an extremely quick project to turn spreadsheet data into an XHTML table. The plugin is quite simple to use, just copy some data from a spreadsheet ( or the visible part of an XHTML table) and paste it into a blog post between the tags [table] and [/table] (make sure that columns are tab separated and rows are on their own line). This is a no frills plugin. The first row is used as the column names and is added to a thead tag. Anything can be added to the [table] tag after “table” and it will become the table’s caption. EX [table "This is an example table"]

So this:

  1. [table "This is an example table"]
  2. gf sfg sfcx dfg
  3. asd sd dsfs
  4. xcv fds sgdf
  5. dfg dfg dfg
  6. dfg dfg dfg
  7. [/table]

Becomes:

“This is an example table”
gf sfg sfcx dfg
asd sd dsfs
xcv fds sgdf
dfg dfg dfg
dfg dfg dfg

Installation:

  1. Copy and Paste the contents of the texbox below into a .php file.
  2. Upload and activate.
  1. <?php
  2. /* Plugin Name: Tabeler Plugin URI: http://anthologyoi.com/plugins/ Description: This plugin allows you to copy data directly from a spreadsheet and paste it into your blog, and will automatically create a table for it.

Continue reading. »

Wordpress Character Map and Unicode Encoder

Wordpress Character Map and Unicode Encoder is a simple to use plugin that adds a character map underneath of your edit post box which provides easy access to all unicode entities. It also allows you to convert all special Unicode characters (anything you wouldn’t see on the average American keyboard) to their respective entities and back again. (This feature can also be downloaded as a separate plugin.) The character map supports all Unicode characters (a few sets have been disabled because of their size) and allows you to set your “favorite” characters which will automatically be displayed underneath the edit box.

The most powerful part of this plugin is the Unicode converter. I was able to go back to one of my older posts that had many Japanese and Chinese characters and convert the entire post to valid Unicode in one click. Go view the post and try switching Character encodings in your browser. Nothing changes if you do.

Continue reading. »