McGraw-Hill Landing Pages

Saturday, 28 August 2010, 15:01 | Category : News
Tags :

To more easily help people find what their looking for, we have created a series of landing pages for use on the McGraw-Hill network. These pages focus on one or two simple topics,  like “New York Construction” or “Elementary school architecture.”

We helped design the pages and also created an online page creation system to dynamically generate the pages using only a few search terms. This helps users save time and also helps MCGraw-Hill reach a wider range of people through the search engines.

The pages should be up in the next few weeks and will be found at different locations throughout the site.

Strip / Remove Images from HTML string

Wednesday, 18 August 2010, 19:10 | Category : News
Tags :

I recently came across a situation where I needed to strip all of the images out of an HTML string. What seemed like a daunting task was sped along with the help of some code from this site. For other people wanting to remove image <img> tags from strings, here is the solution.

<%@LANGUAGE=”VBSCRIPT” CODEPAGE=”1252″%>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Untitled Document</title>
</head>

<body>

<%
Dim StripString
StripString = “<p>I spent yesterday walking through <a href=”"http://www.armstrong.com/”" target=”"_blank”">Armstrong</a>’s newly Platinum-certified LEED-Existing Building&nbsp; corporate headquarters&nbsp; in Lancaster, Pennsylvania. Rick Fedrizzi, the USGBC’s president, spoke at the certification ceremony in the daylit central atrium.</p><p>&nbsp;<br /><img id=”"6acb2ee0-a329-4736-95a5-65ef554e86ad”" src=”"http://sitelife.construction.com/ver1.0/Content/images/store/10/5/6acb2ee0-a329-4736-95a5-65ef554e86ad.Large.jpg”" alt=”"blog post photo”" /><br />&nbsp;</p><p>The building, originally designed and built by <a href=”"http://www.gensler.com/”" target=”"_blank”">Gensler</a> in 1998, looks out onto the rolling countryside, which is impossible to miss since there are gorgeous views from nearly every corridor, office, and stairwell in the structure.</p><p>A lot of us media types who were present for the building tour and ceremony asked various Armstrong executives how they planned to roll out LEED ratings to their other facilities and they were a little cagey. After all, greening a fancy corporate headquarters building is probably easier than a vinyl flooring manufacturing plant. </p><p>But I give Armstrong a lot of credit–after all, how many other corporations are greening their headquarters and certifying the results? Certainly not McGraw-Hill, the parent company of Architectural Record. But I would like to think they will, once more companies like Armstrong are leading the way.</p>”
%>

<%
Function stripIMG(strHTML)
‘Strips the HTML tags from strHTML using split and join

‘Ensure that strHTML contains something
If len(strHTML) = 0 then
stripHTML = strHTML
Exit Function
End If

dim arysplit, i, j, strOutput

arysplit = split(strHTML, “<img”)

‘Assuming strHTML is nonempty, we want to start iterating
‘from the 2nd array postition
if len(arysplit(0)) > 0 then j = 1 else j = 0

‘Loop through each instance of the array
for i=j to ubound(arysplit)
‘Do we find a matching > sign?
if instr(arysplit(i), “>”) then
‘If so, snip out all the text between the start of the string
‘and the > sign
arysplit(i) = mid(arysplit(i), instr(arysplit(i), “>”) + 1)
else
‘Ah, the < was was nonmatching
arysplit(i) = “<” & arysplit(i)
end if
next

‘Rejoin the array into a single string
strOutput = join(arysplit, “”)

‘Snip out the first <
strOutput = mid(strOutput, 2-j)

‘Convert < and > to &lt; and &gt; uncomment to display as HTML
’strOutput = replace(strOutput,”>”,”&gt;”)
’strOutput = replace(strOutput,”<”,”&lt;”)

stripHTML = strOutput
End Function

%>

<%
response.write stripHTML(StripString)
%>

</body>
</html>

HTTP requests in asp classic, .net and php

Monday, 16 August 2010, 14:43 | Category : Current Projects
Tags :

I’ve spent much of the past two days trying to figure out something which seemed like a simple task. I have a url:

http://sitelife.construction.com/ver1.0/Direct/Jsonp?r={%22Requests%22%3A[{%22SearchAction%22%3A{%22NumberPerPage%22%3A10%2C%22OnPage%22%3A1%2C%22SearchString%22%3A%22Pennsylvania%22%2C%22SearchType%22%3A%22BlogPost%22}}]%2C%22UniqueId%22%3A0}&cb=RequestBatch.callbacks.daapiCallback0

…which returns a JSON string filled with search results. I needed to get these results into a server side variable. After a bit of stumbling around I found the three following solutions and wanted to post them for others that might find themselves in the same situation. They all do the same thing and will allow you to get the HTTP response from the URL, using either PHP, ASP classic VBScript, or asp.NET VB.
VB asp.NET Solution

<%@ Page Language=”VB” ContentType=”text/html” ResponseEncoding=”iso-8859-1″ %>

