Put Code Snippets in a WordPress Blog

I’ve installed WP-Syntax, a great plugin for WordPress that lets you add code snippets to your blog posts without losing all the formatting. You can use all manner of languages and even include line numbers if you want. Here’s a snippet from one of my math worksheet makers written in Perl: 5 use List::Util shuffle; # Use the Shuffle moduleuse List::Util shuffle; # Use the Shuffle module 166 167 168 169 170 171 # define […]

Recent Posts in Category – WordPress Plugin

Hot on the heels of my ‘If Older Than’ plugin for WordPress, I’ve put together another little script that returns a list of recent posts from a category you specify. So, for example, if you want to show a list of the last 10 posts from your Japan Food category, now you can. On the right you can see a screenshot of how I’m using it on one of my other websites. It’s especially suited […]

If Older Than – WordPress Plugin

It’s been a while since I made a WordPress plugin, but today I had the urge to put some ads on my blog, in places where my regular readers won’t see them. I could have used a plugin such as the Shylock Adsense Plugin, but it has far more options than I need. Instead, I made a little script to do this: My plugins are WordPress Old Skool NO fancy customization options in the admin […]

JapanSoc Web Widget

I really wanted to make some kind of gizmo to display the JapanSoc RSS feed anywhere online, and was thrilled to find a website that made this process extremely easy. So easy in fact, even Michael McKinlay has done it! Thanks to WidgetBox.com, anyone with an RSS feed can make a “Blidget” in just a few minutes, and that’s what I did for JapanSoc. What does it do and where does it go? As you […]

JapanSoc Toolbox

Welcome to the JapanSoc Toolbox, a page full of resources to help you get the most out of Japan’s fastest growing social bookmarking site for the foreign community. I’ve listed them in order of release, with new additions added as they become available. Please let me know if any of them are broken. The JapanSoc Bookmarklet – Submit while you surf The bookmarklet is added to either your browser’s bookmarks or links bar. You can […]

JapanSoc Voting Button for Blogs

By now you’ll know that I’ve started a social bookmarking site for everything Japan-related. If you’ve registered for JapanSoc and write about Japan on your own blog, then you’ll probably want this Digg-style voting button on your site. Update: The WordPress plugin for this button is now available directly from WordPress. Read about the updates here: New JapanSoc it! Button. April 14th, 2009. What does the button do? It allows your readers to easily submit […]