There’s always something to howl about.

Category: Technology (page 39 of 60)

Speaking in tongues just for Cheryl Johnson: Building content-rich custom web sites in PHP

The deafening clamor in my mailbox suggests that almost nobody is interested in what I have to say about using PHP to automate weblog and web site content creation. That’s actually a good sign, in the sense that automated web site creation is one of the key tools we use against our competition in the Phoenix real estate market.

So: I think this might be of interest to Cheryl Johnson only.

Take a look, Cheryl:

<!--index.php-->

<?PHP $thepath=$_SERVER['SERVER_NAME']; ?>
<?PHP include ("http://$thepath/pageCap.php");?>

<title>A Street</title>

<?PHP include ("http://$thepath/pageTop.php");?>

<?PHP include("links.php"); ?>


<iframe src="main.php" frameborder="0" width="650"
height="650" name="main.php" scrolling="no">
</iframe>

<?PHP include ("http://$thepath/pageBot.php");?>


<!--<p class="h1">A Street</p>-->

This is the index page for a top level page in a BloodhoundRealty.com slide show. Almost a year ago, I talked about how we do these, and I linked to a demonstration at the time — although all of our single-property web sites and most of our previewing and staging web sites and other photographic demonstrations are based on the Slide Show Marge technology.

Note that this is entirely modular. The “included” files named pageXxx.php are all standing components at the top level of the file server. They consist simply of the plain vanilla HTML needed to make that part of the page.

The index.php file and the other two “included” files are generated by the software at run-time and are stored together at that particular level of the hierarchy:

<!--main.php-->

<p class="h1">A Street</p>

That’s the top level of the slide show. There can be a photo and descriptive text here, too.

And these are the subfolders linked below this level in the hierarchy:

<!--links.php-->

<?PHP $thepath=$_SERVER['SERVER_NAME']; ?>

<?PHP include("http://$thepath/pageLink.php"); ?>

<p class="body" style="width: 600px">
<a href="2 A St/index2.php"
	target="main.php">2 A St</a>&nbsp;| 
<a href="4 A St/index2.php"
	target="main.php">4 A St</a>&nbsp;| 
<a href="8 A St/index2.php"
	target="main.php">8 A St</a>&nbsp;| 
<a href="main.php"
	target="main.php">Return&nbsp;to
	Home&nbsp;Page</a>
</p>

Because we’re built out of an iframe, each one of these subfolders opens up as a slide show within the iframe. Each of those subfolders has its own variations of the files shown here.

I first wrote about this style of building web pages in August of 2006. At the time, a still-encloaked 4Realz wondered why I didn’t use the WordPress “Pages” technology instead. A WordPress “Page” is an excellent way to build a static page that anyone on Read more

Unchained Social Networking: Setting Up a Facebook Profile

I was a latecomer to Facebook. I was an early adopter of MySpace and, as a marketer, still prefer the open access to user data MySpace provides. Facebook profiles are “closed” to the public unless you have a “connection”. As a user you may love that but as a marketer it’s a little bit annoying.

Facebook is better for social networking with contacts and/or friends than MySpace. They encourage independent developers to create applications for Facebook users. Facebook is much more “geeky” inasmuch as you can customize your profile with widgets while MySpace does not. It is a great resource for pure “pull” marketers; we (if you are playing my game) are not pure “pull” marketers; we gently push people.

Facebook’s closed access reminds me of the original LinkedIn gated access feature. LinkedIn realized that the gated access feature inhibited utility so I suspect that Facebook will ease it’s restrictions in the near future.

Once in, the applications ARE terrific. You can throw sheep at your friends, “poke” them, and do other adolescent things if you wish (but we don’t care about them). Some of the useful professional applications for our kind are are RSS feeds to a blog, CribFinders, etc.

Let’s get started. Go to www.Facebook.com

1- Click the green “sign up” button

2- Let’s stick with the personal profile. The “business” profile has limited reach. Fill out your name AND “at a company” in the drop down menu. This is important because you may have a greater reach across “networks” if you work for a large franchisor, like Keller Williams. Use your professional e-mail address; that determines your access. Fill out your password selection, birthdate, and captchka, and hit SIGN UP.

3- Retrieve your confirmation e-mail and click the activation link.

4- Use the “Find Friends” link and import your address book. It’s safe; they don’t e-mail your friends nor store that data. You control the invitations. When you’re finished, click “next”.

5- Populate the profile information. Entering your company data and alumni affiliations are important to future networking capabilities.

6- Read more

Updating WordPress for the New Year: Just because we’re living in an ethereal world, it doesn’t mean there’s no house-keeping

