svn: /web/presentations/trunk/ hacku.xml slides/intro/book.xml slides/intro/sx.xml
| From: | Rasmus Lerdorf | Date: | Thu, 10 Sep 2009 21:33:06 +0000 |
| Subject: | svn: /web/presentations/trunk/ hacku.xml slides/intro/book.xml slides/intro/sx.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1594@lists.php.net to get a copy of this message | ||
rasmus Thu, 10 Sep 2009 21:33:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288248
Log:
Tweaks for the next HackU series of talks
Changed paths:
U web/presentations/trunk/hacku.xml
U web/presentations/trunk/slides/intro/book.xml
U web/presentations/trunk/slides/intro/sx.xml
Modified: web/presentations/trunk/hacku.xml
===================================================================
--- web/presentations/trunk/hacku.xml 2009-09-10 17:45:29 UTC (rev 288247)
+++ web/presentations/trunk/hacku.xml 2009-09-10 21:33:06 UTC (rev 288248)
@@ -5,12 +5,12 @@
navbarbackground="url(images/trans-ffffff.png)"
logo1="images/php-med-trans-light.gif"
titlesize="2em"
- navbarheight="4.1em"
+ navbarheight="3.4em"
>
<topic>PHP</topic>
-<title>HackU at UMich</title>
-<location>Ann Arbor, MI</location>
-<date>Mar. 17, 2009</date>
+<title>HackU at UIUC</title>
+<location>Champaign, IL</location>
+<date>Sept. 14, 2009</date>
<speaker>Rasmus Lerdorf</speaker>
<email>rasmus@php.net</email>
<url>http://talks.php.net/show/hacku</url>
Modified: web/presentations/trunk/slides/intro/book.xml
===================================================================
--- web/presentations/trunk/slides/intro/book.xml 2009-09-10 17:45:29 UTC (rev 288247)
+++ web/presentations/trunk/slides/intro/book.xml 2009-09-10 21:33:06 UTC (rev 288248)
@@ -1,9 +1,9 @@
<books>
- <book>
+ <book id="1">
<title>The Grapes of Wrath</title>
<author>John Steinbeck</author>
</book>
- <book>
+ <book id="2">
<title>The Pearl</title>
<author>John Steinbeck</author>
</book>
Modified: web/presentations/trunk/slides/intro/sx.xml
===================================================================
--- web/presentations/trunk/slides/intro/sx.xml 2009-09-10 17:45:29 UTC (rev 288247)
+++ web/presentations/trunk/slides/intro/sx.xml 2009-09-10 21:33:06 UTC (rev 288248)
@@ -1,10 +1,10 @@
<slide title="Simple XML">
<example title="Book XML File"><![CDATA[<books>
- <book>
+ <book id="1">
<title>The Grapes of Wrath</title>
<author>John Steinbeck</author>
</book>
- <book>
+ <book id="2">
<title>The Pearl</title>
<author>John Steinbeck</author>
</book>
@@ -13,7 +13,7 @@
$books = simplexml_load_file('presentations/slides/intro/book.xml');
foreach ($books->book as $book) {
- echo "{$book->title} was written by {$book->author}<br>\n";
+ echo "{$book['id']}. {$book->title} was written by
{$book->author}<br>\n";
}
?>]]></example>
</slide>