RSS Feed

iphone web development

February 22, 2010 by admin No Comments »

I am just starting some basic iphone web development. If you like jQuery this is a great
mobile phone framework.

I will try and post some updates here in the next few weeks. If you have an iphone or if you like books I highly recommend this book:

Building iPhone Apps with HTML, CSS, and JavaScript: Making App Store Apps Without Objective-C or Cocoa

I have never done any objective C or Cocoa programing nor do I really want to. I like the book, which has an online version you can view here or even an iPhone app.

 

Font Replacment

December 10, 2009 by admin No Comments »

Font replacement aka dynamic text replacement has been around since 2004.  I did not start using it till late 07 but lately it seems to be a hot topic again. Mostly because it has become a lot easier to implement I believe and SEO has become more prevalent.

Which font replacement technique should you use?

I have been trying to find the best font replacement technique. I have not found a clear winner but font replacement can now be done just with JavaScript. It uses SVG or VML I believe to have the browser draw the font so to speak.

How font replacement works.

How font replacement works.

Currently I have been using cufon but not on this site. (I am using Flir now but not much longer.) It is strictly JavaScript which is nice no more setting permissions on the server or worrying if the gd 2 library is installed.

It is really easy to implement, and seems to more accurately render the font spacing and details then Flir aka Facelift Image Replacement.
Flir is a server side font replacement that uses php, and javascript to redraw an image on the fly of a font. It works really well but letter spacing does not work so great when you use smaller font sizes. Also there was a fairly bug that need to be patched a few months ago.

Other than that is great and is easier to use than sifr which uses flash to replace fonts. I am not a flash guy though so that may be why I have a bit of a bias towards Flir.

Typeface is another js font replacement tool. It does not use php and is very similar to cufon. You can read more about cufon vs typeface here. The best way to know is just to try. I have not used typeface yet but would be interested to hear your comments.

How to install and use Cufon

Below is a quick tutorial of how to use cufon, by Jeffrey Way of nettuts.com.

More Info:

For more information on font replacement go here to see 10 different techniques.

 

Matt Mullenweg on This Week in Startups

November 15, 2009 by admin No Comments »

A nice interview with Matt Mullenweg from This Week in Startups.

 

jQuery Journal

October 13, 2009 by admin No Comments »

Not another jQuery site?  Well sort of …. If you think you have got what it takes to write for jQuery journal let me know. This site is for beginners and we are looking for tutorials.You can view it here:

jQuery Journal

If you have suggestions let me know.

Thanks.

 

bowlersjournal.com

August 17, 2009 by admin No Comments »

Work directly with writers and in house designer to update site. The existing site was created all in perl and this update converted it all to php. Also created back end administration to post articles, manage subscriptions and moderate site. View site.

 

sdena.org

by admin No Comments »

South Dakota Emergency Nurses Association needed a design for the website. All work was created in Photoshop CS3 and delivered within the budgeted time line. Design was delivered as psd file to driver websites. Website has not yet been published as of this date.

 

PHP Model View Controller… AHH!

August 13, 2009 by admin No Comments »

Well I am not sure how much effort this will take but I am starting to build my own controller (Why? Well for work … mostly and for curiosity also) . I will share some insights here as I progress.

It is going to be loosely based off  ideas from these two sites.

  1. http://www.phpro.org/
  2. Big Fish Small Barrel

Stay tuned or just check your rss reader or your pubsubhubbub… or something like that…

 

Wordpress built in RSS parser

August 12, 2009 by admin 1 Comment »

A nice wordpress tip. IF you want to add RSS you can do so by just using the built in rss parser.
See the code below. Just add your rss url in the wp_rss function your done.

However this is outdated! See below for a better way to do this.

Old Way: (This may cause invalid characters when using UTF 8 encoding.)
[sourcecode language='php']
wp_rss('http://rss-feed-url', 10); ?>
[/sourcecode]

And Now for a better Way:
[sourcecode language='php']

include_once(ABSPATH . WPINC . '/feed.php');

// Get a SimplePie feed object from the specified feed source.
$rss = fetch_feed('http://example.com/rss/feed/goes/here');

// Figure out how many total items there are, but limit it to 5.
$maxitems = $rss->get_item_quantity(5);

// Build an array of all the items, starting with element 0 (first element).
$rss_items = $rss->get_items(0, $maxitems);
?>

[/sourcecode]

 

code post test

August 11, 2009 by admin No Comments »

This is a code post test. Testing to see if code will get properly displayed?
Pure CSS text gradient (no PNGs)

[sourcecode language='css']

h1 {
position: relative;
font-size: 300px;
line-height: 300px;
text-shadow: -3px 0 4px #006;
}
h1 a:link,
h1 a:visited,
h1 a:hover,
h1 a:active {
position: absolute;
top: 0; z-index: 2;
color: #d12;
-webkit-mask-image: -webkit-gradient(linear, left top, »
left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}
h1:after {
content: “Filthy”;
color: #000;
text-shadow: 3px 3px 1px #600;
}

[/sourcecode]

 

Thoughts & Jason Fried

July 8, 2009 by admin No Comments »