RSS
 

Archive for the ‘Bits Of Code’ Category

Faster Grooveshark Search Add-on for Firefox (auto-suggest feature)

12 Sep

Grooveshark Audio I coded this firefox add-on to query the Grooveshark search site much quicker than their standard search tool add-on.

Grooveshark currently provide a useful search add-on, it installs Grooveshark search to your current list of search engines within Firefox. By searching for an artist or song you are directed to the Grooveshark website and results are displayed.

I re-coded their XML install file to include a live suggest feature pulling related words as you type from Yahoo to speed up your search query.

Examples:

1. The below image shows the default Grooveshark add-on, you have to type in the artist and song title and then click on the magnify button to complete a search: Read the rest of this entry »

 

“Installation Failed” Fix for WordPress 2.8 Upgrade

11 Jun

Great news today that WordPress 2.8 “Baker” is available to upgrade for my blog. I am running a few WordPress blogs that were currently at version 2.7 so took the plunge to upgrade and noticed a few problems along the way. The following is summary of the problems I faced and the work around I used to fix it.

Please note this fix worked for me on 2 upgrades but does not promise a fix for your own problem, these tips may help you but do so at your own risk! Before proceeding with any of the following please back up your site and database!

The Problem

On previous occasions I used the easy”upgrade automatically” button option with no problem but this time around I kept getting this error in the below image:
Installation-Failed-Wordpress2.8

I then de-activated all plugins and re-tried the auto upgrade but still got the same error as the above image, this was not making any sense to me so I searched through the WordPress Forum querying terms such as: Installation Failed, Could not copy file, upgrade failed etc. There was one interesting reply on this thread http://wordpress.org/support/topic/277858?replies=10 that suggested accessing your database using phpMyAdmin and repair your tables.

The Fix

Read the rest of this entry »

 

Google Maps – Animated Directions – Fun!

16 Feb

I have been playing around with Google Maps lately and have come across a few scripts I had from a few months back… This is a bit of fun!

Google Maps Animated Directions - Fun!

[Click Here to try out Google Maps animated directions]

What this does is you input a start location and an end destination in the input boxes, press the start button and watch the journey animated with a small van icon.

It will display your current speed, mph, road names & routes as it plods along call it “sat nav” on the cheap… :)

I have a preset journey leaving from Patrick’s St, Cork, Ireland going to The Square, Blarney, Cork, Ireland but you can change the start and finish locations to your own liking.

What’s also interesting about this map is it will take you across channels e.g. I put Rosslare as start and Swansea as finish and it took me across the proper channel route and then continued on the roads in the UK!

Read the rest of this entry »

 

YouTube have blocked my download tool!

24 Jan