I’m upgrading eight of the weblogs we host this weekend. That’s not all the weblogs we host, just the ones that are currently being maintained on at least a semi-regular basis. The single-property-web-sites we’ve done as weblogs are languishing in neglect.

These are the blogs I’m hitting:

  • BloodhoundBlog.com
  • BloodhoundBlog.TV
  • BloodhoundRealty.com
  • DistinctivePhoenix.com
  • PRETExchange.com
  • RealEstateWeblogging101.com
  • TheBrickRanch.com
  • TooMuchVegas.com

I’m bringing this up for two reasons.

First, if you have privileges on any of those weblogs, watch for potentially significant changes between now and tomorrow morning. Two of them are running WP 2.0.10, and only one was running 2.3.1 until I started updating. Plus which, I’m updating and standardizing all the plug-ins. Let me know if you detect anything broken.

Second, I need an easier way of doing this. I expect that WP Multi-User already does this, but sometime soon I’m going to see if I can make WordPress run multiple installations from something like a common code-base. In other words, I would like to be able to update eight (or more) weblogs with one FTP upload. I would like to be able to update a plug-in one time and have that update apply to every weblog we host. I’ve got a lot on my plate between now and Unchained, but I’ll see what I can come up with.

And this entire post is a hint to you. This is a good time to look over your weblog and see what needs to be updated.

In particular, the year is about to change. If you have the words “Copyright 2007” somewhere in your weblog (it’s often found in the footer), you can change that copy to this:

Copyright <?php echo date('Y'); ?>

The PHP “echo” command will echo the current year forever. You’ll never have to change the date again.

Of the eight weblogs listed above, six are done. I have to go show and I don’t plan to do BHB and TheBrickRanch until late tonight, anyway. Should be duck soup, but if something looks hosed to you in the wee hours, tilt your head to the southwest and I’ll teach you how to swear.

Technorati Tags: , , ,

Speaking in tongues: Dynamically updated lists of links in PHP

Let’s get dynamic, shall we? There are a lot of things you can say about PHP — and some of them are even safe for work. But, at bottom, PHP is a working stiff’s programming language for producing dynamic web pages.

What’s a dynamic web page? It’s a page that reflects a user’s actions or editing without requiring manual editing of each little line of HTML. In the world of AJAX coding, web pages are becoming so dynamic that they seem to mimic the behavior of stand-alone complied applications. Calm down. We’re not going to do anything that sexy. And while we will actually be introducing real bona fide PHP programming in this post, you can dial down the palpitations: We will be doing precisely one line of PHP programming. Everything else will be familiar old HTML.

Okay then: Go take a look at this article on HR 3915. Brian Brady wrote that post, and it was one of our most popular entries this year. BloodhoundBlog is the home of big stories on the RE.net, and, when we cover a big story, I do everything I can to make sure that readers — especially readers arriving from search engines or by hard clicks from non-RE.net sites — don’t miss the full extent of our coverage.

So, if you scroll down in that post, you’ll see a bullet list of links to other posts with the heading “More on HR 3915.”

That list of links is done with PHP.

The actual list is simply a file of plain vanilla HTML — no PHP programming. The file for this list of links is called HR3915.php. It looks like this:

&nbsp;<br>&nbsp;<br><B><I>More on HR
3915:</I></B><UL>
<li><a
href="http://www.mortgageratesreport.com/2007/11/
15/daily-kos-on-hr-3915-mortgage-industry-set-to"
target="_blank">Daily Kos on HR 3915: Mortgage
Industry Set To</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2217" target="_blank">HR 3915:
Why Federally-Chartered Banks Get The Pass</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2200" target="_blank">HR 3915:
Open Letter to Senator Dodd from a Veteran
Mortgage Originator</a>
<li><a
href="http://www.mortgageratesreport.com/2007/11/
08/hr-3915-legislating-to-armageddon"
target="_blank">HR 3915- Legislating to
Armageddon</a>
<li><a
href="http://blownmortgage.com/2007/11/07/hr-3915-
mortgage-reform-bill-passes-committee-with-
important-changes/" target="_blank">H.R. 3915
Mortgage Reform Bill Passes Committee with
Important Changes</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2176" target="_blank">HR 3915:
Anti-Consumer Bank Protection Act of 2007</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2153" target="_blank">HR 3915:
Exploring the Minds of the Enablers</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2112" target="_blank">HR 3915 Is
Dangerous</a>
<li><a
href="http://www.bloodhoundrealty.com/
BloodhoundBlog/?p=2103" target="_blank">HR 3915:
Mortgage Reform and Anti-Predatory Lending Act of
2007</a>
</UL>

