Monday, November 30, 2009

Cheats For Shiny Gold Vba

Visualizzazione markers su una Yahoo! Map

Only slightly complicate the code in the previous post to allow viewing of two markers on which it is associated with the display of a text if you click on it.
The marker is displayed by the method map.addOverlay () , it is associated with the 'MouseClick event the occurrence of which will be processed according to the openSmartWindow .

follows the code that manages everything and of course, you will see the results by clicking here .

/ / Create the first
var marker = new marker1 YMarker (Italy Viale, 40, La Spezia, Italy);
/ / string to be displayed by clicking on first marker
contents1 var = "

I lived here from birth to 1990

"
/ / Open a window when the event occurs 'click' on the marker
YEvent.Capture (marker1, EventsList.MouseClick,
function () {
marker1.openSmartWindow (contents1)
});
/ / Display the marker map.addOverlay
(marker1)

/ / Create the second
var marker = new marker2 YMarker ("Via Pontegrande 120, La Spezia, Italy ");
/ / string to be displayed by clicking on the second marker
contents2 var ="

I lived here from 1990 to 2000

"
/ / Open a window when the event occurs 'click' sul marker
YEvent.Capture(marker2, EventsList.MouseClick,
function() {
marker2.openSmartWindow(contenuto2);
});
// Visualizza il marker
map.addOverlay(marker2);


Per semplicità mi sono limitato a ripetere per ogni marker i passi necessari alla loro visualizzazione. Volendo ricercare una soluzione più raffinata, avremmo potuto includere i dati da visualizzare in un array e visualizzare il tutto tramite un ciclo iterativo. Ma questo potrebbe essere oggetto di un ulteriore post.
Alla prossima.

Thursday, November 26, 2009

Why Does Alabama Have 12 On Helmet

Introduzione alle Yahoo! Maps

Sempre stimolato da digitaladoptive , unico antidoto contro la cronica mancanza of time required to fill this blog content, this time I want to introduce newcomers to the mashup Yahoo! Maps API.
For those who have had the patience to read my post on the Google Maps API, you will realize that the methods and syntax are very similar.
The simple goal of this post is to insert a Yahoo! Map centered on a particular point on the globe, in a web page.
To start working, we need an account Yahoo! on which to request a key ("id application"). At least in the early stages, we will not need a web space: unlike the Google Maps API, the Maps API Yahoo! work on the local ie on your PC (as long as connected to the Internet, of course)

To ask for the key, as I said, you must have an account, Yahoo and go to the following page

We present the following screen where you enter some data:



Some explanations:

1. Your account will appear Yahoo! default
2. Select "Generic"
3. You can insert whatever
4. You can put whatever
5. It is not a mandatory field, but in your future reference, I suggest you enter the address of the web page where you fill in the map
6. Enter your e-mail
7. Enter a brief description

The rest do not consider it.

the next page you'll get a string of characters that will copy the code below where indicated.



The code is extensively commented, you should not have trouble understanding (but I'm here for you!)


\u0026lt;head>
\u0026lt;script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid= INSERITE_QUI_LA_YAHOO_ID_RICHIESTA_SUL_SITO"> \u0026lt;/ script>

\u0026lt;! - Definition structure page listing the map size 550x450 px //-->

\u0026lt;style type="text/css">
# spaziomappa
{width: 550px;
height: 450px;
align: center;}
\u0026lt; / style>

\u0026lt;/ head>

\u0026lt;body>
\u0026lt;div id="spaziomappa" align="center"> \u0026lt;/ div> \u0026lt;script type="text/javascript">


/ / center the map at the specified coordinates (lat, long)
var lat = 44.063889;
var long = 9.883333;

/ / definition pair of coordinates identifying the Gulf of Spezia
var point = new YGeoPoint (lat, long);
var livellozoom

= 7 / / Define the map object that will load a map in the "spaziomappa of the webpage
var map = new YMap (document.getElementById ('spaziomappa'));

/ / Add the control bar that allows three types of display:
/ / map (REG), satellite (SAT) and hybrid (HYB)
map.addTypeControl ();

/ / Add the controls to zoom
map.addZoomLong ();

/ / Set the map type, in this case hybrid, for other types of display
/ / You can use SAT (satellite) or REG ( map)
map.setMapType (YAHOO_MAP_HYB)

/ / Display the map centered at the coordinates defined by the variable 'punto'al
/ / zoom level 7
map.drawZoomAndCenter (point, livellozoom)

\u0026lt;/ script >
\u0026lt;/ body>

The result can be found here .
the next episode will try to do something more, for now I will only suggest the links to the official documentation of Yahoo! Maps API (English):

Thursday, October 1, 2009

Why Does Alabama Have Number 12 On Helmet

theft! Theft! THEFT!

Greetings to all loyal readers! And even the less a loyal ..
Seriously, the intent of this post is to warn aulettiani and anyone visiting the department of physics! Watch out guys, a thief began to hit the corridors of the department! Within weeks, three people will have already paid the cost! The thief always acts in the same way:
takes away your wallet unattended, subtracts the money it contains and conceals his wallet in a bathroom on the upper floors (once on the second floor and two on the first side of the office of the pitch). . Now we have to be careful not to provide other opportunities to strike, hoping that the stop or catch him red-handed!
I hope you receive this message and not read the usual suspects, however, will warn that if you're lucky enough to meet them before the villain!
hello hello!

Monday, August 31, 2009

Navitimer World Instructions

spam

ok is a spam post but had to be done .....

Disney bought the marvel ... is with great sorrow that I am to inform you hear the sad news ...

now everyone will wonder what will happen to the characters ....
foo is rumored that we will see next to wolverine in Disneyland ....

Monday, August 24, 2009

Impetigo In Rottweilers

But why go to class when there is TG2?! Some




"For the TG2, dark matter is dark matter really."

Sunday, August 23, 2009

Trying To Conceive In Perimenopause

back

There is already some in these hot days is going to return it to Auletta.
The undersigned is lost in the bureaucracy, and humbly regrets not having won the lottery ......

I hope someone has sent a few postcards from the sea or the mountains)

