cvs: presentations /slides/intro acon05_ref.xml afup05_ref.xml fossin_ref.xml fossin_web2.xml hackref.xml nz1_ref.xml uiucref.xml ws6.xml yul_ref.xml
pres2 objects.php
| From: | Rasmus Lerdorf | Date: | Tue, 16 Oct 2007 18:14:35 +0000 |
| Subject: | cvs: presentations /slides/intro acon05_ref.xml afup05_ref.xml fossin_ref.xml fossin_web2.xml hackref.xml nz1_ref.xml uiucref.xml ws6.xml yul_ref.xml pres2 objects.php |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1433@lists.php.net to get a copy of this message | ||
rasmus Tue Oct 16 18:14:35 2007 UTC
Modified files:
/pres2 objects.php
/presentations/slides/intro acon05_ref.xml afup05_ref.xml
fossin_ref.xml fossin_web2.xml
hackref.xml nz1_ref.xml uiucref.xml
ws6.xml yul_ref.xml
Log:
Javascript syntax highlighting and fix some old links
http://cvs.php.net/viewvc.cgi/pres2/objects.php?r1=1.160&r2=1.161&diff_format=u Index: pres2/objects.php diff -u pres2/objects.php:1.160 pres2/objects.php:1.161 --- pres2/objects.php:1.160 Sat Jul 21 14:02:53 2007 +++ pres2/objects.php Tue Oct 16 18:14:35 2007 @@ -391,7 +391,6 @@ print `echo "{$text}" | c2html -cs`; break; case 'xml': - $prog = trim(`which code2html`); if (!empty($prog)) { $text = str_replace('"', '\\"', $this->text); @@ -402,6 +401,17 @@ echo "<pre>".htmlspecialchars($this->text)."</pre>\n"; } break; + case 'javascript': + $prog = trim(`which code2html`); + if (!empty($prog)) { + $text = str_replace('"', '\\"', $this->text); + echo "<pre>\n"; + print `echo "{$text}" | $prog -ljavascript -ohtml-light --no-header | sed -e 's/ /\ \;\ /g'`; + echo "</pre>"; + } else { + $this->_highlight_none($_html_filename); + } + break; default: echo "<pre>".htmlspecialchars($this->text)."</pre>\n"; http://cvs.php.net/viewvc.cgi/presentations/slides/intro/acon05_ref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/acon05_ref.xml diff -u presentations/slides/intro/acon05_ref.xml:1.2 presentations/slides/intro/acon05_ref.xml:1.3 --- presentations/slides/intro/acon05_ref.xml:1.2 Fri Jan 27 01:27:19 2006 +++ presentations/slides/intro/acon05_ref.xml Tue Oct 16 18:14:35 2007 @@ -6,6 +6,6 @@ <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.lerdorf.com/show/acon05"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="Xdebug: " href="http://xdebug.org/"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/afup05_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/afup05_ref.xml diff -u presentations/slides/intro/afup05_ref.xml:1.1 presentations/slides/intro/afup05_ref.xml:1.2 --- presentations/slides/intro/afup05_ref.xml:1.1 Wed Nov 9 11:33:37 2005 +++ presentations/slides/intro/afup05_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/afup05"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/fossin_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/fossin_ref.xml diff -u presentations/slides/intro/fossin_ref.xml:1.1 presentations/slides/intro/fossin_ref.xml:1.2 --- presentations/slides/intro/fossin_ref.xml:1.1 Wed Nov 30 07:55:39 2005 +++ presentations/slides/intro/fossin_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/fossin_xss"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/fossin_web2.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/fossin_web2.xml diff -u presentations/slides/intro/fossin_web2.xml:1.1 presentations/slides/intro/fossin_web2.xml:1.2 --- presentations/slides/intro/fossin_web2.xml:1.1 Wed Nov 30 07:55:39 2005 +++ presentations/slides/intro/fossin_web2.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/fossin_web2"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/hackref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/hackref.xml diff -u presentations/slides/intro/hackref.xml:1.2 presentations/slides/intro/hackref.xml:1.3 --- presentations/slides/intro/hackref.xml:1.2 Fri Oct 5 18:31:51 2007 +++ presentations/slides/intro/hackref.xml Tue Oct 16 18:14:35 2007 @@ -1,7 +1,7 @@ <slide title="Resources"> <break lines="6"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.net/hacku/"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.com/hacku/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Photos Scott Beale: " href="laughingsquid.com"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/nz1_ref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/nz1_ref.xml diff -u presentations/slides/intro/nz1_ref.xml:1.2 presentations/slides/intro/nz1_ref.xml:1.3 --- presentations/slides/intro/nz1_ref.xml:1.2 Fri Jan 27 01:27:19 2006 +++ presentations/slides/intro/nz1_ref.xml Tue Oct 16 18:14:35 2007 @@ -6,6 +6,6 @@ <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.lerdorf.com/show/nz1"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="Xdebug: " href="http://xdebug.org/"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/uiucref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/uiucref.xml diff -u presentations/slides/intro/uiucref.xml:1.1 presentations/slides/intro/uiucref.xml:1.2 --- presentations/slides/intro/uiucref.xml:1.1 Tue Oct 9 21:15:38 2007 +++ presentations/slides/intro/uiucref.xml Tue Oct 16 18:14:35 2007 @@ -1,7 +1,7 @@ <slide title="Resources"> <break lines="6"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.net/hacku/"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.com/hacku/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Example App: " href="http://lerdorf.com/people/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ws6.xml?r1=1.6&r2=1.7&diff_format=u Index: presentations/slides/intro/ws6.xml diff -u presentations/slides/intro/ws6.xml:1.6 presentations/slides/intro/ws6.xml:1.7 --- presentations/slides/intro/ws6.xml:1.6 Fri Sep 28 18:07:53 2007 +++ presentations/slides/intro/ws6.xml Tue Oct 16 18:14:35 2007 @@ -42,6 +42,6 @@ </Result> </ResultSet>]]></example> -<link fontsize="3em" marginleft="3em" leader="Docs: " href="http://developer.yahoo.net/maps/"/> +<link fontsize="3em" marginleft="3em" leader="Docs: " href="http://developer.yahoo.com/maps/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/yul_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/yul_ref.xml diff -u presentations/slides/intro/yul_ref.xml:1.1 presentations/slides/intro/yul_ref.xml:1.2 --- presentations/slides/intro/yul_ref.xml:1.1 Thu Mar 30 17:48:44 2006 +++ presentations/slides/intro/yul_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,5 +5,5 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/yul"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> </slide>
http://cvs.php.net/viewvc.cgi/pres2/objects.php?r1=1.160&r2=1.161&diff_format=u Index: pres2/objects.php diff -u pres2/objects.php:1.160 pres2/objects.php:1.161 --- pres2/objects.php:1.160 Sat Jul 21 14:02:53 2007 +++ pres2/objects.php Tue Oct 16 18:14:35 2007 @@ -391,7 +391,6 @@ print `echo "{$text}" | c2html -cs`; break; case 'xml': - $prog = trim(`which code2html`); if (!empty($prog)) { $text = str_replace('"', '\\"', $this->text); @@ -402,6 +401,17 @@ echo "<pre>".htmlspecialchars($this->text)."</pre>\n"; } break; + case 'javascript': + $prog = trim(`which code2html`); + if (!empty($prog)) { + $text = str_replace('"', '\\"', $this->text); + echo "<pre>\n"; + print `echo "{$text}" | $prog -ljavascript -ohtml-light --no-header | sed -e 's/ /\ \;\ /g'`; + echo "</pre>"; + } else { + $this->_highlight_none($_html_filename); + } + break; default: echo "<pre>".htmlspecialchars($this->text)."</pre>\n"; http://cvs.php.net/viewvc.cgi/presentations/slides/intro/acon05_ref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/acon05_ref.xml diff -u presentations/slides/intro/acon05_ref.xml:1.2 presentations/slides/intro/acon05_ref.xml:1.3 --- presentations/slides/intro/acon05_ref.xml:1.2 Fri Jan 27 01:27:19 2006 +++ presentations/slides/intro/acon05_ref.xml Tue Oct 16 18:14:35 2007 @@ -6,6 +6,6 @@ <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.lerdorf.com/show/acon05"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="Xdebug: " href="http://xdebug.org/"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/afup05_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/afup05_ref.xml diff -u presentations/slides/intro/afup05_ref.xml:1.1 presentations/slides/intro/afup05_ref.xml:1.2 --- presentations/slides/intro/afup05_ref.xml:1.1 Wed Nov 9 11:33:37 2005 +++ presentations/slides/intro/afup05_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/afup05"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/fossin_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/fossin_ref.xml diff -u presentations/slides/intro/fossin_ref.xml:1.1 presentations/slides/intro/fossin_ref.xml:1.2 --- presentations/slides/intro/fossin_ref.xml:1.1 Wed Nov 30 07:55:39 2005 +++ presentations/slides/intro/fossin_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/fossin_xss"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/fossin_web2.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/fossin_web2.xml diff -u presentations/slides/intro/fossin_web2.xml:1.1 presentations/slides/intro/fossin_web2.xml:1.2 --- presentations/slides/intro/fossin_web2.xml:1.1 Wed Nov 30 07:55:39 2005 +++ presentations/slides/intro/fossin_web2.xml Tue Oct 16 18:14:35 2007 @@ -5,6 +5,6 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/fossin_web2"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/hackref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/hackref.xml diff -u presentations/slides/intro/hackref.xml:1.2 presentations/slides/intro/hackref.xml:1.3 --- presentations/slides/intro/hackref.xml:1.2 Fri Oct 5 18:31:51 2007 +++ presentations/slides/intro/hackref.xml Tue Oct 16 18:14:35 2007 @@ -1,7 +1,7 @@ <slide title="Resources"> <break lines="6"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.net/hacku/"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.com/hacku/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Photos Scott Beale: " href="laughingsquid.com"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/nz1_ref.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/nz1_ref.xml diff -u presentations/slides/intro/nz1_ref.xml:1.2 presentations/slides/intro/nz1_ref.xml:1.3 --- presentations/slides/intro/nz1_ref.xml:1.2 Fri Jan 27 01:27:19 2006 +++ presentations/slides/intro/nz1_ref.xml Tue Oct 16 18:14:35 2007 @@ -6,6 +6,6 @@ <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.lerdorf.com/show/nz1"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="Xdebug: " href="http://xdebug.org/"/> -<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/uiucref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/uiucref.xml diff -u presentations/slides/intro/uiucref.xml:1.1 presentations/slides/intro/uiucref.xml:1.2 --- presentations/slides/intro/uiucref.xml:1.1 Tue Oct 9 21:15:38 2007 +++ presentations/slides/intro/uiucref.xml Tue Oct 16 18:14:35 2007 @@ -1,7 +1,7 @@ <slide title="Resources"> <break lines="6"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.net/hacku/"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="Hack Day: " href="http://developer.yahoo.com/hacku/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Example App: " href="http://lerdorf.com/people/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ws6.xml?r1=1.6&r2=1.7&diff_format=u Index: presentations/slides/intro/ws6.xml diff -u presentations/slides/intro/ws6.xml:1.6 presentations/slides/intro/ws6.xml:1.7 --- presentations/slides/intro/ws6.xml:1.6 Fri Sep 28 18:07:53 2007 +++ presentations/slides/intro/ws6.xml Tue Oct 16 18:14:35 2007 @@ -42,6 +42,6 @@ </Result> </ResultSet>]]></example> -<link fontsize="3em" marginleft="3em" leader="Docs: " href="http://developer.yahoo.net/maps/"/> +<link fontsize="3em" marginleft="3em" leader="Docs: " href="http://developer.yahoo.com/maps/"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/yul_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/yul_ref.xml diff -u presentations/slides/intro/yul_ref.xml:1.1 presentations/slides/intro/yul_ref.xml:1.2 --- presentations/slides/intro/yul_ref.xml:1.1 Thu Mar 30 17:48:44 2006 +++ presentations/slides/intro/yul_ref.xml Tue Oct 16 18:14:35 2007 @@ -5,5 +5,5 @@ <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/yul"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> -<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.net/"/> +<link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> </slide>