<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/">

<channel>
<atom:link href="http://www.ribosomatic.com/rss.php" rel="self" type="application/rss+xml" /><title>RibosoMatic</title>
<link>http://www.ribosomatic.com/</link>
<description>Articulos informaticos de interes para nuestros visitantes</description>
<language>es-PE</language>
<copyright>(CC) 2006-2009 RibosoMatic:Blog</copyright>
<ttl>60</ttl>
<image>
<title>RibosoMatic</title>
<url>http://www.ribosomatic.com/img/logo_lite.gif</url>
<link>http://www.ribosomatic.com/</link>
<width>144</width>
<height>24</height>
<description>Articulos informaticos</description>
</image>
<item>
<title>urbapsepexeta en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-4048</link>
<description>&amp;lt;a href=&quot;http://propecia.honki.info/&quot;&amp;gt;buy propecia online&amp;lt;/a&amp;gt; propecia acid reflux flonase amerimedrx &lt;br /&gt;
&amp;lt;a href=&quot;http://zithromax.honki.info/&quot;&amp;gt;zithromax online&amp;lt;/a&amp;gt; information zithromax &lt;br /&gt;
&amp;lt;a href=&quot;http://diovan.honki.info/&quot;&amp;gt;buy diovan&amp;lt;/a&amp;gt; COD Diovan 90 pills x 40 mg overnight saturday no prescription &lt;br /&gt;
&amp;lt;a href=&quot;http://cardizem.honki.info/&quot;&amp;gt;cardizem 60mg&amp;lt;/a&amp;gt; cardizem side effects &lt;br /&gt;
&amp;lt;a href=&quot;http://lamictal.honki.info/&quot;&amp;gt;buy lamictal&amp;lt;/a&amp;gt; lamictal seroquel &lt;br /&gt;
&amp;lt;a href=&quot;http://desyrel.honki.info/&quot;&amp;gt;desyrel 100mg&amp;lt;/a&amp;gt; generic buy Desyrel 90 pills x 100 mg online &lt;br /&gt;
&amp;lt;a href=&quot;http://provera.honki.info/&quot;&amp;gt;order provera&amp;lt;/a&amp;gt; by buy Provera 90 pills x 2.5 mg online &lt;br /&gt;
&amp;lt;a href=&quot;http://crestor.honki.info/&quot;&amp;gt;crestor without prescription&amp;lt;/a&amp;gt; enterohepatic circulation crestor &lt;br /&gt;
&amp;lt;a href=&quot;http://maxalt.honki.info/&quot;&amp;gt;maxalt without prescription&amp;lt;/a&amp;gt; Find real buy Maxalt 12 pills x 5 mg online &lt;br /&gt;
&amp;lt;a href=&quot;http://capoten.honki.info/&quot;&amp;gt;capoten 50mg&amp;lt;/a&amp;gt; order buy Capoten 60 pills x 25 mg online clinic uk &lt;br /&gt;
&amp;lt;a href=&quot;http://paroxetine.honki.info/&quot;&amp;gt;paroxetine without prescription&amp;lt;/a&amp;gt; purchase Paroxetine 90 pills x 10 mg &lt;br /&gt;
&amp;lt;a href=&quot;http://aygestin.honki.info/&quot;&amp;gt;order aygestin&amp;lt;/a&amp;gt; aygestin overnight delivery &lt;br /&gt;
&amp;lt;a href=&quot;http://coumadin.honki.info/&quot;&amp;gt;cheap coumadin&amp;lt;/a&amp;gt; buy discount free prescription Coumadin 60 pills x 2 mg &lt;br /&gt;
&amp;lt;a href=&quot;http://danazol.honki.info/&quot;&amp;gt;danazol 100mg&amp;lt;/a&amp;gt; endometriosis and danazol &lt;br /&gt;
&amp;lt;a href=&quot;http://floxin.honki.info/&quot;&amp;gt;no prescription floxin&amp;lt;/a&amp;gt; Floxin 60 pills x 400 mg drug &lt;br /&gt;
&amp;lt;a href=&quot;http://lanoxin.honki.info/&quot;&amp;gt;buy lanoxin online&amp;lt;/a&amp;gt; order Lanoxin 90 pills x 0.25 mg for over night delivery &lt;br /&gt;
&amp;lt;a href=&quot;http://leukeran.honki.info/&quot;&amp;gt;buy leukeran online&amp;lt;/a&amp;gt; buy Leukeran 90 pills x 2 mg online bestellen &lt;br /&gt;
&amp;lt;a href=&quot;http://levothroid.honki.info/&quot;&amp;gt;no prescription levothroid&amp;lt;/a&amp;gt; on line Levothroid 120 pills x 50 mg &lt;br /&gt;
&amp;lt;a href=&quot;http://lotensin.honki.info/&quot;&amp;gt;order lotensin&amp;lt;/a&amp;gt; buy Lotensin 60 pills x 10 mg now online &lt;br /&gt;
&amp;lt;a href=&quot;http://lozol.honki.info/&quot;&amp;gt;order lozol&amp;lt;/a&amp;gt; pill Lozol 30 pills x 2.5 mg &lt;br /&gt;
&amp;lt;a href=&quot;http://mexitil.honki.info/&quot;&amp;gt;mexitil online&amp;lt;/a&amp;gt; buy Mexitil 30 pills x 50 mg online cheap &lt;br /&gt;
&amp;lt;a href=&quot;http://motilium.honki.info/&quot;&amp;gt;order motilium&amp;lt;/a&amp;gt; drug prescription Motilium 60 pills x 10 mg &lt;br /&gt;
&amp;lt;a href=&quot;http://motrin.honki.info/&quot;&amp;gt;motrin online&amp;lt;/a&amp;gt; Motrin 90 pills x 600 mg buying &lt;br /&gt;
&amp;lt;a href=&quot;http://nimotop.honki.info/&quot;&amp;gt;nimotop without prescription&amp;lt;/a&amp;gt; buy nimotop prescription online &lt;br /&gt;
&amp;lt;a href=&quot;http://pamelor.honki.info/&quot;&amp;gt;generic pamelor&amp;lt;/a&amp;gt; buy Pamelor 60 pills x 25 mg prescription online &lt;br /&gt;
&amp;lt;a href=&quot;http://periactin.honki.info/&quot;&amp;gt;buy periactin&amp;lt;/a&amp;gt; Periactin 120 pills x 4 mg pill &lt;br /&gt;
&amp;lt;a href=&quot;http://prograf.honki.info/&quot;&amp;gt;prograf 5mg&amp;lt;/a&amp;gt; where to buy Prograf 40 pills x 5 mg online &lt;br /&gt;
&amp;lt;a href=&quot;http://zebeta.honki.info/&quot;&amp;gt;zebeta without prescription&amp;lt;/a&amp;gt; overnight delivery on Zebeta 60 pills x 10 mg</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-4048</guid>
</item>
<item>
<title>papucho666 en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-3371</link>
<description>Hola, tu script me sirvio de gran ayuda muchas grcias. -&lt;br /&gt;
&lt;br /&gt;
Lo examiné y lo adopte a mi necesidad.&lt;br /&gt;
&lt;br /&gt;
Muchas gracias</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-3371</guid>
</item>
<item>
<title>Daniel Acevedo en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2925</link>
<description>Saludos, escribo para comentar que por fín lo logre! jajaja a Isus y a la comunidad en general les ofrezco el código solo me mandan un correo y listo.. Lo que hize fue que el formulario metiera los datos en una BD mysql y despues otro archivo php genera el xml para dspues ser leido por el script.. pueden verlo funcionando en www.residenciaslaredo.com/ett/maps_form.php... Ahora intentaré añardirle un datagrid al lado para editar y eliminar los registros, se aceptan aportes ya que soy negado con la programacion, todo lo hago con fragmentos de codigo de muuuuuchas paginas jajaja.. &lt;br /&gt;
&lt;br /&gt;
mi email daniel.acevedo.vasaitis&amp;#40;arroba&amp;#41;gmail.com</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2925</guid>
</item>
<item>
<title>Daniel Acevedo en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2837</link>
<description>listo, ya se ve el mapa, ahora, la versión del php es 5.1.2 :@ jajaja.. bueno, se hizo el intento, gracias por responder, muy bueno el post! cuando consigas algo similar con mysql o que sirva en php 5.1.2 postealo, no sabes como te lo agradeceria jeje.. Saludos, felicitaciones por la página, muy buena.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2837</guid>
</item>
<item>
<title>iSus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2821</link>
<description>Hola de nuevo Jesús:&lt;br /&gt;
Siento comunicarte que nada. Siguiendo tus indicaciones, nos han activado la extensión SimpleXML y tenemos PHP 5, pero sigue sin funcionar.&lt;br /&gt;
Ya no sabemos qué hacer. Estamos desesperados.&lt;br /&gt;
Al inicio carga bien el XML pero al crear una marca nueva lo borra. ¿Es brujería?&lt;br /&gt;
Creoq ue debe ser algo de configuración del servidor. Tienes algún info.php para poderlo comparar el que tenemos en nuestro servidro?&lt;br /&gt;
El nuestro está en http://www.ros-asociados.com/info.php&lt;br /&gt;
Gracias de nuevo.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2821</guid>
</item>
<item>
<title>iSus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2818</link>
<description>Gracias de nuevo Jesús. No sabes cómo te lo agradecemos. &lt;br /&gt;
Eso estábamos sospechando, que fuera algo de configuración del servidor. Ayer instalamos en otro servidor y también fallaba pero daba otro tipo de error. Hoy hemos pedido a soporte técnico que nos activen el &quot;register_globals&quot; y, siguiendo tus indicaciones, que nos activen también la extensión simpleXML. En cuanto lo hagan y nosotros realicemos las pruebas te comentamos el resultado para que sepas cómo ha ido y así si te encuentras algún día con el problema conozcas tb la solución.&lt;br /&gt;
Gracias. Un saludo.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2818</guid>
</item>
<item>
<title>jesusvld en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2817</link>
<description>Isus:&lt;br /&gt;
Averiguando SimpleXML es una extension de PHP la cual debe estar activada para usarse, y es parte de la versión 5.0&lt;br /&gt;
&lt;br /&gt;
Disculpa por no mencionar esto antes. Asi que asegurate que tu hosting tenga esa versión de PHP, por lo de la API de Gmaps y jQuery no hay problema.&lt;br /&gt;
&lt;br /&gt;
http://php-es.com/ref.simplexml.html</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2817</guid>
</item>
<item>
<title>iSus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2813</link>
<description>Hola de nuevo Jesús:&lt;br /&gt;
Muchísimas gracias portu respuesta y por el interés que muestras en ayudarnos. ¡No sabes lo agobiados que estamos! el viernes tiene que estar funcionando todo correctamente y no sabemos qué está ocurriendo.&lt;br /&gt;
Te cuento:&lt;br /&gt;
&lt;br /&gt;
Hemos subido al servidor los archivos que nos has enviado sin tocarlos a http://www.ros-asociados.com/ejemplo-jesus2/maps_form.php Sólo hemos cambiado la API Key para que funcione en nuestro servidor.&lt;br /&gt;
Al inicio, al carcar la página por primera vez, muestra bien las marcas que hay en el XML, pero en cuanto creamos y enviamos una nueva marca borra el contenido del XML.&lt;br /&gt;
&lt;br /&gt;
Si rellenamos todos los campos del formulario &amp;#40;Name, msg y link&amp;#41; da el siguiente error:&lt;br /&gt;
Fatal error: Call to undefined method SimpleXMLElement::saveXML&amp;#40;&amp;#41; in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/ejemplo-jesus2/maps_form.php on line 28&lt;br /&gt;
Si rellenamos solo dos campos &amp;#40;Name y msg&amp;#41;, el error es:&lt;br /&gt;
Warning: SimpleXMLElement::addAttribute&amp;#40;&amp;#41; [function.SimpleXMLElement-addAttribute]: Attribute name and value are required in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/maps_form.php on line 23&lt;br /&gt;
&lt;br /&gt;
Fatal error: Call to undefined method SimpleXMLElement::saveXML&amp;#40;&amp;#41; in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/maps_form.php on line 28&lt;br /&gt;
Si sólo rellenamos el campo Name da los siguientes errores:&lt;br /&gt;
Warning: SimpleXMLElement::addAttribute&amp;#40;&amp;#41; [function.SimpleXMLElement-addAttribute]: Attribute name and value are required in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/ejemplo-jesus2/maps_form.php on line 21&lt;br /&gt;
&lt;br /&gt;
Warning: SimpleXMLElement::addAttribute&amp;#40;&amp;#41; [function.SimpleXMLElement-addAttribute]: Attribute name and value are required in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/ejemplo-jesus2/maps_form.php on line 23&lt;br /&gt;
&lt;br /&gt;
Fatal error: Call to undefined method SimpleXMLElement::saveXML&amp;#40;&amp;#41; in /expert/htwebs/www1/ftprosas/www.ros-asociados.com/ejemplo-jesus2/maps_form.php on line 28&lt;br /&gt;
&lt;br /&gt;
¿Hay algún requisito de hosting? Tenemos Unix con PHP, MySQL...&lt;br /&gt;
¿Por qué borra el arcivo XML?&lt;br /&gt;
¿Algún error en el SimpleXMLElement?&lt;br /&gt;
¿Quizá tengamos que utilizar otra versión del jQuery?&lt;br /&gt;
&lt;br /&gt;
Muchas gracias por todo.&lt;br /&gt;
Un saludo.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2813</guid>
</item>
<item>
<title>jesusvld en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2812</link>
<description>Haber Isus, espero no sea demasiado tarde, aca te dejo en link con los archivos de ejemplo: http://www.ribosomatic.com/ejemplos/gmaps-form/gmaps-form.zip&lt;br /&gt;
&lt;br /&gt;
No puede acceder al link que me dejastes. Me cuentas.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2812</guid>
</item>
<item>
<title>Isus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2809</link>
<description>Perdona una vez más mi insistencia, como te he comentado es algo muy urgente.&lt;br /&gt;
Parece que el error está en esta línea:&lt;br /&gt;
&lt;br /&gt;
$xml = new SimpleXMLElement&amp;#40;$fh&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
Gracias de nuevo y disculpa las molestias.&lt;br /&gt;
Un saludo,&lt;br /&gt;
Isusko</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2809</guid>
</item>
<item>
<title>Isus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2808</link>
<description>Perdona de nuevo Jesús. He vuelto ha hacer el ejemplo con tus archivos para que encuentres el error lo más fácil posible. Está en www.ros-asociados.com/ejemplo-jesus los archivos los he llamado exactamente como tu maps_form.php, markers.xml y jquery-1.2.6.min.js&lt;br /&gt;
Creo que el problema está en la parte de código de la página php, en la cabecera, entre las etiquetas &amp;lt;?php y ?&amp;gt;&lt;br /&gt;
Gracias de nuevo.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2808</guid>
</item>
<item>
<title>Isus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2807</link>
<description>Muchas gracias Jesús.&lt;br /&gt;
Pero ahora tengo varios problemas, al principio no me enviaba ni me leía los datos del archivo markers.xml y ahora me da una serie de errores que no entiendo. Estoy perdido y es un tema urgente. Te agradecería si me pudieras echar una mano o enviar el código para que lo coteje con el que yo tengo. Yo he publicado mi prueba en www.ros-asociados.com/googlemaps ahí están todos los archivos: markers.xml, index.php y jquery-1.2.6.min.js&lt;br /&gt;
Haz una prueba y verás los errores que te comento.&lt;br /&gt;
Gracias por tu ayuda.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2807</guid>
</item>
<item>
<title>jesusvld en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2802</link>
<description>iSus:&lt;br /&gt;
Asi es. Los datos se guardan en un archivo XML y no necesitan MySQL.&lt;br /&gt;
&lt;br /&gt;
Saludos.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2802</guid>
</item>
<item>
<title>iSus en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2800</link>
<description>Hola, esto te guarda los marcadores para próximas visitas?&lt;br /&gt;
No hace falta MySQL?&lt;br /&gt;
&lt;br /&gt;
Gracias, muy interesante.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2800</guid>
</item>
<item>
<title>jesusvld en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2781</link>
<description>Hola Daniel.&lt;br /&gt;
&lt;br /&gt;
Tiene que revisar la variable form que define al formulario html. Lo que tienes que hacer es escapar las comillas dobles con un slash invertido asi -&amp;gt; \&lt;br /&gt;
&lt;br /&gt;
Puedes ver el demo aquí:&lt;br /&gt;
http://www.ribosomatic.com/ejemplos/gmaps-form/maps_form.php&lt;br /&gt;
&lt;br /&gt;
Espero se soluciones tu problema.</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2781</guid>
</item>
<item>
<title>Daniel Acevedo en Agregar marcas en Google Maps con un formulario HTML (+ jQuery + XML + PHP)</title>
<link>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2779</link>
<description>Me pueden ayudar con esto, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
// si hay datos ...&lt;br /&gt;
if&amp;#40;isset&amp;#40;$_POST['submit']&amp;#41;&amp;#41; { &lt;br /&gt;
	// file_get_contents -&amp;gt; leer el contenido de un archivo&lt;br /&gt;
	$fh = file_get_contents&amp;#40;'marcadores.xml'&amp;#41;;  &lt;br /&gt;
          &lt;br /&gt;
    try {  &lt;br /&gt;
		// SimpleXMLElement- &amp;gt; leemos documentos XML&lt;br /&gt;
    	$xml = new SimpleXMLElement&amp;#40;$fh&amp;#41;;  &lt;br /&gt;
    } catch &amp;#40;Exception $e&amp;#41; {  &lt;br /&gt;
		// mensaje de error &lt;br /&gt;
        echo $e-&amp;gt;getMessage&amp;#40;&amp;#41;;  &lt;br /&gt;
    }  &lt;br /&gt;
    &lt;br /&gt;
	// addChild -&amp;gt; agregar un nodo nuevo&lt;br /&gt;
    $marker = $xml-&amp;gt;addChild&amp;#40;'marker'&amp;#41;;  &lt;br /&gt;
	&lt;br /&gt;
	// atributos&lt;br /&gt;
    $marker-&amp;gt;addAttribute&amp;#40;'lat', $_POST['lat']&amp;#41;;  &lt;br /&gt;
    $marker-&amp;gt;addAttribute&amp;#40;'lng', $_POST['lng']&amp;#41;;  &lt;br /&gt;
    $marker-&amp;gt;addAttribute&amp;#40;'msg', utf8_encode&amp;#40;$_POST['msg']&amp;#41;&amp;#41;;  &lt;br /&gt;
    $marker-&amp;gt;addAttribute&amp;#40;'name', utf8_encode&amp;#40;$_POST['name']&amp;#41;&amp;#41;;  &lt;br /&gt;
    $marker-&amp;gt;addAttribute&amp;#40;'link', utf8_encode&amp;#40;$_POST['link']&amp;#41;&amp;#41;;  &lt;br /&gt;
    &lt;br /&gt;
	// fopen-&amp;gt; abre un archivo&lt;br /&gt;
    $fp = fopen&amp;#40;'marcadores.xml','w'&amp;#41;;  &lt;br /&gt;
	// fwrite-&amp;gt; escribe sobre un archivo&lt;br /&gt;
    fwrite&amp;#40;$fp, $xml-&amp;gt;saveXML&amp;#40;&amp;#41;&amp;#41;; &lt;br /&gt;
	// fclose-&amp;gt; lo obvio ..&lt;br /&gt;
    fclose&amp;#40;$fp&amp;#41;;  &lt;br /&gt;
	&lt;br /&gt;
	// direccionamos a la misma pagina&lt;br /&gt;
    header&amp;#40;'Location:formulario_marcadores.php'&amp;#41;;  &lt;br /&gt;
}  &lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Formularios en Google Maps&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;!--tu codigo api para google maps aqui--&amp;gt;&lt;br /&gt;
&amp;lt;script src=&quot;http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=API_KEY&quot;&lt;br /&gt;
      type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!-- libreria jQuery --&amp;gt;&lt;br /&gt;