(It’s cleaner than that in real life. I had to introduce line breaks to keep it from screwing Read more

Unchained Social Networking: Setting Up A LinkedIn Profile

LinkedIn is the first social network I joined. I received an invitation in 2003. Back then, the network was dominated by tech types networking for jobs. I set up a profile and was BLOWN AWAY by the rich user-provided content. I was a National Sales Manager, in 2003, and new to San Diego. I used LinkedIn to connect with loan originators (to recruit) and potential clients (the refinance craze was underway in 2003).

Unchained Rule #1 of Social Networking: Bridge the Digital Divide

Jeff Brown is a master at this. If Jeff makes a connection, on the internet, he does some homework (click through to a blog, Googles their name) to see if there is potential synergy. Jeff then calls them and introduces himself.

I did the same thing in 2003. I keyword searched, on LinkedIn, to see if I could find Villanova alumni, Knights of Columbus, and independent stockbrokers in Southern California. The first two were affinity groups and the latter was my ideal referral source. I Googled the potential prospect’s name and found contact information for them. I called and introduced myself to them IN A NON-THREATENING, LOW KEY manner. The responses ranged from annoyance to acceptance, heavily laden with surprise. Most tech people were communicating through the “gated-access” approach that was the signature of Linked In. I had more success than failure with my “digital bridge” call. If you’re polite and professional, most users respond well.

Okay, let’s get you set up. Click here to get to the start page. This will open in a new window so you can follow along with my instructions.

1- Click the yellow “Join Now” button at the bottom of the page.

2- Fill out the contact information. Use your primary, professional e-mail address. Click the “Join LinkedIn” button.

3- Fill out the user survey for how you might use LinkedIn- click “Save Settings”

4- Start building your network three ways:

a- import your e-mail contacts (extremely safe and they don’t spam anyone)

b-“Reconnect” with past colleagues through a company Read more

Speaking in tongues: Presentable PHP in WordPress

In the coming days, I plan to take up the idea of PHP for non-programmers, helping you tap the power of PHP’s dynamic text processing without learning (much) actual coding.

The problem is that illustrating HTML or PHP in WordPress is always a problem. Why? Because WordPress eats code for breakfast. Properly-formatted coding looks to WordPress like… properly-formatted coding. Instead of a code example, you get the executed code itself.

There are ways around this. I’ve used pictures in the past, or done elaborate searches to suss WordPress into showing the code sample as a code sample. But because I’m going to be showing a lot of code, and because I want for you to be able to copy and paste my examples into your own files, I built a tool (in PHP) to render PHP and HTML in a form that looks to WordPress like mere text, not code to be executed, but which will work just fine when you copy and paste it into your own files.

Like this, as a very simple example:

<html>
<body>
<p>Hello, World!</p>
</body>
</html>

I’ve made my little toy available to you, if you want to play with it. You can use it to show coded examples to your own readers. It’s not doing any kind of error-trapping, but it’s not doing very much of anything. Let me know if you can break it.

Building this was actually easier than talking about it, but there is a caveat. WordPress won’t love you if you try to go back and edit a published post that has one of these encoded examples in it. The second time through the WordPress parser, it will try to execute the code. The solution is either to write in and edit in an off-line editor like Ecto or to create your posts using coded examples in a text editor, editing your original files, rather than the published post. The point, either way, is to make sure that WordPress parses the coded examples only once before displaying them.

I’ll have more shortly, but if you want to get a jump on things, do this: Copy the example code above and paste Read more

Time of the signs: Let there be light

This is my column for last week from the Arizona Republic (permanent link). Since I wrote this, Cathleen found a solar-powered flood light solution, which we’re testing now. At some point — ideally when there is more sunlight and when electrons aren’t quite as sluggish outdoors — I’ll let you know how it’s working out.

 
Time of the signs: Let there be light

We’ve been playing with sign lights.

Signs matter. If you’re trying to sell your home, the yard sign just might swing the balance. A whopping 63% of home buyers discover homes they’re interested in seeing from yard signs, and the sign can be the first “salesman” for the home in one out of every six home sales.

Our signs are custom-made for each home we list, with big photos of the interior of the home. The idea is to swing the balance toward our sellers by whatever means we can think of.

But I cannot imagine a more profound enemy of custom real estate signs than darkness. During the day, you can spot the signs, see the photos, read the copy. At night, our signs, like all real estate signs, are silhouettes against the void.

So we’ve been looking for lighting systems that will extend the hours our signs are visible — from twilight to 9 pm at least, although all night would be ideal.

Our first swing at the ball is a device called the Listing Light. It uses six C-cell batteries to set two light-emitting diodes ablaze. It actually works in the sense that the signs seem to be aglow from a distance, and they are completely readable up close. But the effect is a lot like reading by flash-light — doable, but not to be preferred.

My friend Teri Lussier, a Realtor in Dayton, Ohio, has set her husband loose on the problem of lighting signs. His first invention builds the lights into the underside of the crossbar of the sign post. By now, he’s playing with the idea of building a box composed of two translucent signs with fluorescent tubes inside, much like a commercial sign.

I like what ground-mounted flood lights do Read more

More Predictions for 2008 (Bigger, Better, Newer, Sparkle-ier)

Miss Cleo tells the futchaToo bad Miss Cleo’s not famous anymore- predictions are left up to those with (as Jeff says) a “cracked crystal ball.” 

So who has the fortune telling skills this year?  Time shall tell!  Get a leg up on ’08 by reading the full articles in the links below:

*************
Jeff Brown’s
predictions include foretelling that the DOW will exceed 15,000.  How’s that for ya? (Oh yeah, this is only his first Volume.  Volume II will include something rude about me, I’m hoping.)

Pat Kitano brought us Economist’s predictions including widespread Open ID and bandwith slowdown.

Adam Ostrow notes that Facebook will go mainstream and newspapers won’t die but will creep into the blogiverse.

Drama 2.0 predicts that there won’t be much new innovation or new faces on the scene.  Huh?

*************

subscribe to authorsDON’T FORGET- if people like Jeff and I turn you off of reading Bloodhound Blog, don’t leave!  Simply subscribe only to your favorite authors in the sidebar!

*************

Unchained melodies: Christmas Eve Sarajevo 12/24

Trans-Siberian Orchestra is the most successful of the many attempts to marry classical music to rock, with Christmas Eve Sarajevo 12/24 being their breakthrough hit:

It ain’t Christmas without the Barenaked Ladies. This is their Christmas medley with Sarah MacLachlan:

Dan Fogelberg died on December 16th of this year. This is Same Auld Lang Syne, the all time best Christmas Eve song ever written:


Technorati Tags: , , , ,

Mashable Predictions for 2008

Miss Cleo tells the futchaMashable is the Internet’s (well, the globe’s) ultimate source for social media news and information.  Mark “Rizzn” Hopkins is who we all look to for guidance and especially for predictions.  This week, Rizzn put together his predictions for 2008 and here’s why you SHOULD NOT READ his entire article:

1. If you know about Google vs. Facebook.
2. If you are not concerned with the future of Internet privacy and government attention to it.
3. If you don’t care about the impending breakdown of music studio industry.
4. If you already know what APML and ADM mean (or that they’re even buzzwords).
5. Don’t read the article if you are familiar with mandated Clean Tech.
6. If you already are aware that VC money will likely be refocused on green solutions and “me too” ideas.
7. Your crystal ball has predicted the tech bubble burst (or lack thereof).

Otherwise, go read the entire article to get ahead!

Technology is a TOOL Not a Solution

There is a formidable conference, next month, that entertains the marriage of technology and real estate. I’ll be sharing the stage with one of the guys who started the whole RE.net, Dustin Luther. Kris Berg, Jim Duncan, Dan Green, and Jay Thompson, all giants in this space, will be contributing to the collective conversation as featured speakers.

Technology and real estate brokerage is an extraordinary marriage that is approaching its 10th or 15th anniversary, amid a misunderstood and sometimes tumultuous relationship. If you attended one on Dustin Luther’s “Relevance on the Internet” seminars, you might remember his history of the courtship. Dustin explained that the tech guys saw the large margins in our businesses as an opportunity to profit off of market inefficiencies. Of course, when they got their heads under the hood they found that the engine runs a little differently than they thought.

Online mortgage lending seemed to be the easiest way to disintermediate my kind. My kind responded with an explosion of product offerings that made the consumers beg for a helping human hand. Today, as the popularity of the 30 year fixed conforming loan is rising, the opportunity to disintermediate, once again, seems imminent. The need to “de-commoditize” your service offering, as a mortgage adviser, is more prevalent now than ever before. The banks and government are conspiring to limit consumer choices and do away with my kind in a cartel-like affront not seen since James Fisk and Jay Gould tried to corner the gold market, in 1869.

Advise and timely execution is all an independent mortgage originator has to offer, right now. Our “wholesale access” to residential real estate capital is dwindling and the information advantage we hoarded is being liberated by the transparency of information technology. Yet the very tool that contributed to our demise, information technology, can be the most important weapon in our arsenal as we fight our way to survival.

Success in this game will be a migration towards the concept of fiduciary from the bonds of functionary. If the consumer values you as Read more