Welcome to WikiSoftPeople.com the one stop for all of your Web needs. We specialize in Web Design, Search Engine Optimization, PHP programming, Email Pipe Scripting, Google Maps Integrations, VoIP Integrations, Domain Space, Server Space, Domain Names, Web Hosting and much more. Our Motto is if you can dream it we can do it!

December 2009 Archives

I just recently got an Android and part of the reason I got it was because I work with Google Maps API and program dealer locators and other things and wanted to see how difficult it would be to program for the Android. I started with a project in mind that would show me on a Google Maps markers of all the homes that recently sold, and homes that were recently listed.

At first this seemed like a daunting task and I was confused how I would accomplish such a thing. I figured I needed to write a program that would send me my gps coordinates in a variable form that php could handle that I could then send back to google maps and keep it refreshing.... that would be a poor mans way to do it.

Turns out that Android is so flexible that it allready had all the tools for everything I needed to accomplish this. There is a program called My Maps Editor by Google. This program for Android does a few things.

First and foremost what it does is that it links of with your My Maps account through Google. You may be asking yourself "What is a my maps account?" It is simple, you can use your gmail log-in to get to "your maps" from the google main page or the google maps page. Once there you can create markers or lines on maps and save them under different titles. You can make them public or private for the world to see.

So for example. Say you have a route that you like to run and you wanted to make it public. You could draw a line of the route and place markers showing distances etc... and put them in a map and save it as Coast Ridge Run and make it public. People who were searching for Coast Ridge Runs would probably come accross your map on a Google Search.

Ok that is great but how does it help us with the houses that have recently sold or are being listed. Well if you go to Trulia.com if you do a basic search for a zip code in a given area you will notice in the top right of the page there is an RSS icon. If you click on that you will see that there is a Google Earth RSS option. If you click on that it will give you the option to save a .KML file. If you save that file and then go back to your google my maps. You can choose to import a .KML file to your my maps. This will put on the map all the markers of houses that have recently been listed.

If you have my maps on your Android you will be able to see these listings from your android. And even better you can have the map follow you by GPS from your current coordinates.

So say you are a real estate agent, and you want to see houses that have recently been listed in the area while you are showing a client a home. If you had specified the URL to the KML file for your my maps to grab information. You would have the most current info at your finger tips of what houses have recently been listed in the area. Or if you were driving your car down the street you could see in the different areas what is going on.

This is a powerful and unique tool for agents. The only problem is that Trulia's web site appears to be broken, or they do not want to put information up about sold homes for .KML files. All of there other RSS feeds do seem to work, but the KML files do not. That means that we need to manually edit their RSS feeds to fit with KML in order to have accruate and up to date information.

This is something that I am working on at the moment, but feel there must be a better way to do it with a screen scrape or PHP program that reeds the feed etc... but this might be getting over my head.

Will have more on this later. But as of now Android is a hit! and has made my housing searches just that much easier.

As of yesterday we are working to develope an ecommerce site for www.rollovermonkey.com this is a company that develops toys and one of the toys is a monkey that laughs and rolls over.

There will be more on this to come and should be an interesting and fun project. We are planning on using Google check out with wordpress ecommerce plug-in.

 

 

After extensive searching on this topic I have uncovered the easiest way to send customizable invoices through email generated with PHP variables.

If you are trying to do something similar to this you may have thought it would be easier than it actually was. Paypal will have you think that you need to add an item through their interface for every item you want a button for.

In actuality you can simply past this code

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value=youremail@youremail.com>
<input type="hidden" name="item_name" value="DryCleaning">
<input type="hidden" name="item_number" value="">
<input type="hidden" name="amount" value="<?php echo $current; ?>">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.yoursite.com/returnpage.php">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0" name="submit" alt="Make your payments with PayPal. It is free, secure, effective.">
<img alt="" border="0" src="https://www.paypal.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</form>

 

Notice how I did the php echo of the price variable? That's the trick...

Now you may also be asking how do you put this in an email?

Well you don't put this in an email because emails first off vary and there is no platform between gmail, yahoo mail, outlook, thunderbird, etc.. etc.. etc.... not to mention some browsers or users refuse to view email using html for spam reasons.

So we need them to go back to their browser. So simply take the price that you wanted them to pay that was sent to the email and create and echo the variables you want into a link in their email.

Then use GET commands to pull that information and create the button from the code we made above.

if you are unfamilar with get variables there is a good tutorial on them here : http://www.w3schools.com/PHP/php_get.asp

Let me know if you have any questions.

 

Thanks,

Matt

About this Archive

This page is an archive of entries from December 2009 listed from newest to oldest.

August 2009 is the previous archive.

January 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.