&amp;lt;script src=&quot;jquery-1.2.5.min.js&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
$&amp;#40;document&amp;#41;.ready&amp;#40;function&amp;#40;&amp;#41; {&lt;br /&gt;
    &lt;br /&gt;
	var mark;&lt;br /&gt;
	var pointA;&lt;br /&gt;
	&lt;br /&gt;
	if &amp;#40;GBrowserIsCompatible&amp;#40;&amp;#41;&amp;#41; {&lt;br /&gt;
		var m = $&amp;#40;&quot;#map&quot;&amp;#41;[0];&lt;br /&gt;
		&lt;br /&gt;
        if&amp;#40;m&amp;#41; {&lt;br /&gt;
			var map = new GMap2&amp;#40;m&amp;#41;;&lt;br /&gt;
			// iniciamos el mapa en esta ubicacion, tu puedes ubicarla donde gustes&lt;br /&gt;
			var start = new GLatLng&amp;#40;10.179033,-68.003075&amp;#41;;&lt;br /&gt;
			// otras configuraciones&lt;br /&gt;
			var zoomLevel = 8;&lt;br /&gt;
			map.setCenter&amp;#40;start, zoomLevel&amp;#41;;&lt;br /&gt;
			map.addControl&amp;#40;new GSmallMapControl&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt;
			&lt;br /&gt;
			// lectura del archivo markers.xml con jQuery&lt;br /&gt;
			$.get&amp;#40;'marcadores.xml',function&amp;#40;data&amp;#41; {  &lt;br /&gt;
				$&amp;#40;data&amp;#41;.find&amp;#40;'marker'&amp;#41;.each&amp;#40;function&amp;#40;&amp;#41;{&lt;br /&gt;
					var lat    = $&amp;#40;this&amp;#41;.attr&amp;#40;'lat'&amp;#41;;  &lt;br /&gt;
					var lng    = $&amp;#40;this&amp;#41;.attr&amp;#40;'lng'&amp;#41;;  &lt;br /&gt;
					var html   = $&amp;#40;this&amp;#41;.attr&amp;#40;'name'&amp;#41;+&quot;&amp;lt;br /&amp;gt;&quot;;&lt;br /&gt;
					html      += $&amp;#40;this&amp;#41;.attr&amp;#40;'msg'&amp;#41;+&quot;&amp;lt;br /&amp;gt;&quot;;&lt;br /&gt;
					html      += $&amp;#40;this&amp;#41;.attr&amp;#40;'link'&amp;#41;;&lt;br /&gt;
					var point  = new GLatLng&amp;#40;lat,lng&amp;#41;;  &lt;br /&gt;
					var marker = new GMarker&amp;#40;point&amp;#41;;  &lt;br /&gt;