Friday, July 31, 2009

Can I Get A Brazilian Wax Obese

Holiday

tomorrow I think in so many places .... some are even studying.

Best wishes for a happy holiday to everyone, everyone remains in good times
city.

See you in September;)

Greetings to all!


who remains in the city council the movie "The Holiday of Mr. Smith"

Tuesday, April 28, 2009

How Long Does Losec Last

La febbre suina vista da Google Maps, API e mashups

I start writing on this blog, stop for a while ', but not for educational purposes to document the valuable contributions that the Google Maps API and can play in our daily lives.
The sad story is that of swine fever. Several researchers have chosen to create maps where geolocalize cases of swine fever by giving an overview of the spread of the virus. Here are the main examples:

Google Map of Niman (Biomedical Research Pittsburgh, USA)

Mibazaar
Interessante mashup tra Google Maps e Twitter: sulla mappa vengono visualizzati in tempo reale i tweets le cui keywords riguardano la febbre suina

Mapa de Influenza

2009 Swine Flu (H1N1) Outbreak Map

Human swine flu map
Mashup tra Google Maps e The Guardian

Segnalo infine il Google Doc Swine flu case by case .

Friday, March 27, 2009

Buy Brand Name Gps In Bulk

Women's Fragrances: How to use them effectively

I profumi da donna , a prima vista non sono cose difficili da usare. Non ci vuole una laurea in ingegneria spaziale per capire come si usano. E' sufficiente spruzzare il profumo sui polsi, sfregarli tra di loro e passarli poi dietro le orecchie ed è fatta, giusto? Forse. Ma se avete spesso una piccola fortuna per quella favolosa bottiglia di Guerlain o Chanel forse è meglio conoscere qualche trucco supplementare su come indossare e sfruttare al meglio il your precious purchase.

The first question is addressed cloud or spray? Some people spray a cloud of perfume in the air and then you walk inside. In this way, they say, the scent is distributed evenly over the body. That may be true, but many are not satisfied with the concentration of perfume which is obtained in this way also, if you're dressed as he performs this operation will not be the great amount of scent that actually meets your skin. So many prefer
well directed sprays of perfume. If you use the usual dresses and skirts, it will be good, for EXAMPLE, spray a bit 'of perfume behind each knee. In this way, the fragrance heats up and rises, leaving a delicate one. If the scent is light, you can also spray your neck.

Spray the perfume on your wrists is a popular method to try a new flavor. Another very useful place to test an essence is to spray it on the fleshy part of the hand between the thumb and forefinger.

A question many are asking is: you spray the perfume on your clothes? The answer seems simple: Of course not! This is because there is a belief that the perfume on the fabrics is a bad idea because sometimes some perfumes may stain certain types of tissue permanently and can dry out the fur. Some people do not have this idea and Coco Chanel diceva che spruzzre un po' di profumo sul proprio cappotto permetteva di identificarlo anche al buio.
Caron spruzza campioni dei suoi profumi sulle sciarpe dei clienti così che possono sentire più a lungo la fragranza prima di decidere per l'acquisto.

Sfregare o lasciare asciugare? I veri intenditori di profumi di solito non sfregano i polsi dopo avere applicato il profumo perché si rompono le molecole del profumo e se ne cambiano le caratteristiche. Inoltre, se preferite l'aroma del profumo quando lo spruzzate piuttosto che quando è tamponato sulla pelle, vorrete lasciare asciugare il profumo sulla vostra pelle.

Tamponare il profumo sulla pelle alcune volte sembra irrinunciabile ad esempio quando alcune marche vendono their product without a sprayer or if you use an Eau de Toilette that is normally sold without a sprayer. If you do not like dab the skin directly from the package not to alter the scent, you can place it into an atomiser.

The last questions on the proper use of perfume is how often reapply. Some people prefer to leave to dissolve the scent and then put a completely different one. But if you want to reinforce the same flavor, you must always wait until the first application is completely gone. Perfumes, in fact, are designed to release fragrance with different tones throughout the time they are active. Then superimpose a new wave of perfume when it has not yet developed its fragrance will keep you from enjoying all its shades and create dissonant notes and annoying.

We have seen that even the simple act of spraying a product, it requires care and some measure, to be a transaction that values \u200b\u200band makes full advantage of all the nuances and quality of women's fragrances.

Thursday, March 19, 2009

Reset Bag Combination Lock

Perfumes Women's terminology

If you are approaching for the first time the fragrant world of perfume women but also men's or unisex, maybe you might be a bit 'confused by the various terminologies that appear on the packages that make a fine show on the shelves of your favorite perfume, and would like to learn more with the expertise to buy perfume that best fits your way of being and your lifestyle, or maybe to impress a carefully chosen fragrance as a gift.
In this article we want to clarify just who is interested in the subject of perfume. For those who have already experienced a quick buffing to the "fundamentals" certainly does not spoil.
I will use to distinguish different types of perfumes, the French terminology, which is that a very large majority is located on the packaging and containers for perfumes.
The terms that most often encounter when you are about to purchase this type of product: Parfum, Cologne, Eau de Parfum and Eau de Toilette.


Parfum Parfum or perfume, is the largest of the categories. The word refers to scents in general and a specific type of flavor in particular. In its general sense, the word fragrance embodies all the other definitions (but not including body lotions scented). As a specific term, the word refers to the Parfum stronger and persistent aromas. Many flavors are flavors of "layered", meaning that arise from the combination of different fragrances based. These layers of flavor are called "notes" and, of course, are not paired at random.
classic perfumes have three "notes". The first, which is usually one of the strongest scent, it is also that the shorter duration. They are the essences that we hear first when "wearing" a perfume in the morning, but usually within a few hours, dissolve, leaving room for the second "layer". This second level or "middle note is composed of less volatile species, which normally lasts until late morning or early afternoon. When this second layer begins to fade, came forward the third and final note, which has the scent more subtle and elusive, although it is one that lasts longer.

