Webpage-Web site Redirects
Webpage/Web site Redirects
Optimally you should always do this on the server side with a 403 Redirect. As a resort, and for certain other usages you can use an HTML redirect. Below are a few examples:
HTML Method:
<meta equiv="Refresh" content="0; URL=http://www.website.com/html-redirect.html">
ASP Method:
<% Response.Redirect "http://www.w3schools.com" %>
PHP Method:
<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>
Excel VBA – Convert Text to Date
This is a quick little Excel VBA macro to convert a date in text format into an actual date format.
This can be easily modified for other string formats as needed.
Sub ConvertToDate()
'=======Convert "yyyymmdd" text format to "yyyymmdd" date format=======
For Each cell In Selection.Cells
s = cell.Value
If s = "" Then
Else
cell.Value = (Left(Trim(s), 4) & "/" & Mid(s, 5, 2) & "/" & Mid(s, 7, 2))
cell.NumberFormat = "yyyymmdd"
End If
Next
End Sub
Windows 7 GodMode
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
PHP Export to Excel
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";
?>
PHP Output Buffer
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 Analytics API
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%
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
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: Yahoo Pipes, Yahoo, Web Design, Programming, Ironvine
Old Google Bulk Download Template
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: Yahoo Panama, Yahoo, Google, Google AdWords, AdWords, AdWords Editor, Search Marketing, Paid Search, Ironvine
GoDaddy Promo Codes – No Expire
GoDaddy promo code / coupon codes
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: Code, GoDaddy, GoDaddy Promo, Promo, Ironvine, Domain Promo, Domain Promo Code, Promo Code, Go Daddy
Javascript to select all friends in Facebooks new Question feature