It’s less than 48 hours since I posted my last article “Free YouTube Video Downloader & Path To FLV Finder Tool” and today I noticed that the download tool has stopped working! At first I thought  it was a code glitch, but no I checked everything out and it was clean? then I tried uploading the same scripts to a second server and yes it worked, I even tried the same scripts on a third server and it worked…. and one last shot was to try the scripts on a different domain but same server “Bump!” no joy…. :(

Could it be that YouTube/Google tracked the script page because of the Adsense banner? (maybe)…  and the fact that a heap of trackback links from crap blog scrapers featured the article….. What to do now… Should I remove the scripts and links to it…. I’m not sure?

 

Free YouTube Video Downloader & Path To FLV Finder Tool

23 Jan

Click here for the “YouTube Video Downloader & Path To FLV Finder Tool”

youtube-video-downloader-path-to-flv-finder-tool

Click here for the “YouTube Video Downloader & Path To FLV Finder Tool”

This is a follow up article on my previous post “How to get the direct url path to .flv video files on YouTube for Free” it’s a collection of php scripts mashed together from around the web. It will enable a user to fetch the actual .flv path url to a YouTube video.

If anyone is interested in the code leave a comment request and I will contact you.

Hope this helps you!

Read the rest of this entry »

 

How to get the direct url path to .flv video files on YouTube for Free

13 Dec

I had a reason this week to try and find the actual direct path to an.flv on YouTube, I was trying out the excellent JW Media Player by Jeroen Wijering it supports playback of flv files among a host of other formats heres a quick excerpt from his website

“JW Media Player supports playback of a single media file of any format the Flash Player can handle (MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM playlist (with mixed mediatypes and advertisement possibilities), a wide range of flashvars (settings) for tweaking both behavior and appearance and an extensive, documented javascript/actionscript API.”

The Problem?

While coding the xml playlist file for the player I tried adding a YouTube video but couldn’t find the actual path to the .flv file on YouTube’s servers. YouTube dont allow downloading of the video files and they have the path to the files pretty well hidden. So with a little tinkering around I came up with this trick…

The Solution!

I used this website www.keepvid.com to decode the url from YouTube. First go to YouTube and load a video, copy the url in the address bar it should show something like this:

Read the rest of this entry »

 

How to download and save Bebo video files – the easy way.

03 Dec

How to download and save Bebo video files - the easy way.

I was asked by my friend Shane Supple if it was possible to download a video that was uploaded to Bebo.com.

It is not as straight forward as you may think, having tinkering around with source code etc. I discovered that when you upload a video to Bebo you are actually storing your file on www.videoegg.com so I took the embed source code that Bebo provide which reveals the first part of this tip.

Go to a  page that displays a bebo video, you will know it is a bebo video because their logo is embedded as a watermark over the video then scroll down till you see the “Embed” part of the page.

Example:

download or save Bebo video files - the easy way

Read the rest of this entry »

 

Faster SkreemR Audio Search Add-on for Firefox (auto-suggest feature)

27 Nov

SkreemRUpdate 3rd Dec 07: James over at SkreemR has officially added my Firefox plugin to their 3rd party plugins “Tools” page view the page here

I coded this firefox add-on to query the SkreemR mp3 search site much quicker than the standard search tool add-on.

SkreemR currently provide a useful search add-on, it installs SkreemR search to your current list of search engines within Firefox. By searching for an artist or song you are directed to the SkreemR website and results are displayed.

I re-coded their XML install file to include a live suggest feature pulling related words as you type from Yahoo to speed up your search query.

Examples:

 

Read the rest of this entry »

 

How to Grab a Thumbnail Screenshot Of Any Website

19 Nov

An easy tutorial on how to grab a thumbnail image screen shot of any website. This is an easy way for webmasters to grab a screen shot of their own websites to include them in their portfolio pages, clients websites or just storing the images for later use.

We will use Snap Shots cached thumbnails to retrieve a web page screen shot. You can grab a small 270 x 173 pixel image or a large 427 x 274 pixel image of your website here is do it how to:

In your html page just call the image from within the <img> tag like so:

<img src=”http://shots.snap.com/preview/?url=http://www.kmcgraphics.com&size=small” />

snap shot small

or if you want the larger size type:

Read the rest of this entry »

 
 

Pubs Of Youghal – Google Maps

08 Nov

Pubs Of Youghal - Google MapsThis a Google Maps visual tour of the pubs of Youghal, Co. Cork, Ireland. There are 28 active pubs and bars in the town. Click on markers to view photos, address, telephone numbers, pub info etc.

I created this map just for fun but also to play around with ideas on how to code for Google Maps.

Click here to view the map

If you ever get around to having a drink in all of them don’t forget to mention I sent you there…

 

Youghal Clock Gate – Live Clock Screensaver

07 Nov

Click here to view the “Youghal Clock Gate – Live Clock”

I created this flash live clock from a picture of Youghal Clock Gate. If you keep watching the hands on the clock you will see them move in real time based on your own computer’s time clock, it was an idea I had for a while so if you like it you can download the free screensaver.exe version or the flash movie version from the links below.

You are free to use and share these files also there is no malware, spyware or any nasty stuff in any of these downloads, just a bit of fun.

Click here to view the “Youghal Clock Gate – Live Clock”(new window)

Click here to download the screensaver.exe version (1.25MB)

Click here to download the Flash file version zip (66KB)

Read the rest of this entry »