Untitled Document

<%@ Import Namespace=”System.Net” %>
<%@ Import Namespace=”System.IO” %>

The following textbox contains the HTML returned by a request to the Pluck server

ASP classic VBScript Solution

<%@LANGUAGE=”VBSCRIPT” CODEPAGE=”1252″%>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title>Untitled Document</title>
</head>

<body>

<%
Dim URLresponse

url = “http://sitelife.construction.com/ver1.0/Direct/Jsonp?r={%22Requests%22%3A[{%22SearchAction%22%3A{%22NumberPerPage%22%3A10%2C%22OnPage%22%3A1%2C%22SearchString%22%3A%22Pennsylvania%22%2C%22SearchType%22%3A%22BlogPost%22}}]%2C%22UniqueId%22%3A0}&cb=RequestBatch.callbacks.daapiCallback0″
set xmlhttp = CreateObject(“MSXML2.ServerXMLHTTP”)
xmlhttp.open “GET”, url, false
xmlhttp.send “”
URLresponse = xmlhttp.responseText
set xmlhttp = nothing
response.write URLresponse
%>

</body>
</html>

PHP Solution

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Untitled Document</title>
</head>

<body>

<?php
$url=”http://sitelife.construction.com/ver1.0/Direct/Jsonp?r={%22Requests%22%3A[{%22SearchAction%22%3A{%22NumberPerPage%22%3A10%2C%22OnPage%22%3A1%2C%22SearchString%22%3A%22Pennsylvania%22%2C%22SearchType%22%3A%22BlogPost%22}}]%2C%22UniqueId%22%3A0}&cb=RequestBatch.callbacks.daapiCallback0″;
$file=file($url) ;
// print_r($file);
$results = print_r($file, true);
echo $results;
?>

</body>
</html>

Flag Football Fanatics has a new online store!!!

Sunday, 25 July 2010, 2:11 | Category : News
Tags :

Ohio’s largest youth flag football league is now offering items for sale on their site. Pick up T-shirts, hats, footballs, flags and other accessories by going to www.ohioflagfootball.com.

Flag Football Fanatics Opens Fall Registration

Wednesday, 21 July 2010, 0:45 | Category : News
Tags :


Everyone’s favorite youth flag football league is now open for fall registration. Leagues are now available in all major central Ohio cities for children ages 4-12. For more information visit www.ohioflagfootball.com.

Thanks PSD Tuts+

Wednesday, 30 June 2010, 18:38 | Category : News
Tags :

The great folks over at PSD Tuts+ have been busy adding some extra sprinkles on the cupcakes with their great Photoshop tutorials. We recently used this tutorial to help create a snazzy new business card for our friend Leia Swarm. BTW Leia is a very talented designer and landscape architect who is currently looking for work. If you’ve got any leads please contact her at LDSearth@gmail.com.

McGraw-Hill Construction Updates

Tuesday, 29 June 2010, 16:10 | Category : News
Tags :

This summer we will be missing out on fun in the sun. McGraw-Hill Construction in New Jersey will be getting an updated media library for their help center web site. The changes should be online sometime at the end of July.

TI Property Improvements Partnership

Sunday, 23 May 2010, 5:49 | Category : News
Tags :

This week marks the beginning of our partnership with TI Property Improvements, adding updates and enhancements to their site. TIPI is a local company started in 2008 by Tim Irwin, specializing in home remodeling and renovation. Their services include windows, doors, kitchens, bathrooms, decks, flooring, painting, siding, roofing, fencing and basements.  They serve communities throughout Central Ohio, including Bexley, Muirfield, Wedgewood, New Albany, and Gahanna. They have an excellent track record and do some of the most beautiful work that I have seen. If you are looking for reliable, top quality home remodeling or renovation I would highly recommend visiting their site at www.TIPIteam.com.

Our work for them includes some updates to their site, like the addition of a slide show and other visual elements. We are also assisting them with their new referral program where those who refer a new client get a $25 gift card.

Traditional Navigation Site Up

Friday, 14 May 2010, 1:43 | Category : Completed Projects
Tags :

The Non-Instrumental Navigation class sponsored by Palau Community College and the Micronesian Voyaging Society has completed their 2009-2010 season. Thirteen students, three researchers, the captain and crew completed a series of three voyages to different islands around the Pacific. Through classroom instruction and the practicals students learned how to navigate using the sun and stars, sailing techniques, weather prediction and water safety. To learn more visit the site where you can see pictures of the trip, download class materials and get contact information about joining the class.

This site was built using Joomla! 1.5 and a variety of plug-ins. The versatility of this CMS system will allow the site owners to continually update the site for the 2011 sailing season and beyond.

Resume Summit Sells Site

Sunday, 9 May 2010, 17:33 | Category : News
Tags :

Resume Summit, one of our past clients and one of the best online resume writing services has recently been sold and is in the process of transitioning to a new owner. The site will be down during this transitional process, but will soon resume service.