idx mls search solutions for realtors slogan image Home | Inquire (Contact)  | Articles | Search | For Agents | Press Room | Login
idx mls search solutions for realtors
IDX HELP
Jul 4, 2008

News: IDX Builder Turns 6!

Welcome to IDX Help. We can help you add IDX to your website, or create an entirely new web presence! This January 1st, version 7 of our IDX Builder Debuts. Inquire for details.
more info
IDX HELP
Not sure where to start? View the Table of Contents.

Title: How to streamline your IDX content for HTML 4 compatible cellular telephones.
Author: Promethyl
Catagory: Beyond The Box
Date: Monday, July 21 2003

The first step in making your web presence mobile is designing your web presence with mobility in mind, of course.

The cell phone I have in mind is the Danger Hiptop Sidekick. It's mobile, can load large pages fast (uplink caching) and reads HTML 4.

When you design the webpage, have the slicer insert images into the table as TD Backgrounds. This will make them invisible to cellular telephones.

Essencially, you would determine if the requesting unit is a mobile telephone with WAP or HTML capabilities. It sends this information when requesting the page, read it, determine what needs to be sent, then send the appropriate content.

Although this can be done with Mod Rewrite, the more simple method is below for doing this. You would insert this code at the top of your page, before any other content.

The code in PHP for this looks like this: 

if (stristr($_SERVER['HTTP_USER_AGENT'],'hiptop') OR stristr($_SERVER['HTTP_USER_AGENT'],'danger')) {
    // Put Danger Mobile Content here.
    die();  
}

if (stristr($_SERVER['HTTP_ACCEPT'],'wap') or stristr($_SERVER['HTTP_ACCEPT'],'wml')) {

header("Content-type: text/vnd.wap.wml");
echo "<"."?xml version=\"1.0\"?".">"; // this is only added server side in this example to avoid php trying to parse the xml tag
?>
http://www.wapforum.org/DTD/wml_1.1.xml">



// Put WML phone content here



die();
?>

 

And the end result is this: 

Picture of a Danger Cellphone with MLS Search






IDX HELP  print this page     IDX HELP  send this page
 
IDX HELP Footer
Copyright 2002-2007
IDX Help (A Promethyl Corporate Entity)
Not Affiliated With General Electric.
All right reserved

IDX HELP XML Feed
IDX Home | Inquire (Contact)  | Articles | Search | For Agents | Press Room | Login