Code Samples


This looks to be a really cool hidden feature in Windows 7.

Create a folder called GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and upon opening it will contain many customizable operating system features.

See the original article here: http://news.cnet.com/8301-13860_3-10423985-56.html?part=rss&subj=news&tag=2547-1_3-0-20

Here is some code I found that will allow you from PHP code to export data directly into an excel file. I haven’t personally tested this but the source I had for it was no longer available online so I’m reposting it here.


< ?php session_start();
$ID=$_SESSION["ReportData"];
?>
< ?php
$line = '';
foreach($ID as $line) {
foreach($line as $key => $value) {
$data .= $value . “\t”;
}
$data .= “\n”;
}

$data = str_replace(”\r”,”",$data);
?>
< ?php
if ($data == "") {
$data = "\n(0) Records Found!\n";
}
?>
< ?php
header("Content-type: application/x-msdownload");
header("Content-Disposition: attachment; filename=extraction.xls");
header("Pragma: no-cache");
header("Expires: 0");
echo "$data";
?>

While working with the new Google Analytics Export API and a PHP example, I wanted to be able to output a csv version of the data to a file that could be downloaded.

I found this PHP function that allows output buffering. Still working the bugs out of my data export, but the output code works well.

http://my.opera.com/zomg/blog/2007/10/03/how-to-easily-redirect-php-output-to-a-file

Google has opened up the Google Analytics API (export) for general use!

http://code.google.com/apis/analytics/docs/gdata/1.0/gdataProtocol.html

Alex C wrote a quick PHP script to pull pageviews from all available accounts. Read the setup here: http://www.alexc.me/using-the-google-analytics-api-getting-total-number-of-page-views/74/

ChannelAdvisor Lays off 19% of its Workforce

Sad to say, I was one of them. Apparently there were 32 Employees let go in the US offices.

http://www.auctionbytes.com/cab/abn/y09/m01/i23/s04
http://onlinesaleschannels.wordpress.com/2009/01/22/my-liquid-lunch-with-ex-ca-employees/

I look at this as a good thing though as I was the only member of the Seattle office left on staff after they vacated the office building in Oct 2008. (Yes, no more west coast office). I have had to work out of my home office since then. It will be nice to be able to get back into traveling to work and getting to talk to other people, sharing and learning new things.

If anyone knows a company looking for a Search Marketing guru feel free to contact me at steve @ ironvine.com!

My condolences to all the other employees that were let go this week I wish you all the best, and to my former co-workers it was a great 2 years. Take care!

Yahoo Pipes is a cool tool that I have been look at over the last couple weeks.

It basically mashes up RSS feeds and combines them to allow you to work with the data however you want, from reading news to programming, flickr, and video.

Here is a link to an example:
http://pipes.yahoo.com/pipes/AHaR2Y242xGwcHpiZFUMqA/?text=ironvine&num=2&_run=1&=Run+Pipe

Big link, but you can create your own and manage it differently.

I think it has some great programming value and web design value for adding content and such to a site. Fresh content daily from multiple resources to give to your readers! SEO Heaven.

Take a look into it, there is clearly possibility and value you can use to optimize a site and stay on top of technology.

Technorati Tags: , , , ,

As a follow up to a previous post about the 3rd Party Conversion tool bug in Yahoo Panama, here is a .csv file if the old Google Bulk Download template header row. Old Google Bulk Download Sheet CSV (.txt)

You can convert the AdWords Editor template to this format then upload it to the conversion utility in Yahoo. It takes a little bit of work to match up the fields and fill in some of the blanks, but it is a huge time savings vs creating a full Yahoo upload sheet manually from Google data.

Technorati Tags: , , , , , , , ,

GoDaddy promo code / coupon codes


Go Daddy $1.99 Domains

OYH1: Get 10% off any order with this coupon at GoDaddy. No maximum.

OYH2: Get 5$ off any order of 30$ or more at GoDaddy.

OYH3: Get 6.95$ .COM registration at GoDaddy.

GoDaddy promo codes - these codes do not expire!

If you have more codes please share them as well. Feel free to comment about GoDaddy.com Hosting Plans
or codes below.

Technorati Tags: , , , , , , , ,

I recently was accepted into the Yahoo Publisher Network beta program. I really like how they have it set up. One unique feature I really liked seeing was the ability to add an RSS feed ad to your WordPress or TypePad blog software.

I added this to my AjaxKnight blog today, but I haven’t had much chance to test or play with it. I will be looking around for tips on how best to utilize this and letting everyone know what I find.

The interface is easy to use, not cluttered and the ad code creation section is dynamically updated with changes you make. I think the color selector needs work. I added a custom color but it is not displayed in the ‘preview’ box, but it does change in the code selection area.

You can find out more or apply yourself at the Yahoo Publisher Network.

Technorati Tags: , , , , , ,

There are some newer, free JScripts that can use to do some pretty spectacular effects for sites. Huddletogether.com has some great image viewing scripts, Lightbox JS & Lightbox JS v2.0, that have the look of flash, but are solely javascript. Scriptaculous also has some great effects to use for adding some slick effects to your sites.

Technorati Tags: , , , , , ,

You can include a file easily within a .php web page.

[PHP][/PHP]

To learn more visit the php.net site.

Technorati Tags: , , , ,

Here is a nice resource of AJAX Tutorials from Max Kiesler found on ajaxlessons.com.

Some of the tutorial topics include:
AJAX Activity Indicator Tutorial
AJAX Bookmarklets Tutorial
AJAX Chat Tutorials
AJAX Drag and Drop Tutorial
…and many more.

Next Page »



ss_blog_claim=515dddba6e8981b08fa212a755146c18