WebDNA Google Map Mashup
Generate a Google map with pins on your database addresses
numero = 311
interpreted = N
texte = This is a fairly simple code snippet that will generate a Google map of your founditems. The map code itself is small and tidy, and takes only a few variables to define the default map's size, centerpoint and zoom level. You will also need to make a quick trip to Google to fetch a free key good for any map at your specific domain name.The hard part of the operation is mapping your addresses with longitude and latitude coordinates. I've written a script that helps in this regard using a simple scraping method (no special API calls or unwieldy XML necessary). Instructions are on the two pages that comprise the module.
Get the ModuleThis module will show you how to use [tcpsend] and [tcpconnect] to scrape data from pages, [middle] to extract just what you need, and then write it to your database.
This is a fairly simple code snippet that will generate a Google map of your founditems. The map code itself is small and tidy, and takes only a few variables to define the default map's size, centerpoint and zoom level. You will also need to make a quick trip to Google to fetch a free key good for any map at your specific domain name.
The hard part of the operation is mapping your addresses with longitude and latitude coordinates. I've written a script that helps in this regard using a simple scraping method (no special API calls or unwieldy XML necessary). Instructions are on the two pages that comprise the module.
Get the ModuleThis module will show you how to use
[tcpsend] and
[tcpconnect] to scrape data from pages,
[middle] to extract just what you need, and then write it to your database.
Terry Wilson
DOWNLOAD WEBDNA NOW!
Top Articles:
F.A.Q
A compilation of some user's questions...
WebDNA Libraries
A list of available libraries for WebDNA...
Download WebDNA Applications
WebDNA applications...
AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
[biotype]
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Related Readings:
Write Once Use Many
Reuse the same code over and over again on your site with the [include] context...
Removing whitespace
How can I remove all whitespace entered by a user from an input box (ie card number)...
reCAPTCHA code
reCAPTCHA helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions...
WebDNA interaction with zip
I have a project where I'm allowing several people to upload images...
How many working days?
This small script finds the number of working days between two dates...
Extracting the first sentence out of a block of text
I need to extract the first sentence out of a block of text...