Logically, as a result of this stratification, the best perfumes will change slowly during the day, their aroma. The best professionals in the manufacture of perfumes hanno perfezionato l'arte di combinare le essenze in modo che le varie note si armonizzano perfettamente e il cambiamento di aroma, sebbene riconoscibile, è lieve e piacevole.

Colognes
Molte persone pensano che il termine Colognes, o Acqua di Colonia, designi i profumi da uomo, ma la realtà è diversa. Le Colonie sono profumi che hanno un solo livello di aroma. Per questo motivi sono essenze che durano di più ed hanno una profumazione più forte. Sembra un paradosso, ma questa loro caratteristica è facilmente spiegata se si tiene conto del fatto che, proprio esssere composti da un singolo "strato", dureranno di meno di un profumo che è composto da tre distinti livelli. Per bilanciare questa caratteristica, Settlements are made of wood more powerful, to be able to last as long as possible. For this reason they are less complex than the scents, and it's easy to overdo their use.
While it is true that there are colognes for men only, and that there are several women Eau de colognes on the market, most of the men's scents are, technically of colognes, having only one level of fragrances.

Eau de Parfum - Eau de Toilette
The last two categories of aroma-based liquid fragrance, Eau de Parfum, and are the Eau de Toilette.
L'Eau de Parfum is a less expensive type of scent, based on a single note, but less powerful Water Cologne. Are the typical aromas that ladies use on the wrists or neck. This type of scent will not last all day, but certainly for the last time an appointment.
L'Eau de Toilette Eau de Parfum is similar, but much less strong and much less expensive. Normally these scents only last a couple of hours, but because they are cheap and are sold in small containers that can be carried safely in your bag, make it easy to refresh and revive the scent throughout the day. The Eau de Toilette is not usually made using particularly strong fragrances. Creams and lotions


Finally, a quick nod to the creams and lotions for the body and face. There are tipi profumati. Non si possono considerare dei profumi, sebbene contengano al loro interno degli aromi in una percentuale simile a quella dell'Eau de Toilette. Il profumo durerà quindi al massimo un paio d'ore. Il loro scopo, però, non è quello di profumare, bensì di procrare dei benefici alla pelle: Perciò, forse, è meglio comprare una buona Eau de Parfum o de Toilette e una buna crema non profumata, piuttosto che cercare di ottenere due cose con un solo prodotto.

Alcune volte la quantità di profumi diversi, con le loro fragranze e le diverse confezioni e bottiglie, può intimorire.
Con questo articolo abbiamo fatto un po' di chiarezza sui principali tipi di prodotti per chi si interessa all'affascinante world of perfumes, woman or man who is.

Monday, March 2, 2009

Keeping Mocasins Tied

now it's official!

what aulettiani feared is now a reality!
dall'auletta hung out this brief notice .. But the students just do not nobody questions them?

Friday, February 27, 2009

How Can I Tell What Are Good Binoculars

new bureaucratic organization!

leave two short communications service.

1) the machines were replaced, now there are also snacks, and drinks! even today I enjoyed a snack made from old-style chocolate croissant and bowed sampellegrino!

2) two new sympathetic (?!?) attendants university made their first appearance in the department! seem to have been requested from the small and evil boss of the department and their function will be to stay and keep open the dip until 20:00 pm .. but also to lock the Auletta in this hour is to reopen at 8:00 am! (8:00 am, ie after the arrival of our usual Dario) say that .. CHEPPALLE!

greetings!

Tuesday, February 24, 2009

Milena Velbaho,ho,ho!

small delay

Carry late (too much some may say) a letter came to us ... also well long ago ....










A voi o popolo di lettori di questo blog che per cause varie è intonso dalle vacanze natalizie, a voi l'ardua sentenza di stabilire quale questa celata verità rivelata possa essere.

Tuesday, February 17, 2009

Brazilian Store Florida

The twelve best brands in 2008.

In this article we will cast a quick glance at the twelve best Women's Fragrances of 2008.

1 - Absolutely Irresistible by Givenchy
This rich fragrance has notes of mandarin features green, orange red berries, red pepper,
Egyptian jasmine, orange blossom, heliotrope, cedar, patchouli and amber. A very glamorous fragrance.

2 - Anna Sui fantasy night
The latest fragrance by Anna Sui, has top notes of blueberry and notes characteristics of wild strawberries, grapefruit and jasmine.
has a strong scent when applied on the body, but over time it becomes a lovely shade of blueberry
. This fragrance for women also has a beautiful package.

3 - Beckham for Her
This romantic Beckham fragrance line, has a fruity fragrance, floral with top notes of anise and apple. He also notes
orchid and vanilla, and hints of this in a less patchouli, amber and musk.

4 - Andy Warhol Union Square Bond N9
This perfume has a soft and fresh floral fragrance. There are shades of blue freesia and lily of the valley.
This perfume for women is therefore extremely suitable for those who love exquisite floral fragrance. Priced at around € 130 for 1.7 ounces
is best to try to fund this perfume before buying it.

5 - Coach Legacy
When it comes to Coach, you immediately think of the exchanges, but this fragrance is very pleasant.
A combination of vanilla flowers and wood is the foundation of this essence.

6 - well Covet Bloom by Sarah Jessica Parker
This fragrance is sold only online. It 's a classic feminine and sensual fragrance for women with mild base
of tropical flowers.

7 - Heart by Britney Spears Courious
Despite what you may think of the famous pop singer. it must be said that the scent is pretty good. Coriuos
Heart is essentially a limited edition of her previous scent. A fragrance fresh and youthful, which
differs from his predecessor and then only for the package.

8 - Sensouous by Este Lauder
This complex fragrance offers a blend of woody notes, spicy and floral. Initially, the dominant note is that
floral, sweet, but with the dry scent of this woman takes warm and woody essence. This peculiarity makes this fragrance suited
during autumn.

9 - Winter Flower by Kenzo
This powerful floral fragrance has as its basis a medicinal flower that blooms in the month of December: Christmas Rose
. This essence also notes of mandarin and vanilla.

