cvs: presentations / mysql06.xml /slides/intro ws6.xml ws8.xml

From: Date: Tue, 25 Apr 2006 08:20:47 +0000
Subject: cvs: presentations / mysql06.xml /slides/intro ws6.xml ws8.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1300@lists.php.net to get a copy of this message
rasmus Tue Apr 25 08:20:47 2006 UTC Added files: /presentations mysql06.xml Modified files: /presentations/slides/intro ws6.xml ws8.xml Log: MySQL Conf talk http://cvs.php.net/viewcvs.cgi/presentations/slides/intro/ws6.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/ws6.xml diff -u presentations/slides/intro/ws6.xml:1.2 presentations/slides/intro/ws6.xml:1.3 --- presentations/slides/intro/ws6.xml:1.2 Wed Apr 19 07:39:07 2006 +++ presentations/slides/intro/ws6.xml Tue Apr 25 08:20:47 2006 @@ -6,7 +6,8 @@ <example title="REST Query to look up an address" result="0" fontsize="1.8em" marginright="0em"><![CDATA[http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=:-:location:-:]]></example> <example hide="1" result="1" title="Returned XML"><![CDATA[<?php -$data = file_get_contents("http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=:-:location:-:"); +$loc = urlencode(':-:location:-:'); +$data = file_get_contents("http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=$loc"); $data = preg_replace("|<(/.*?)>|","<\\1>\n",$data); $data = preg_replace("|\">|","\">\n",$data); echo nl2br(htmlspecialchars($data)); @@ -14,7 +15,7 @@ <example fontsize="1.2em" title="We can parse it like this" result="1" marginright="0em" required_extension="simplexml"><![CDATA[<?php $url = 'http://api.local.yahoo.com/MapsService/V1/geocode'; - $url .= '?appid=YahooDemo&location=:-:location:-:'; + $url .= '?appid=YahooDemo&location='.urlencode(':-:location:-:'); $xml = simplexml_load_file($url); $ret['precision'] = (string)$xml->Result['precision']; $ret['warning'] = (string)$xml->Result['warning']; http://cvs.php.net/viewcvs.cgi/presentations/slides/intro/ws8.xml?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/intro/ws8.xml diff -u presentations/slides/intro/ws8.xml:1.4 presentations/slides/intro/ws8.xml:1.5 --- presentations/slides/intro/ws8.xml:1.4 Wed Apr 19 07:39:07 2006 +++ presentations/slides/intro/ws8.xml Tue Apr 25 08:20:47 2006 @@ -31,7 +31,8 @@ jsmap.addTypeControl(); jsmap.addZoomLong(); jsmap.setMapType('YAHOO_SAT'); -jsmap.drawZoomAndCenter(":-:location:-:", 16); +jsmap.drawZoomAndCenter(":-:location:-:", 13); +jsmap.addNavigatorControl(); </script>]]></example> </slide> http://cvs.php.net/viewcvs.cgi/presentations/mysql06.xml?view=markup&rev=1.1 Index: presentations/mysql06.xml +++ presentations/mysql06.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <topic>PHP</topic> <title>Getting Rich with PHP</title> <event>MySQL User Conf</event> <location>Santa Clara</location> <date>Apr.25, 2006</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <url>http://talks.php.net/show/mysql06</url> <slide>slides/intro/titlepage.xml</slide> <slide>slides/intro/rich.xml</slide> <slide>slides/intro/rich2.xml</slide> <slide>slides/bm06/profit.xml</slide> <slide>slides/bm06/initial.xml</slide> <slide>slides/bm06/pg.xml</slide> <slide>slides/bm06/pg_persist.xml</slide> <slide>slides/bm06/mysql.xml</slide> <slide>slides/bm06/apc.xml</slide> <slide>slides/bm06/apc2.xml</slide> <slide>slides/intro/php5.xml</slide> <slide>slides/intro/xml_eg.xml</slide> <slide>slides/intro/rss_flickr.xml</slide> <slide>slides/intro/ws3.xml</slide> <slide>slides/intro/ws6.xml</slide> <slide>slides/intro/ws7.xml</slide> <slide>slides/intro/ws8.xml</slide> <slide>slides/intro/ws9.xml</slide> <slide>slides/intro/yajax.xml</slide> <slide>slides/intro/yajax_apc.xml</slide> <slide>slides/intro/yui.xml</slide> <slide>slides/intro/web2_ref.xml</slide> </presentation>

« previous php.pres (#1300) next »