cvs: presentations /slides/intro ws3.xml ws4.xml ws5.xml

From: Date: Sun, 18 Sep 2005 20:12:54 +0000
Subject: cvs: presentations /slides/intro ws3.xml ws4.xml ws5.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1197@lists.php.net to get a copy of this message
rasmus Sun Sep 18 16:12:54 2005 EDT Modified files: /presentations/slides/intro ws3.xml ws4.xml ws5.xml Log: Put a couple of deps in the slides http://cvs.php.net/diff.php/presentations/slides/intro/ws3.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/ws3.xml diff -u presentations/slides/intro/ws3.xml:1.3 presentations/slides/intro/ws3.xml:1.4 --- presentations/slides/intro/ws3.xml:1.3 Fri Sep 16 23:08:24 2005 +++ presentations/slides/intro/ws3.xml Sun Sep 18 16:12:50 2005 @@ -2,7 +2,7 @@ <blurb> SOAP makes my head hurt. Let's look at some stuff we can all actually understand instead. </blurb> -<example title="Take a pinch of RSS" result="1" fontsize="1.6em" rfontsize="1.2em"><![CDATA[<?php +<example title="Take a pinch of RSS" result="1" fontsize="1.6em" rfontsize="1.2em" required_extension="simplexml"><![CDATA[<?php $url = 'http://buzz.yahoo.com/feeds/buzzoverl.xml'; $xml = @simplexml_load_file($url); if($xml) { http://cvs.php.net/diff.php/presentations/slides/intro/ws4.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/ws4.xml diff -u presentations/slides/intro/ws4.xml:1.3 presentations/slides/intro/ws4.xml:1.4 --- presentations/slides/intro/ws4.xml:1.3 Fri Sep 16 23:08:24 2005 +++ presentations/slides/intro/ws4.xml Sun Sep 18 16:12:50 2005 @@ -17,7 +17,7 @@ context string (required) The context to extract terms from (UTF-8 encoded). query string An optional query to help with the extraction process.</example> -<example title="Example" fontsize="1.4em" rfontsize="1.3em" result="1"><![CDATA[<?php +<example title="Example" fontsize="1.4em" rfontsize="1.3em" result="1" required_extension="tidy"><![CDATA[<?php $context = "Italian sculptors and painters of the ". "renaissance favored the Virgin Mary for inspiration."; $url = 'http://api.search.yahoo.com/ContentAnalysisService/V1/termExtraction'; http://cvs.php.net/diff.php/presentations/slides/intro/ws5.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/ws5.xml diff -u presentations/slides/intro/ws5.xml:1.3 presentations/slides/intro/ws5.xml:1.4 --- presentations/slides/intro/ws5.xml:1.3 Fri Sep 16 23:08:24 2005 +++ presentations/slides/intro/ws5.xml Sun Sep 18 16:12:50 2005 @@ -15,7 +15,7 @@ </photos> </rsp>]]></example> -<example fontsize="1.2em" title="We can parse it like this" result="1" marginright="0em"><![CDATA[<?php +<example fontsize="1.2em" title="We can parse it like this" result="1" marginright="0em" required_extension="simplexml"><![CDATA[<?php function photo_url($p, $size='s', $ext='jpg') { return "http://photos{$p['server']}.flickr.com/{$p['id']}_{$p['secret']}_{$size}.{$ext}"; }

« previous php.pres (#1197) next »