Read about WordPress

Oh, as an Aside: Wordpress 2.3 is looking good. (From the 31st of July)

I’ve been playing around with Wordpress 2.3 Alpha and so far I like it.

Good Things:

  1. I like the new post status “Pending Review” and the ability to sort posts by status. Somone posted pictures here.
  2. Tags are looking good..
  3. A UTW tag importer is built in; of course, I realized this only after I created one.
  4. The “categories” database tables have been retired and everything is tag based (categories are a type of tag similar to the ways pages are just a form of post). I’m almost giddy at the possibilities.
  5. Major features of INAP still work. Pheww.
  6. Not finished yet, but hopefully, searches organized by relevance instead of date will also be released.

Bad things (that will probably be fixed soon):

  1. It seems you can’t add child categories in the July 28 Trunk, but I assume this will be fixed.
  2. No “Manage Tags” page yet.

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.

Sneak Peeks Widget

Updated June 23 2007 — added WP 2.2 Support, removed 2.0 support, added ability to restrict sneak peeks to specific categories.

The Sneak Peaks widget allows you to list some of the upcoming posts on your site to allow visitors to get a glimpse of what is coming and encourage them to return. The widget is very simple, but allows you to customize the title, number of posts shown and the display text of each sneak peek using some simple tags.

You can download it here:
Sneak Peaks Widget 1.7 (Wordpress 2.1+)
Sneak Peaks Widget 1.6 (Wordpress 2.0, 2.1)

Installation is very simple. Just unzip the .zip file and upload the .php file to your plugins/widgets folder. Activate it in your plugins menu and then go to your Presentation>Sidebar Widgets menu and customize to your heart’s content.

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. »