10 - Cruel Gardenia by Guerlain
This is one of the most expensive perfumes in the market. Almost 220 € for a bottle of 80 ml. This fragrance for women has
features notes of damask rose, neroli, peach, white musk, vanilla and sandalwood.

11 - Kate Moss Velevet Hore
This fragrance is very sexy. A very spicy and seductive scent with notes of sandalwood, patchouli
black pepper and nutmeg. It 'available in many sizes from 15ml to 100 ml.

12 - Paris Hilton Fairy Dust
This fragrance is sweet and fruity, with characteristic notes of pink peony, orange blossom, water lily, vanilla
gardenia peach and nectar. E 'and then a very sweet fragrance for women, but not invasive. The scent of celebrity
are usually horrible, but this is an excellent product, ideal for everyday use.

Wednesday, February 11, 2009

Martial Art Equipment Sale

Geocoding, ovvero come ottenere coordinate geografiche da un indirizzo

In attesa di tornare a parlare di API, prendo spunto da una domanda fatta da un utente di questo blog e che suppongo possa essere utile a molti di voi. Abbiamo visto come visualizzare su una Google Map una serie di addresses and contact details, upload directly to the MySQL database or imported from a file . CSV (in fact, any foil eletttonico through appropriate processing).
Sometimes you have a number of addresses but not their geographical coordinates. Then there exists the possibility to automatically process a list of addresses by adding the coordinates we need?
One of the solutions we are offered this service by which uses Yahoo Maps .

How should our activities geocoding? It 's very simple

1. Downloaded to your PC excel template (Step # 1)
2. Fill out the template with the data in your possession (no need to exploit all fields)
3. Copy and paste in the box (Step # 2)
4. Click on the "Validate" (Step # 3)
5. Click on the "Run geocode" (Step # 5)
6. You will see a "new" list (Step # 6), including coordinates, ready to copy (just click with right mouse button, select all and copy to clipboard)
7. Paste the selection into Excel or Open Office .

After this simple procedure, you can save your csv file and be imported into the MySQL table, and then continue our work as we have seen in this article.

This is one of the ready-made solutions, in reality we create for ourselves a personal application that uses the service of Geocoding Google Maps API . That gets a request to the service (in REST ) and the answer may be in JSON format , KML , XML and CSV also. The speech, however, is rather complex and, perhaps, could be addressed in a separate post.
The thing to emphasize is that absolutely can not use the service to something that is different from showing the results on a Google Map.

Saturday, January 31, 2009

Trendnet Router Restarts

Caricare markers da un database con MySQL e PHP (seconda parte)

With our review in the previous article we actually finished our work. It will indeed be included in an HTML page code that reads the XML file produced by the PHP scripts and enhance the parameters of the various methods for displaying javascript.
example uses the static method


GEvent.addListener
(marker, 'mouseover', function () {marker.openInfoWindowHtml (html)});


that activates the display on mouseover , a dialog box of a string (variable html) containing the name and description of marker

do not think there is no further comment to make if you do not have a look at the code. The result of the project You will find here .



\u0026lt;! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Strict / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\u0026lt;html xmlns="http://www.w3.org/1999/xhtml">
\u0026lt;head>
\u0026lt;meta http-equiv = "content-type" content = "text / html; charset = utf -8 "/>
\u0026lt;title> View on Google Map markers using MySQL and PHP \u0026lt;/ title>
\u0026lt;script src =" http://maps.google.com/maps?file=api&v=2&key=LAVOSTRAAPIKEY "
type = "text / javascript"> \u0026lt;/ script>
\u0026lt;script type="text/javascript">
//\u0026lt;![ CDATA [

function load () {
if (GBrowserIsCompatible ()) {
was map = new GMap2 (document.getElementById ("map" ));
map.addControl (new GLargeMapControl ());
map.addControl (new GMapTypeControl ());
map.setCenter (new GLatLng (44.0750963, 10.700323), 8);

GDownloadUrl ("creaxml.php" , function (data) {var xml =
GXml.parse (data);
were markers = xml.documentElement.getElementsByTagName ("chips");
for (var i = 0; in < markers.length; i++) {
var denom = markers [i]. getAttribute ("denom");
var address = markers [i]. getAttribute ("address");
tipomarker var = markers [i]. getAttribute ("tipomarker");
var point = new GLatLng (parseFloat (markers [i]. getAttribute ("lat")),
parseFloat (markers [i]. getAttribute ("long "))); var marker =
createMarker (point, denom, address, tipomarker) ;
map.addOverlay (marker);

}});}

}

createMarker function (point, denom, address, tipomarker) {
var marker = new GMarker(point);
var html = "("+tipomarker+")&lt;br/>&lt;b>" + denom + "&lt;/b> &lt;br/>" + indirizzo;
GEvent.addListener(marker, 'mouseover', function() {
marker.openInfoWindowHtml(html);
});
return marker;
}
//]]>
&lt;/script>
&lt;/head>

&lt;body onload="load()" onunload="GUnload()">

&lt;/body>
&lt;/html>




Volendo raffinare l'applicazione, si potrebbe ad esempio visualizzare un marker di colore diverso per ogni tipologia di punto (nel nostro caso lavoro oppure studio). Il codice relativo non è molto più complicato di quanto abbiamo visto, potete fare rierimento alla già citata guida su Google Code . Oppure ci torneremo in uno dei prossimi articoli.

Thursday, January 29, 2009

Enquiry Letter Of Car

Caricare markers da un database con MySQL e PHP (prima parte)

Una possibilità davvero interessante è quella di poter visualizzare su una Google Map dei markers le cui coordinate ed altri elementi siano caricati da un database esterno.
Questo ci consente di poter utilizzare insiemi molto grandi di coordinate lasciando sempre inalterato il codice javascript di richiamo della map.
This article does not conclude our work, we will figure out how to build our database, populate it and create PHP scripts to query the data and the creation of an XML output. We therefore find ourselves in the same situation the previous post: an XML file to be given "at the mercy" to the javascript code so that the markers are displayed on the map.

This post and the next to make extensive reference material, suitably simplified and integrated into the popular, which appears in very good article (in English) you find on Google Code .

define the project to realize a sort of "geographical curriculum," a Google Map where they are see all the places where I studied or worked, whose details are contained in a database.

As a teaching project, the data are actually very few. The possibilities are endless but, as we could insert into the database large amounts of data created by third parties and, with appropriate technical knowledge, filter them in a manner that concerns us.

What you need:
1) A web space with support MySQL and PHP
2) Some hints on how to build a relational database
3) Small knowledge PHP and Javascript


POINT 1
There are two possibilities: the first is to register on the Internet to a service of free web space with the characteristics mentioned above. I have already mentioned ilbello.com hosting, but the services of this kind are innumerable. A selection of the other free services and free you can find it in this post .

The second option is to work locally, that is, use your PC like a web server. To do this you can use software packages such as XAMPP or EasyPHP. For proper installation, you can refer to the link at the bottom of the article.

POINT 2
we rely on a relational database, structured in tables (we will only need one). Our web space, be it real or virtual, will allow us to create and populate (insert data) a database through the language of administration PhpMyAdmin.

As for the service will open the ilbello.com PhpMyAdmin at http://sql.ilbello.com/ , inputting username and password provided to us upon registration. For other services, of course, will change the address but the access mode will be identical.




to create and populate the database table is posono use different methods:

1) inserting each element through the PhpMyAdmin interface
2) Amount in PhpMyAdmin appropriate sql files like this:


