com presentations: Tweaks for the Geo talk at MongoDB Stockholm: mongo-geo-stockholm13.xml slides/mongodb/few-words-about-osm.xml
slides/mongodb/geojson-polygon.xml slides/mongodb/resources.xml slides/mongodb/title.xml templates/default/bullet.ezt
templates/default/slide-agenda-page.ezt templates/default/slide-section-agenda.ezt templates/default/slide.ezt
| From: | Derick Rethans | Date: | Thu, 18 Apr 2013 12:47:03 +0000 |
| Subject: | com presentations: Tweaks for the Geo talk at MongoDB Stockholm: mongo-geo-stockholm13.xml slides/mongodb/few-words-about-osm.xml slides/mongodb/geojson-polygon.xml slides/mongodb/resources.xml slides/mongodb/title.xml templates/default/bullet.ezt templates/default/slide-agenda-page.ezt templates/default/slide-section-agenda.ezt templates/default/slide.ezt |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1880@lists.php.net to get a copy of this message | ||
Commit: 7beddc5671446b9e0272aed799e4578d98b5553f
Author: Derick Rethans <github@derickrethans.nl> Thu, 18 Apr 2013 13:46:36 +0100
Parents: 3a4901efdc60efd1a1e1d7df3cdba68eb6e693a8
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=7beddc5671446b9e0272aed799e4578d98b5553f
Log:
Tweaks for the Geo talk at MongoDB Stockholm
Changed paths:
M mongo-geo-stockholm13.xml
M slides/mongodb/few-words-about-osm.xml
M slides/mongodb/geojson-polygon.xml
M slides/mongodb/resources.xml
M slides/mongodb/title.xml
M templates/default/bullet.ezt
A templates/default/slide-agenda-page.ezt
A templates/default/slide-section-agenda.ezt
M templates/default/slide.ezt
Diff:
diff --git a/mongo-geo-stockholm13..xml b/mongo-geo-stockholm13.xml
index 1b39434..85d8ac3 100644
--- a/mongo-geo-stockholm13.xml
+++ b/mongo-geo-stockholm13.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<presentation css="10gen-strict.css">
<topic>MongoDB</topic>
-<title>Finding a Pub with MongoDB 2.4 Geo Features</title>
+<title>Finding a Pub with MongoDB</title>
<event>MongoDB Stockholm</event>
<location>Stockholm, Sweden</location>
<date>May 3rd, 2013</date>
diff --git a/slides/mongodb/few-words-about-osm.xml b/slides/mongodb/few-words-about-osm.xml
index 0304170..11d04f1 100644
--- a/slides/mongodb/few-words-about-osm.xml
+++ b/slides/mongodb/few-words-about-osm.xml
@@ -7,6 +7,6 @@
<bullet>The data is free to download and use under its open license.</bullet>
<bullet>It's sort of a WikiPedia for map data</bullet>
</list>
-<break lines="4"/>
+<break lines="2"/>
<image filename="../map/osm.png"/>
</slide>
diff --git a/slides/mongodb/geojson-polygon.xml b/slides/mongodb/geojson-polygon.xml
index 422d502..482e384 100644
--- a/slides/mongodb/geojson-polygon.xml
+++ b/slides/mongodb/geojson-polygon.xml
@@ -5,26 +5,26 @@
<example>
{
- "_id" : "w161490892",
- "ty" : NumberLong(2),
- "l" : {
- "type" : "Polygon",
- "coordinates" : [
- [
- [ -0.1356425, 51.497671 ],
- [ -0.1355737, 51.4975662 ],
- [ -0.1354639, 51.4975815 ],
- [ -0.1354536, 51.497694 ],
- [ -0.1356425, 51.497671 ]
- ]
- ]
- },
- "ts" : [
- "amenity=pub",
- "building=yes",
- "name=The Albert",
- "real_ale=yes"
- ]
+ "_id" : "w161490892",
+ "ty" : NumberLong(2),
+ "l" : {
+ "type" : "Polygon",
+ "coordinates" : [
+ [
+ [ -0.1356425, 51.497671 ],
+ [ -0.1355737, 51.4975662 ],
+ [ -0.1354639, 51.4975815 ],
+ [ -0.1354536, 51.497694 ],
+ [ -0.1356425, 51.497671 ]
+ ]
+ ]
+ },
+ "ts" : [
+ "amenity=pub",
+ "building=yes",
+ "name=The Albert",
+ "real_ale=yes"
+ ]
}
</example>
diff --git a/slides/mongodb/resources.xml b/slides/mongodb/resources.xml
index fad6849..0a2af53 100644
--- a/slides/mongodb/resources.xml
+++ b/slides/mongodb/resources.xml
@@ -1,12 +1,11 @@
-<slide type="title">
-<title>Resources</title>
-
+<slide type="thanks">
+<break/>
<qrcode>http://derickrethans.nl/talks/:-:talk_id:-:</qrcode>
<blurb class="event-presenter">
-Slides: :-:joindin:-:<br/>
-:-:speaker:-: — @:-:twitter:-: — :-:email:-:
+Slides:<br/>:-:joindin:-:<br/><br/>
+:-:speaker:-:—@:-:twitter:-:—:-:email:-:
</blurb>
-<div class="footer">
+<div class="footer-thanks">
<image align="left" filename="10gen.png" pdf-scale="0.4"
x-offset="2" y-offset="12.3"/>
<image align="right" filename="mongodb.png" pdf-scale="0.4"
x-offset="18" y-offset="13.3"/>
</div>
diff --git a/slides/mongodb/title.xml b/slides/mongodb/title.xml
index 30a1328..2950cb4 100644
--- a/slides/mongodb/title.xml
+++ b/slides/mongodb/title.xml
@@ -2,11 +2,8 @@
<break lines="4"/>
<blurb class="event-title">:-:title:-:</blurb>
<break lines="1"/>
-<blurb class="event-presenter">
-Derick Rethans - :-:email:-:<br/>
-@:-:twitter:-:<br/>
-:-:joindin:-:
-</blurb>
+<blurb class="event-presenter">Derick
Rethans—:-:email:-:—@:-:twitter:-:</blurb>
+<blurb class="pres-url-small">:-:joindin:-:</blurb>
<div class="footer">
<image align="left" filename="10gen-small.png" pdf-scale="0.4"
x-offset="2" y-offset="12.3"/>
<image align="right" filename="mongodb-small.png" pdf-scale="0.4"
x-offset="18" y-offset="13.3"/>
diff --git a/templates/default/bullet.ezt b/templates/default/bullet.ezt
index 8624959..f7a85bd 100644
--- a/templates/default/bullet.ezt
+++ b/templates/default/bullet.ezt
@@ -5,7 +5,9 @@
{if is_set( $child->tagName )}
{include $child->tagName . '.ezt' send $child as $node, $pres, true as $inline}
{else}
- {raw format_text( $pres, $child->nodeValue )}
+ {if str_trim( $child->nodeValue ) != ''}
+ {raw format_text( $pres, $child->nodeValue )}
+ {/if}
{/if}
{/foreach}
</p>
diff --git a/templates/default/slide-agenda-page.ezt b/templates/default/slide-agenda-page.ezt
new file mode 100644
index 0000000..bcb1846
--- /dev/null
+++ b/templates/default/slide-agenda-page.ezt
@@ -0,0 +1,4 @@
+{use $node, $pres, $slideNr}
+<div class='agenda-slide'>
+{include 'slide-contents.ezt' send $node, $pres}
+</div>
diff --git a/templates/default/slide-section-agenda.ezt b/templates/default/slide-section-agenda.ezt
new file mode 100644
index 0000000..bcb1846
--- /dev/null
+++ b/templates/default/slide-section-agenda.ezt
@@ -0,0 +1,4 @@
+{use $node, $pres, $slideNr}
+<div class='agenda-slide'>
+{include 'slide-contents.ezt' send $node, $pres}
+</div>
diff --git a/templates/default/slide.ezt b/templates/default/slide.ezt
index de393d8..a160981 100644
--- a/templates/default/slide.ezt
+++ b/templates/default/slide.ezt
@@ -52,6 +52,9 @@ $(document).ready(function() {
{literal}
$("*[class^='effect']").hide();
$("*[class^='effect-fade-out']")..show();
+ var f = $("div div:first").select(":first");
+
+ $("body").addClass(f[0].className);
{/literal}
{literal}
});
@@ -115,6 +118,9 @@ $('*').keypress(function(event) {
<body{if $img} style='background-image: url({$pres->base}{$img});'{/if}>
<div class='whole-slide{if $maincolor} template-{$maincolor}{/if}'>
{switch ( get_attribute( $node, 'type' ) )}
+ {case 'agenda'}
+ {include 'slide-agenda-page.ezt' send $node, $pres, $slideNr}
+ {/case}
{case 'section'}
{include 'slide-section-page.ezt' send $node, $pres, $slideNr}
{/case}