Posted by Erik on November 6, 2007
I decided today that I wanted to track my calories burned per day on a nice line graph. I did it, and I think I will continue. The total is automatically calculated by the PHP data source. This was made using my Mephisto Plugin for Open Flash Charts.
Posted by Erik on October 6, 2007
Today I found a nice ping list for WordPress. I decided to put it into my copy of the Mephisto Post Pinger plugin. I’m not sure if it works yet, but this post will give it a good test.
Posted by Erik on August 13, 2007
So I made this awesome filter for Mephisto that allows you to easily embed flash videos in your post. May require tweaking if using a non-standard URL root. It’s as simple as this: <macro:flash>/assets/2007/8/13/party.flv</macro:flash> Or, you can make it complicated: <macro:flash width=”640″ height=”480″>/assets/2007/8/13/party.flv</macro:flash> Which ends up like this: Installation Install it from your mephisto directory: [...]
Posted by Erik on April 4, 2007
OK – a little history. I wanted to write this extension some time ago, but couldn’t figure out how to make it work. Apparently, someone has spent the time to find out, and now I have to tear apart the code to find out how they did this. Anyway, this allows you to sign and [...]
Posted by Erik on March 19, 2007
I wanted to be able to click a link in my email to see the comment it talked about. So, I modified Luke Redpath’s Comment Notification Plugin to give that to me. First, I had to do some script/console action: >> s = Site.find_first => #<Site:0xb747e014 @attributes={“current_theme_path”=>”wibbish-mephisto”,#… #… >> s.host=’www.ralree.info’ => “www.ralree.info” >> s.save => [...]
Posted by Erik on March 2, 2007
I wanted some places to get pinged when I posted. I used the mephisto_post_ping plugin, I simply changed the directory structure and class definition around: Directory Structure ./lib/article_ping_observer.rb ./lib/mephisto_plugins/post_ping.rb ./lib/config.rb ./README ./init.rb File Changes init.rb # $Id$ require ‘mephisto_plugins/post_ping’ ActiveRecord::Base.observers << :article_ping_observer plugin.rb module Mephisto module Plugins class PostPinger < Mephisto::Plugin author ‘Mark Guzman’ version [...]
Posted by Erik on February 26, 2007
So, I figured I might as well provide a quick tutorial on how to make Mephisto Plugins currently. Many of the old plugins are broken, so there needs to be a resurgence of plugin development. Here’s the basic structure of the Tag Cloud plugin: mephisto_tag_cloud – init.rb README – lib – mephisto_plugins – tag_cloud.rb As [...]
Posted by Erik on February 25, 2007
Because the French one disappeared off the face of the earth, I took it upon myself to make a tag cloud Liquid plugin. Here’s the scoop. I downloaded Rick’s MeasureMap Plugin and went to town converting it. Add this to your sidebar in your liquid template of choice: {% for tag in site.tags %} {{ [...]
Posted by Erik on January 28, 2007
I made a sweet sidebar today that I’ve been wanting to make for a long time. I usually forget to head over to XKCD, so I wanted a way to have the newest images staring me in the face all the time. Now, thanks to the magic of RSS, they’re right in front of me. [...]
Posted by Erik on January 26, 2007
I’ve been using Graticule for geocoding in a Rails project at work, and I decided I needed to make some changes. So, I turned the Graticule gem into a plugin. It’s available here: ./script/plugin install -x https://modzer0.cs.uaf.edu/repos/hank/code/ruby/graticule_plugin It’s as simple as that. Then just jam this into your environment and change it accordingly: GEOCODERS = [...]