CREATE TABLE `markers` (`id`
INT NOT NULL PRIMARY KEY AUTO_INCREMENT, `denom
`VARCHAR (60) NOT NULL,` address `VARCHAR
(60) NOT NULL,` lat `FLOAT
(10, 6) NOT NULL,` long
`FLOAT (10, 6) NOT NULL,`
tipomarker `VARCHAR (30) NOT NULL,
) ENGINE = MYISAM;

What do I say through this set of instructions?

create a table with 6 fields: the id field is an index that is autoincremente, the second campo, denom, ha al massimo 60 caratteri; lo stesso dicasi per il campo indirizzo; lat e long sono campi numerici, al massimo di 10 cifre di cui 6 decimali; tipomarker ha al massimo 30 caratteri; MYISAM è il motore di indicizzazione del database.


3) Importando opportuni files in formato CSV (ottenuti da terze parti o dal nostro foglio elettronico ).



PUNTO 3
Attingiamo adesso ad alcuni elementi di PHP per accedere ai dati del database ed elaborarli in modo da formare un documento XML. Per motivi di sicurezza si sceglie di creare due script distinti, uno con le credenziali di autenticazione and the other receiving the credentials, accesses the database and form the XML document. Here are the listings of the two files, and credenziali.php creaxml.php . Please note that clicking on that link will not show the script but its result, ie the XML file with data displayed on the map.


\u0026lt;?
/ / Of course, $ username, $ password $ database will contain the values \u200b\u200breported by
your hosting service provider or chosen at will if you use a local web server

$ host = "localhost";
$ username = "vostrousername "
$ password =" YOURPASSWORD "
$ database =" vostrodatabase "
?>



\u0026lt;?

php / / require login information contained in credenziali.php
require ("credenziali.php");

