Windows Web Hosting, Web Technologies, etc
Posts tagged Web Technologies
Pimpin’ My WordPress – Part 2
Sep 5th
In this article, I’m going to talk about the Rating system I have on my site. You’ll notice each article has a series of stars listed below the title.
Like this:
These stars are the rating for that article. Each visitor is able to rate an article from 1-5 by simply moving their mouse along the image and clicking. The page reloads the image inline and updates the rating in realtime, no page loads or anything (sounds like AJAX doesn’t it). This is extremely useful and a very easy way for people to leave article feedback without going through all the steps of posting comments, etc.
This particular plug-in was created by GamerZ and is called WP-PostRatings (pretty original, eh?) and be found here.
Installation was straightforward and easy, upload the folders and activate it under the plug-ins feature in wordpress’s admin area (I’m really loving wordpress as a blogging engine).
The trickiest part of using this app is editing your theme. It seems in wordpress the themes are pretty standardized but still very open to the designer and as such many of these plug-ins need to be edited in. The nice thing is that adding them in is always very easy. Pretty much every one of these plug-ins say open your index.php file in your theme in an editor, look for this line
<?php while (have_posts()) : the_post(); ?>
and Add this line anywhere below it:
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
The beauty of this is that just where to put that line is really anywhere. So there’s a lot of trial and error to figure out just where anywhere looks best and each theme it’s going to look better in a different location.
Now the downside to this is if you change themes . . You change your plug-ins as you’ll start fresh and have to go in and add them anywhere again.
Ofcourse it may seem I’m simplifying the install of this plug-in but I’m not it’s an extremely easy to install and use. But it doesn’t stop there. This plugin gets even better. Under options you’ll find this plug-in has two options tabs. One provides your post ratings logs and stats, (I’ve had 6 users vote on 5 different articles so far). Under Ratings Options you can adjust the display type of the ratings image, who is allowed to rate (registered users, guests,etc) and the text Template allowing you to provide feedback to your visitors on various metrics like the number of users that have voted, the percentage, the max rating, etc.
There are additional features I’m not currently ‘Pimpin’ but I’ll be rolling them out soon, like highlighting the highest rated article and most rated article. So help a brother out and rate some articles.
CrazyTalk to Create Flash Videos
Sep 3rd
I’ve been looking at Text to Speech Flash applications trying to find that something that would allow me to dynamically generate a TTS based flash animation and have had zero luck. However, during my search I came across crazytalk from www.reallusion.com. This thing is hilarious. Unfortunately, it wants you to use it’s own ActiveX plugin to get the full effect of the animation and I’m hesitant to install a plug-in or require others to use my plug-in. It would be ideal if they supported direct to Flash animations. However, I did come up with a reasonable substitute.
I used CrazyTalk to create a Video and saved it in MPEG-4 format. Then I used the Riva FLV Encoder (free tool from www.rivavx.com) to convert my AVI to a FLV file and am displaying it below using the FLV plugin tool mentioned earlier in my blog.
The video is a picture of myself and my wife and the audio, is well you’ll figure out who it is. Pay attention the blinking and the mouth movements, this program is really pretty nicely done.
[gv data="http://www.jesscoburn.com/jessclinton.flv"][/gv]
Google Analytics is Free & Open!
Sep 3rd
In case you haven’t heard you no longer need an ‘invite’ or have to wait to get a google analytics account. It’s now open and free to anyone to instantly create an account.
Google analytics is the result of Google’s purchase of urchin, a pretty decent web stats (ok, fine analytics) which previously was pretty pricey if you wanted to deploy it on your site. The downside is code has to be loaded on every page and it then calls a link out to google and stores your data there. Honestly, I enjoy it. When comparing Google’s analytics to our own Smarterstats install, I think you’ll find they both have their advantages and disadvantages, however smarterstats I think provides more in depth information where google provides a nice overview.
If you don’t know where to find google or google analytics, it’s http://www.google.com/analytics
Posting To WordPress From Windows Live Editor
Aug 22nd
This is a test post from within Windows Live Editor. Windows Live Editor is Microsoft’s new swiss army knife of blog editors. It’s actually really impressive. It supports several different types of blogs including Community Server and WordPress, as well as the popular blogging services. Really won’t go into that because there’s plenty of posts on the internet already related to this.
One of the nice things is that it ties directly into IE6 and provides a pretty comprehensive toolbar within IE6, including such features as
- tabbed browsing
- Search the web search box (live.com ofcourse but also provides the ability to search RSS feeds, news, the current website) lots of cool stuff.
- I really can’t go into everything but it’s a very impressive toolset of features and searches.
It also provides a “blog on this page” feature that allows you to blog an article related to the webpage you’re currently on. This is probably the coolest time saver of all (unfortunately, I’m using FireFox these days so it doesn’t save alot of time for me..)
What I like the most is that I can blog from within a nice WYSIWYG editor without mucking up my wordpress plug-ins that aren’t compatible with WYSIWYG editors.
For more details on Windows Live Editor check it out at:
http://windowslivewriter.spaces.live.com/
I’ll want to add that the view in the editor is identical to the view in your browser as posted to the blog. This is true for both community server and wordpress as I tested this prior to switching out of community server and into wordpress. It’s dead on in fact, even better than the WYSIWYG editors in wordpress.
It also supports uploading and scaling images to your blog making it easier to publish images in your blog entries so one of my next posts will hopefully be all cool and stuff with images like kewl guys and grrls..
One downside though, it seems to add some serious overhead to IE6 and atleast for me crashes the crap out of it.
Okay one more addition. The past couple paragraphs were added after the post was added to the blog. I realized I wanted to see what would happen if I edited the posting and added more information after the post was posted and it just let me add it without any problems. Now that’s damn cool.
Embedding Video in WordPress
Aug 20th
I enabled the WP-Extremevideo plugin from: http://www.rossgerbasi.com/2006/01/21/extreme-video-plugin-20/ in my wordpress blog so that now I can edit movies directly into a blog entry. This plugin is great as it allows all types of videos including, YouTube, Google Videos, FLV, Quicktime, etc. An example of a youtube video is shown below. [gv data="http://video.google.com/googleplayer.swf?docId=857396983002186497&hl=en"][/gv] [gv data="cv157ZIInUk"][/gv]