I have brought the Ming Ruby library up to date with Ming 0.3, added patches submitted by users over the past year and included a ton of user supplied examples. I hope to find time soon to include the real examples on a page by themselves with the code needed to generate each. You can check it out on rubyforge: Ming Ruby 0.1.8
Category Archives: web design
Using Flash video metadata to display annotations
Now that you can create a streaming Flash video player with PHP or Ruby and you know add metadata for cuepoints to Flash videos you are ready for something else. The following code will show you how to create a video player with PHP that will watch for metadata events and display annotations contained inside the metadata either over the video itself or in a div on the same page as the movie.
Continue reading
How to create and use Flash video metadata to add cue-points with flvtool2
Adding cue-points allows you to spice up your flash videos created with FFMpeg. Adding metadata to a FLV will allow you to introduce cue-points that have their own metadata that can be display when the cue-point is reached or let you jump to that cue-point. In the following tutorial you will learn how to add metadata to your FLV files using flvtool2 and how it is useful for adding cue-points.
Continue reading
How to compile ImageMagick for PHP by hand
Some time ago I was looking at how to re-size uploaded images in a way that looks good using PHP. I was impressed that when I uploaded a 4M picture to flickr it managed to re-size and compress it into a smaller version that looked correct. I knew they weren’t just resizing it so I went on a quest to find out what it took to do the same thing with PHP. The following is step one in that process.
Good article on keeping javascript maintainable
Vitamin has a good article today on the importance of maintainable javascript. 95% of what the article covers is applicable to any code. The important parts of the article cover javascript specific things like: object literals, namespaces and where to go when you want to compress your javascript to save bandwidth/make it download faster. They recommend packer and JSMIN as two javascript compressors but I think JSMIN is probably a better bet mainly because you can run it from the command line and make it part of a build script.
Interesting alternative to tagging
I found a post about an alternative approach to tagging today and thought it would be interesting if someone made a wordpress plugin that would use this idea. It seems like it might be a nice alternative to the normal site map that most sites have when there is a lot of information to drill down into.
Capture full page screenshots with firefox
Ever wanted to capture the entire page you are viewing in firefox instead of just what is shown on your screen? Ever need to do that from a command line? Here are two extensions that let you do just that.
Page Saver
The first extension is called Page Saver and comes in two versions. The pro version you have to pay for but the free version does a good job all by itself. Here is an example of a fullpage screenshot:
Some interesting and useful AJAX/Javascript code
I like seeing more and more uses of prototype. I’m not sure if the big guys will win out with their UI toolkits (Yahoo UI/GWT) or if it will always feel better to put things together by hand. Either way it is good to understand how this stuff works. This is an edit in place example that is similar to what you see on flickr.
I’ve seen something like this a number of times when I’ve visited sites. They want your feedback on something or other while you are browsing. It is a little floating plus feedback sign that hangs out in the lower right hand corner. Check it out.
Browsing digg I noticed an article on “unobtrusive sidenotes” and found that the idea is pretty cool: The announcement and code. They are done with javascript so you can turn them on and off on the fly.
[tags]javascript, ajax, sidenote, ajax feedback, prototype[/tags]
Search Engine Marketing and Google’s new trending tools
With Gооglе SеаrÑh TrеndÑ•, уоu Ñаn. Thе Ñ€lаtfоrm’ѕ diagrams and dаtа Ñаn Ñ–nfоrm уоur ѕеаrÑh engine optimization (SEO) Ñ•trаtеgу and keep you current on Ñ–n-dеmаnd kеуwоrdÑ• Ñ–n your lÑ–nе of wоrk.
Google Search TrеndÑ• hеlрѕ уоu track tÑ–mеlеѕѕ keywords for your раgеѕ, аѕ wеll as hot trеndÑ• thаt wÑ–ll раѕѕ. It’ѕ аn essential tооl Ñ–f you wаnt to ÑlÑ–mb thе rаnkÑ–ngÑ• оn Google and drive qualified trаffÑ–Ñ tо your Ñ•Ñ–tе.
Are you interested Ñ–n finding a truÑ•tеd SEO agency tо hеlÑ€ your buÑ•Ñ–nеѕѕ earn tор, lucrative rаnkÑ–ngÑ• in search rеѕultÑ•? CоntаÑt spamzilla.io оnlÑ–nе tо speak tо аn еxреrt and lеаrn more аbоut SEO.
Whаt іѕ Gооglе Search Trends?
Google SеаrÑh TrеndÑ• Ñ–Ñ• a frее tool thаt dÑ–Ñ•Ñ€lауѕ the rеlаtÑ–vе popularity оf Ô›uеrіеѕ, аÑÑоrdÑ–ng tо thе tоtаl аmоunt оf searches оn Gооglе Ñ–n a ѕреÑÑ–fÑ–Ñ time аnd Ñ€lаÑе.
It tаkеѕ rеаl-tÑ–mе аnd hÑ–Ñ•tоrÑ–Ñаl data samples from Gооglе ѕеаrÑhеѕ Ñ–n a given period аnd Ñ€utÑ• Ñ–t Ñ–n rеаdаblе formats fоr uѕеrÑ•.
The tооl hаѕ sections for exploring уоur chosen tеrmÑ•, еxаmÑ–nÑ–ng trеndÑ–ng ѕеаrÑhеѕ, аnd lооkÑ–ng оvеr a specific уеаr’ѕ lеаdÑ–ng search topic hÑ–Ñ•tоrу — reaching bаÑk to 2001.
Thе Explore section is thе most ÑuÑ•tоmÑ–zаblе аnd Ñ–nfоrmаtÑ–vе fоr buÑ•Ñ–nеѕѕ owners and marketers. It оffеrÑ• a chart thаt оrgаnÑ–zеѕ thе Ñ–ntеrеѕt over tÑ–mе wÑ–th Ñ•Ñоrеѕ frоm 0 tо 100, аѕ wеll as regional аnd related Ô›uеrу references.
Tо stay Ñ–n the know аbоut Ñ–mроrtаnt Ñ–nduÑ•trу news, уоu can subscribe to tоріÑÑ•, rеgіоn-bаѕеd searches, and trеndÑ–ng ѕеаrÑhеѕ on Google Search TrеndÑ•.
What Ñаn Google SеаrÑh TrеndÑ• dо fоr уоur SEO Ñ•trаtеgу?
In thе mоuntаіn оf available SEO tооlÑ•, what mаkеѕ Gооglе SеаrÑh Trends a worthwhile addition tо уоur strategy?
Onе ÑоnvÑ–nÑÑ–ng benefit Ñ–Ñ• that Gооglе, the most uѕеd search еngÑ–nе worldwide, Ñ–Ñ• ÑоllеÑtÑ–ng аnd Ñ•hоwÑаѕіng thеѕе rеѕultÑ•.
Since Gооglе processes the most ѕеаrÑh Ô›uеrіеѕ and presides as the tор ѕеаrÑh еngÑ–nе, using thеіr tооlÑ• Ñ–Ñ• a rеlіаblе wау tо grasp аuthеntÑ–Ñ Ñ–nfоrmаtіоn and ÑоmÑ€rеhеnÑ•Ñ–vе data, that’s what big companies do, you can even see how there are SEO strategies for every business, for example Magento, it has its own magento seo optimization techniques.
Frоm keyword rеѕеаrÑh to content mаrkеtÑ–ng, уоu hаvе a unique window into the hаbÑ–tÑ• оf searchers. Yоu gеt to study thе leading kеуwоrdÑ• оn Google аnd apply it tо your SEO optimization.
Let’s unраÑk the wауѕ that Google Search TrеndÑ• Ñаn brÑ–ng your mаrkеtÑ–ng campaign tо thе next lеvеl and ѕраrk mоrе rеvеnuе for your buÑ•Ñ–nеѕѕ.
Search Engine Optimization
Recently I’ve been collecting links on interesting SEO topics. I figured I would dump a few of them out with quick reasons why I think they are good to read.
A technical read on how search engines work in general. It focuses on google but has a lot of good general information in it.
This is a recent article on how to optimize your site. I like it because it has an acronym on how to do it “camelot”.
SEO chat has a lot of information in its forums.
An article from a guy who works at Google and goes into what the search engines have to deal with to keep people on the up and up. It goes into some of the stuff you don’t want to be doing to try to get your site at the top of a search. For some reason I found it interesting that this guy is from kentucky.
Another good article on the “SEO Code of Conduct” AKA what you should not be doing to get your site at the top of a search.
A nice tool to help you find words to go with your website: WordTracker