/ / Replaces some special characters with the code entities' function
parseToXML ($ htmlStr) {

$ xmlStr = str_replace ('$ <','<',$htmlStr);
xmlStr = str_replace ('>','>',$ xmlStr)
$ xmlStr = str_replace ('"','"',$ xmlStr )
$ xmlStr = str_replace ("'",''',$ xmlStr)
$ xmlStr = str_replace ("&",'&',$ xmlStr)
return $ xmlStr;}


/ / Connect to the database
$ connection = mysql_connect (localhost, $ username, $ password);
if ($ connection) {
die ('Not connected:'. Mysql_error ());}


$ db_selected = mysql_select_db ($ database, $ connection);
if (! $ db_selected)
{die ('no database selected:'. mysql_error ());}


/ / Select all rows in the table with markers
$ query = "SELECT * FROM markers WHERE 1";
$ result = mysql_query ($ query);
if ($ result) {
die ('Query invalid:'. mysql_error ());}


header (" Content-type: text / xml ");

/ / Generate the root node of the XML file
echo '\u0026lt;markers>';

/ / Loop that creates the rest of the XML document based on the data of Table
while ($ row = @ mysql_fetch_assoc ($ result)) {
/ / ADD TO XML DOCUMENT NODE
echo '\u0026lt;marker';
echo 'denom = "'. parseToXML ($ row ['denom']). '"';
echo 'address ='". parseToXML ($ row ['address']). '"';
echo 'lat ="'. $ Row ['lat']. '"';
echo 'long ='". $ Row ['long']. '"';
echo 'tipomarker ="'. $ Row ['tipomarker']. '" ';
echo'/>';


} / / Generate the closing tag of the root node
echo' \u0026lt;/ markers> ';

?>

For now we have finished in the next article we will see how to integrate everything into the Google Map, using instructions which we now know the meaning.


Linkografia for those who want to install a server on the local


@ To install XAMPP Joomla Course in Second Life (see the slides from 6 to 22)
Slideshare @ (See slides from 6 to 22)
@ XAMPP step by step
@ Install XAMPP Windows


PHP Easy to install PHP on Windows Help @
@ Install and configure PHP and MySQL

Monday, January 19, 2009

Fotos Recientes Dong Long

Women's Fragrances: The top five brands. Part Two.

continued our journey to discover the top five perfumes woman.

  • 3 - Dune by Christian Dior
This perfume was launched in 1947. In a note Dior interview said that he was young his dream was to become a stylist, because she was always attracted by the scents. In fact, what he remembers maggiormenete of a woman, not the dress but her perfume. The eighteen fragrances launched by Dior, have always been innovative and designed to create new trends. In 1993, Dune won the FiFi as the best women's perfume. Its fragrance is contained in a note "ocean", which became very popular Dune that has helped make one of best selling products in the line of Dior. Dune is classified as a refreshing, oriental fragrance. This fragrance for women possesses a blend amber perfume, a hint of fresh water and sea air.
Although this scent, like the others is extremely versatile and can esssere "worn" at all times.


  • 4 - L'Heure Bleue by Guerlain
In 1828, Pierre - Francois - Pascal - Guerlain opened his first small shop in Paris and, beginning to produce custom scents for women and have unique fragrances for every customer. The young Guerlain thereby increase the height of his fame as he was called the Queen of Belgium to create a fragrance. In 1853, the perfume Eau Imperiale, ecstasy, the Empress Eugenie, who appointed her Guerlain perfumer Journal. He had the opportunity to create fragrances for half the royal houses of Europe. Since then, his home has produced over three hundred fragrances, the best of which is without doubt L'Heure Bleue. This women's perfume was created in 1912 by his nephew Jacques Guerlain. Innovative, oriental and floral this product is made from a blend of rose, iris and jasmine. A perfume is absolutely gorgeous and timeless, with subtle notes of sweet and spicy. A classic must-try.


  • 5 - Angel by Thierry Mugler
Angel is a perfume designed to be different, and not subject to fashion. The name of this women's perfume comes from the same vision, strong innocent and seductive. Angel is classified as a refreshing, oriental and woody fragrance. This feminine scent possesses a blend of vanilla, sandalwood and patchouli. Accompanied by fruity notes of fresh citrus, melons, peaches and plums. It took 18 months to make this complex fragrance.

Sandrail With Streetbike Engine

Visualizzare markers contenuti in un file XML

As mentioned in previous posts, we begin to "refine" the procedure for viewing on our map of specific markers .
Our goal is to make dynamic display of markers by importing the coordinates and other information from an external file to our website to view the Google Map.
In particular, we're going to see the data were previously included in an XML file . It is not the place to quibble about this metalinguaggio , ci basti sapere che in un file xml le informazioni sono contenute in particolari elementi detti tags .
Nel nostro esempio il file xml è costituito da un solo tag ( marker ) con tre attributi , la latitudine ( lat ), la longitudine ( long ) e una breve descrizione ( descr ). Il file si chiama scuole.xml ed è il seguente


&lt;markers>
&lt;marker lat="44.111508" long="9.835831" descriz="Qui ho frequentato le scuole superiori">
&lt;marker lat="44.113902" long="9.834570" descriz="Qui ho frequentato le scuole elementari">
&lt;marker lat="44.113715" long="9.833441" descriz="Qui ho frequentato le scuole medie">
&lt;marker lat="44.111206" long="9.834749" descriz="Qui abitavo molti anni fa">
&lt;/markers>



Il vantaggio di questa soluzione diventa evidente nel momento in cui avessimo l'esigenza di aggiungere altri markers . In quel caso, basterebbe inserire i nuovi dati a partire dalla penultima riga, rispettando la medesima sintassi, senza necessità di modificare la pagina web di visualizzazione della mappa.
Per gestire il file XML e "passare" i dati alla nostra pagina web But some steps are necessary: \u200b\u200b

1. Load in memory the contents of the file
To do this, we use the method

GDownloadUrl (scuole.xml ", function (date, responseCode));

file is loaded into the variable scuole.xml date; in responseCode is loaded with a code of computing the value of which allows us to see if there were no problems in loading (eg an invalid xml file or data errors) and then handle it without the 'processing stops (a topic that we leave out for now for simplicity).

NB E 'must che il documento XML sia contenuto nel medesimo server che ospita il codice javascript e quindi la pagina che richiede la Google Map.

2. Capire il tipo di documento contenuto nel file (XML)
Affinchè il codice javascript "capisca" che il file caricato sia xml viene utilizzato il namespace GXml, che fornisce metodi statici per gestire documenti XML. Il metodo

GXml.parse(data);
infatti, non è altro che un parser XML.

3. Gestire i dati in maniera corretta
I dati vengono caricati sotto forma di stringa mentre le coordinate geografiche devono essere in formato numerico. La funzione

parseFloat()
ha appunto come argomento la stringa corrispondente agli attributi lat e long e produce in uscita un numero in floating point .

Dopo tanto scrivere, passiamo alla visualizzazione del codice, opportunamente commentato per facilitarne la comprensione.

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
&lt;html xmlns="http://www.w3.org/1999/xhtml">
&lt;head>
&lt;meta http-equiv="content-type" content="text/html; charset=utf-8"/>

&lt;title>Visualizzazione markers da file XML&lt;/title>

&lt;script src="http://maps.google.com/maps?file=api&amp;v=2 &amp;key=LAVOSTRAGOOGLEAPIKEY" type="text/javascript">
&lt;/script>

&lt;script type="text/javascript">

function initialize() {

if (GBrowserIsCompatible()) {

var map = new GMap2(document.getElementById("map_canvas"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());

//Aggiunge la scala
map.addControl(new GScaleControl());

//Centra la mappa in un punto particolare
map.setCenter(new GLatLng(44.112909 , 9.835415), 16);

GDownloadUrl("scuole.xml", function(data, responseCode) {

var xml = GXml.parse(data);
var markers = xml.documentElement.getElementsByTagName("marker");

for (var i = 0; i < markers.length; i++) {

var punto = new GLatLng(parseFloat(markers[i].getAttribute("lat")), parseFloat(markers[i].getAttribute("long")));

var titolo = (markers[i].getAttribute("descriz"));
map.addOverlay(new GMarker(punto, {title: titolo}));


}});}





} \u0026lt;/ script>

\u0026lt;/ head>

\u0026lt;body onload="initialize()" onunload="GUnload()">
\u0026lt; div id = "map_canvas" style = "width: 500px; height: 400px"> \u0026lt;/ div>

\u0026lt;/ body>
\u0026lt;/ html>

The result can appreciate here.

Once you understand this mechanism, the next post we will try to make an application even more refined. Instead of moving a static XML file, we may in fact create a dynamic, taking for example the list of coordinates and descriptions from a database.

Thursday, January 15, 2009

Letterpress Online Retailer

Women's Fragrances: The top five brands. the first part.

Women's Fragrances: there are hundreds of brands on the market, so it is extremely difficult to choose which is best suited for themselves. In this article, which will be divided into two sides will discuss the five best women's perfume, nominally recognized worldwide.

  • 1 - Chanel No. 5 by Chanel.
There is a woman's most famous perfume Chanel No 5. The legendary Marilyn Monroe , confessed to "wear" this perfume in the bed. In the world of fashion there is no person comparable to Coco Chanel in 1921 selected five samples of perfume, the creator Ernest Beaux, brought to her. Once you choose the fragrance, Coco held the number 5, as the samples, because this was his lucky number.
Not surprisingly, his collections are always svelte to the public on the 5th day of the fifth month. Chanel N. 5, is classified as a refined fragrance for women, by floral fragrance and sweet. This feminine scent possesses a balanced and modern fragrance of flowers. It 's a long-lasting scent, clean and fresh, and the same Coco made sure that one of the key elements of her perfume, jasmine, was of the highest quality. This fragrance is suitable for use quortidiano, for work and also for special occasions. Extremely versatile.


  • 2 - Joy Perfume by Jean Patou.
Perfum Joy, was launched at the design house of Jean Patou in 1930. He was a great innovator. Born in 1887, he moved to Paris in 1910 (he died at 49 years) where he founded his fashion house in 1919 and perfumes. Him, and his work there are no significant traces, until 1930, when he, wanting to make a tribute to its many international clients, which he said would never have visited his Paris studio, he asked his employees a very strong women's perfume and simple, no maximum cost of individual ingredients. It 's the quality of roses and jasmine to make it so special Joy. A curiosity: an ounce of the perfume for women, are required 10,000 jasmine flowers and 28 dozen roses. It also contains a blend of rare oils. Even Joy, is considered as a refined fragrance with a floral fragrance is absolutely wonderful. Joy is also a versatile fragrance, suitable for everyday use and for special occasions.

Credit Cards For Bad Credit

Welcome to Women's Fragrances!

For those who like to know, discover curiosities and anecdotes about the sensual world of perfumes for women, this blog will be a source of interesting, and constantly updated news and articles. Historical characters, products, reviews and everything revolves around this basic accessory for beauty and personal expression of every woman, will be discussed on these pages.

Wednesday, January 14, 2009

Tetas Grandes Bizarre

Overlay e markers su una Google Map: un primo esempio

We have learned so far how to insert a Google Map your site, focusing on specific geographic coordinates . We learned how to put some controls (the arrows, zoom, scale) and a dialog box at the point where the map is centered. The next
'esigenza becomes the view of the particular points on our map.
According to the code of Google Maps, all that can be identified by geographic coordinates is defined Overlay . A special type of Overlay is the marker, that is the single point position on a map. Other overlay are, for example polylines (sets of points forming a line) and polygons (polygons). The list does not end here, but in this post we will focus only on the first.

example that I propose, on a Google Map markers are displayed on the schools I attended (elementary, middle, high). Hover on each marker displays the type of school.
As in the previous example, before we begin we need the coordinates of the points that we would like to view. There may be entrusted again MyGeoPosition.com or just to point out other sites geocoding, a different alternative as this . The important thing, remember, is that the coordinates are in decimal format.

The coordinates of one of the schools I will also serve to center the map, then reuse the method

map.setCenter (new GLatLng ( lat, long ) livellozoom )

For view of the marker, however, I introduce the new method

GMarker ( coord , {title: " string"});


dove coord è il vettore bidimensionale delle coordinate, valorizzato attraverso la classe GLatLng. title è uno degli attributi opzionali di GMarker , e consente la visualizzazione di una stringa al passaggio del mouse sul marker.

A questo punto abbiamo tutti gli elementi per finire il nostro lavoro. Il risultato lo potete apprezzare qui e passiamo dunque a visualizzare il codice per intero:


&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
&lt;html xmlns="http://www.w3.org/1999/xhtml"> \u0026lt;head>


\u0026lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

\u0026lt;title> Visualizzazione markers its a Google Map \u0026lt;/ title > \u0026lt;script src="http://maps.google.com/maps?file=api&v=2&


key=APIKEYCHEMIHADATOGOOGLE"

type="text/javascript"> \u0026lt;/ script>



\u0026lt;script type="text/javascript"> function initialize () {

if (GBrowserIsCompatible ()) {

/ / Visualizza map mode only 'road
var map = new GMap2 (document.getElementById ("map_canvas"));

/ / ITIS G. Capellini
var center = new GLatLng (44.111508, 9.835831);

/ / Elementary Via Pascoli
var pin1 = new GLatLng (44.113902, 9.834570);

/ / Medium Via Leopardi
var pin2 = new GLatLng (44.113715, 9.833441) ;

map.setCenter (center, 16);

/ / The title option brings up a string of Gmarker
to step on the marker var marker = new

GMarker (center, {title: "Here I attended
superior "});
map.addOverlay (marker);

var marker = new GMarker (pin1, {title:" Here I attended the elementary
"});
map.addOverlay (marker);

var marker = new GMarker (pin2, {title: "Here I attended
medium"});
map.addOverlay (marker);

/ / If you want to add more markers in high
just declare a new variable (eg pin3) and copy the two lines just above this comment
replacing the variable name

/ / Add controls map.addControl
large format (new GLargeMapControl ());

/ / Add the scale
map.addControl (new GScaleControl ());}



} \u0026lt;/ script>
\u0026lt;/ head>

\u0026lt;body onload = "initialize ( ) "onunload =" GUnload () "> \u0026lt;div
id="map_canvas" style="width: 550px; height: 450px"> \u0026lt;/ div>

\u0026lt;/ body>
\u0026lt;/ html>



The example that I have proposed the display of markers is a bit 'rude. If we were to add new markers in fact we should necessarily change the above code, among other things that become difficult to read if we had to place several markers on a map.
The static display of markers is thus a major limitation, the remedies which will be used in posts to come.

Tuesday, January 13, 2009

Four Word Phrases For Friends

I primi controlli e metodi nell'utilizzo delle Google Maps

begin to do some work on files of the previous article to make it even more 'useful to our work.
Map of the previous post did not allow us either to move the map nor zoom controls attravero classic Google Maps. Suppose we have the need to include such controls. Suppose also that you have the need to incorporate into our site a map centered on a particular item by entering a description in the same place.
For centering the map, will be the method

map.setCenter (new GLatLng (lat, long), livellozoom)

To do this we need to know the latitude and longitude (NB in decimal format, not in degrees) of the point where we're going to center the map. To do this, or record the data from our GPS or use applications like http://mygeoposition.com/ .
Regarding the controls, you can simply use the methods

map.addControl (new GMapTypeControl ());


map.addControl (new GSmallMapControl ());

map.addControl (new GLargeMapControl ());


map.addControl (new GScaleControl ());


the first control allows you to select the type of map (Map, Satellite, Hybrid), the second and third are used to activate the navigation bar (the arrows to move) and buttons for zooming, in two versions, small and large, the fourth allows you to see the scale of our map.
Finally, with regard to the dialog box, you use the method


map.openInfoWindow (map.getCenter (), document.createTextNode ("testodavisualizzare"));


The work done so far can find here, followed by the HTML document.


\u0026lt;! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Strict / / EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

\u0026lt;html xmlns="http://www.w3.org/1999/xhtml">
\u0026lt;head>
\u0026lt;meta http-equiv = "content-type" content = "text / html; charset = utf- 8 "/>
\u0026lt;title> Example 2 \u0026lt;/ title>
\u0026lt;script src =" & key = http://maps.google.com/maps?file=api&v=2
ABQIAAAAynaMdsZYAs5aITp8oGFoixTaBdm2rMFwTfjoALLN-mPT1dOPXBTTmmyWoK3
otqrSo4SXBqg8UMWHOA "type =" text / javascript "> \u0026lt;/ script>

\u0026lt;script type="text/javascript">

/ / function load () {
if (GBrowserIsCompatible ()) {var map = new
GMap2 (document.getElementById ("map"));

/ / ***** Center Spezia on the map zoom level 16
map.setCenter (new GLatLng (44.111206, 9.834749), 16);

/ / ***** View Control - Zoom Piccolo
map.addControl (new GSmallMapControl ());

/ / ***** View Map Type Control
map.addControl (new GMapTypeControl ());

/ / View *****
the scale of the map map.addControl (new GScaleControl ());

/ / ***** Opens information window
map.openInfoWindow (map.getCenter (), document.createTextNode ("The house where I was born
: Italy Avenue 40, Los Angeles'));}

}


//]]> \u0026lt;/ script>
\u0026lt;/ head>
\u0026lt;body onload = "load ()" onunload = "GUnload () "> \u0026lt;div
id="map" style="width:600px;height:400px"> \u0026lt;/ div>
\u0026lt;/ body>
\u0026lt;/ html>

Saturday, January 10, 2009

Equity Derivatives Tutorial

Il BigBang ovvero: tutto comincia da qui

Repeatedly prodded by digitaladoptive , telematics adventure companion for some time now, we begin this new venture, which aims to venture into the still mysterious world of bees, whether Google, Flickr or other "devilish" 2.0.
This space would be born as a support, integration, analysis, completion of subject matter from digitaladoptive precisely in his new blog Mashing Up .

But since it is my intention to be very simple and understandable, really want to start with the basics, as it has solid foundations that skyscrapers are born. Wanting to start from

Google Maps API, we try to understand what they are and that they serve.
Google does not just put at our disposal a set of dynamic maps (navigable, clickable, Zoom in and out), but gives us the possibility to include (embed) portions of these maps (and the information contained therein) in our staff Web site through the scripting language Javascript .

What you need to start using the Google Maps API?

1. A web space
For our purposes, a free web space should be just fine. Be careful though that the service provides support PHP and MySQL, things that will serve us later. It is not my intention to advertise, but since I used it I also suggest http://www.ilbello.com/

2. An FTP client
Although this type of software there are dozens of versions with different features more or less. Always the intention of not advertising, I suggest you even begin to install software but do not use http://www.net2ftp.it/ , an FTP client that works directly from the web

3. A Google Account
To use Google maps on your website you need a Google Map API key, ASK FOR FREE here after signing up Gmail (still do not have a Gmail account? What are you waiting?). Click the box where you agree to the terms and conditions for Google and type in the space after the address of the site where you're going to include a map

NOTE! Each key is valid for one and only one directory within a domain. Using an API key in a page like http://www.pippo.com/ , you can not use the same key to include a map on a page within http://www.pippo.com / folder . Be very careful. You can still get a new API key if you have to manage multiple Google Maps directory of your website. Google helps us

indeed the task because, in addition to the API key request, you will see a sample page, which contains the basic elements of the first to view our map:

  \u0026lt;! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Strict / / EN "
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
\u0026lt;html xmlns =" \u200b\u200bhttp://www.w3.org/1999 / xhtml ">
\u0026lt;head>
\u0026lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
\u0026lt;title> Google Maps JavaScript API Example \u0026lt;/ title >
\u0026lt;script src = "& http://maps.google.com/maps?file=api&v=2
key=ABQIAAAAynaMdsZYAs5aITp8oGFoixRJHuyTOYtQsjTGz8OInkxDcZHO1RR_8HzINN3BOtSIuhhpB8eBaotMiQ"
type="text/javascript">&lt;/script>
&lt;script type="text/javascript">
//&lt;![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
}
}
//]]>
&lt;/script>
&lt;/head>
&lt;body onload="load()" onunload="GUnload()">
&lt;div id="map" style="width:500px;height:300px">
\u0026lt;/ body>
\u0026lt;/ html>




Just then copy the proposed code and paste it into any text editor and then upload the file received via FTP, the folder our site. This
the result. This is a portion of the map of the area Palo Alto, California in ; in the next post will start to work on the code to customize a little bit of our map.