&lt;br /&gt;
					map.addOverlay&amp;#40;marker&amp;#41;;  &lt;br /&gt;
&lt;br /&gt;
					GEvent.addListener&amp;#40;marker, &quot;click&quot;, function&amp;#40;&amp;#41; {  &lt;br /&gt;
						marker.openInfoWindowHtml&amp;#40;html&amp;#41;;  &lt;br /&gt;
					}&amp;#41;;&lt;br /&gt;
       &lt;br /&gt;
				}&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
			}&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
			// en cada nueva marca aparecerá el formulario HTML&lt;br /&gt;
			GEvent.addListener&amp;#40;map, 'click', function&amp;#40;overlay, point&amp;#41;{&lt;br /&gt;
				if&amp;#40;mark&amp;#41; {&lt;br /&gt;
					map.removeOverlay&amp;#40;mark&amp;#41;;&lt;br /&gt;
				}&lt;br /&gt;
				if&amp;#40;point&amp;#41; {&lt;br /&gt;
					pointA = new GPoint&amp;#40;point.x, point.y&amp;#41;;&lt;br /&gt;
					mark = new GMarker&amp;#40;pointA&amp;#41;;&lt;br /&gt;
					map.addOverlay&amp;#40;mark&amp;#41;;&lt;br /&gt;
					map.getCenter&amp;#40;point&amp;#41;;&lt;br /&gt;
					var lat = point.y;&lt;br /&gt;
					var lng = point.x;&lt;br /&gt;
					var form = &lt;br /&gt;
					&quot;&amp;lt;form action=&quot;formulario_marcadores.php&quot; method=&quot;post&quot;&amp;gt;&quot;+&lt;br /&gt;
						&quot;&amp;lt;input type=&quot;hidden&quot; name=&quot;lat&quot; value=&quot;&quot;+lat+&quot;&quot; /&amp;gt;&quot;+&lt;br /&gt;
						&quot;&amp;lt;input type=&quot;hidden&quot; name=&quot;lng&quot; value=&quot;&quot;+lng+&quot;&quot; /&amp;gt;&quot;+&lt;br /&gt;
						&quot;Código de la unidad:&amp;lt;input type=&quot;text&quot; name=&quot;name&quot; value=&quot;&quot; /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&lt;br /&gt;
						&quot;Dirección exacta:&amp;lt;input type=&quot;text&quot; name=&quot;msg&quot; value=&quot;&quot; /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&lt;br /&gt;
						&quot;Más información:&amp;lt;input type=&quot;text&quot; name=&quot;link&quot; value=&quot;&quot; /&amp;gt;&amp;lt;br /&amp;gt;&quot;+&lt;br /&gt;
						&quot;&amp;lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;save&quot; /&amp;gt;&quot;+&lt;br /&gt;
					&quot;&amp;lt;/form&amp;gt;&quot;;&lt;br /&gt;
					map.openInfoWindowHtml&amp;#40;point,form&amp;#41;;&lt;br /&gt;
				}&lt;br /&gt;
			}&amp;#41;;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&amp;#41;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;!-- obviamente el area de nuestro mapa --&amp;gt;&lt;br /&gt;
&amp;lt;div id=&quot;map&quot; style=&quot;width:1000px;height:600px;&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Donde está el error? no carga el mapa :&amp;#40; www.ettca.net/googlemapsapi/formulario_marcadores.php&lt;br /&gt;
&amp;#40;porsia, si coloque el api key&amp;#41;</description>
<guid isPermaLink='true'>http://www.ribosomatic.com/articulos/agregar-marcas-en-google-maps-con-un-formulario-html/#comentario-2779</guid>
</item>
</channel>
</rss>