Updated other extensions

This commit is contained in:
Oliver Davies 2016-04-13 11:47:10 +01:00
parent 4174948cc5
commit 1f60136bf3
11 changed files with 28 additions and 23 deletions

View file

@ -14,5 +14,5 @@ tags:
- unified-diff
---
{% block video %}
{{ vimeo('49827006')|raw }}
{{ vimeo('49827006') }}
{% endblock %}

View file

@ -18,7 +18,7 @@ slug: git-flow
tweets: yes
---
{% block slides %}
{{ speakerdeck('201559e0f103013198dd5a5f6f23ab67', '1.29456384323641')|raw }}
{{ speakerdeck('201559e0f103013198dd5a5f6f23ab67', '1.29456384323641') }}
{% endblock %}
{% block video %}
@ -26,8 +26,8 @@ tweets: yes
{% endblock %}
{% block feedback %}
{{ tweet('Great talk on git flow <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a></p>&mdash; CURVE (@CurveAgency) <a href="https://twitter.com/CurveAgency/status/440095250775035904">March 2, 2014</a>')|raw }}
{{ tweet('Great presentation by <a href="https://twitter.com/opdavies">@opdavies</a> on git flow at <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> very well prepared and presented. <a href="http://t.co/tDINp2Nsbn">pic.twitter.com/tDINp2Nsbn</a></p>&mdash; Greg Franklin (@gfranklin) <a href="https://twitter.com/gfranklin/status/440104311276969984">March 2, 2014</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Thanks for the talk today on git flow. Looking forward to use it. <a href="https://twitter.com/hashtag/drupalcampldn?src=hash">#drupalcampldn</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> <a href="https://twitter.com/hashtag/git?src=hash">#git</a></p>&mdash; Drupal Cafe UK (@drupal_cafe) <a href="https://twitter.com/drupal_cafe/status/440119608939278338">March 2, 2014</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/DrupalCampLDN">@DrupalCampLDN</a> always had trouble with git. Your talk + Git flow has made it all very easy.</p>&mdash; James Tombs (@jtombs) <a href="https://twitter.com/jtombs/status/440108072078696449">March 2, 2014</a>')|raw }}
{{ tweet('Great talk on git flow <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a></p>&mdash; CURVE (@CurveAgency) <a href="https://twitter.com/CurveAgency/status/440095250775035904">March 2, 2014</a>') }}
{{ tweet('Great presentation by <a href="https://twitter.com/opdavies">@opdavies</a> on git flow at <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> very well prepared and presented. <a href="http://t.co/tDINp2Nsbn">pic.twitter.com/tDINp2Nsbn</a></p>&mdash; Greg Franklin (@gfranklin) <a href="https://twitter.com/gfranklin/status/440104311276969984">March 2, 2014</a>') }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Thanks for the talk today on git flow. Looking forward to use it. <a href="https://twitter.com/hashtag/drupalcampldn?src=hash">#drupalcampldn</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> <a href="https://twitter.com/hashtag/git?src=hash">#git</a></p>&mdash; Drupal Cafe UK (@drupal_cafe) <a href="https://twitter.com/drupal_cafe/status/440119608939278338">March 2, 2014</a>') }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/DrupalCampLDN">@DrupalCampLDN</a> always had trouble with git. Your talk + Git flow has made it all very easy.</p>&mdash; James Tombs (@jtombs) <a href="https://twitter.com/jtombs/status/440108072078696449">March 2, 2014</a>') }}
{% endblock %}

View file

@ -15,5 +15,5 @@ tags:
- drush-make
---
{% block slides %}
{{ speakerdeck('42605700f102013198de5a5f6f23ab67', '1.29456384323641')|raw }}
{{ speakerdeck('42605700f102013198de5a5f6f23ab67', '1.29456384323641') }}
{% endblock %}

View file

@ -23,7 +23,7 @@ I categorised the technical changes into groups for site builders, developers an
{% endblock %}
{% block slides %}
{{ speakerdeck('46ba4ba577d94a32b7abdade610ceb69', '1.29456384323641')|raw }}
{{ speakerdeck('46ba4ba577d94a32b7abdade610ceb69', '1.29456384323641') }}
{% endblock %}
{% block video %}
@ -31,5 +31,5 @@ I categorised the technical changes into groups for site builders, developers an
{% endblock %}
{% block feedback %}
{{ tweet('Cool to hear how much new stuff is in <a href="https://twitter.com/drupal">@drupal</a> 8. Integrating with more third party code rather than rolling their own. <a href="https://twitter.com/hashtag/phpsw?src=hash">#phpsw</a></p>&mdash; Tom Robertshaw (@bobbyshaw) <a href="https://twitter.com/bobbyshaw/status/585882859631706114">April 8, 2015</a>')|raw }}
{{ tweet('Cool to hear how much new stuff is in <a href="https://twitter.com/drupal">@drupal</a> 8. Integrating with more third party code rather than rolling their own. <a href="https://twitter.com/hashtag/phpsw?src=hash">#phpsw</a></p>&mdash; Tom Robertshaw (@bobbyshaw) <a href="https://twitter.com/bobbyshaw/status/585882859631706114">April 8, 2015</a>') }}
{% endblock %}

View file

@ -23,9 +23,9 @@ This session covered how to install Sculpin itself, as well as how to use it to
{% endblock %}
{% block slides %}
{{ speakerdeck('54589d2e50a3476a9a75aed809e9edf1', '1.77777777777778')|raw }}
{{ speakerdeck('54589d2e50a3476a9a75aed809e9edf1', '1.77777777777778') }}
{% endblock %}
{% block feedback %}
{{ tweet('Twig said &#39;foo&#39;, then Sculpin said &#39;bar&#39;. They agreed to go spaceless ;-)&#10;&#10;Interesting talk by <a href="https://twitter.com/opdavies">@opdavies</a> &#10;<a href="https://twitter.com/hashtag/dcnorth15?src=hash">#dcnorth15</a> <a href="http://t.co/26GmhiCdfJ">http://t.co/26GmhiCdfJ</a></p>&mdash; Stefan van Hooft (@hooftio) <a href="https://twitter.com/hooftio/status/624898550158200832">July 25, 2015</a>')|raw }}
{{ tweet('Twig said &#39;foo&#39;, then Sculpin said &#39;bar&#39;. They agreed to go spaceless ;-)&#10;&#10;Interesting talk by <a href="https://twitter.com/opdavies">@opdavies</a> &#10;<a href="https://twitter.com/hashtag/dcnorth15?src=hash">#dcnorth15</a> <a href="http://t.co/26GmhiCdfJ">http://t.co/26GmhiCdfJ</a></p>&mdash; Stefan van Hooft (@hooftio) <a href="https://twitter.com/hooftio/status/624898550158200832">July 25, 2015</a>') }}
{% endblock %}

View file

@ -30,9 +30,9 @@ In each point, tried to cover the differences between Drupal core and developing
{% endblock %}
{% block slides %}
{{ speakerdeck('ffa9b6dea6dc4a8eb207b9982ed6e1bd', '1.33333333333333')|raw }}
{{ speakerdeck('ffa9b6dea6dc4a8eb207b9982ed6e1bd', '1.33333333333333') }}
{% endblock %}
{% block feedback %}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/Horls">@Horls</a> <a href="https://twitter.com/mhwelander">@mhwelander</a> <a href="https://twitter.com/ThisisZone">@ThisisZone</a> <a href="https://twitter.com/mozzy16">@mozzy16</a> Thanks for a top night of knowledge sharing! <a href="https://twitter.com/hashtag/drupal?src=hash">#drupal</a> <a href="https://twitter.com/hashtag/episerver?src=hash">#episerver</a> <a href="https://twitter.com/hashtag/sitecore?src=hash">#sitecore</a> <a href="https://twitter.com/hashtag/umbraco?src=hash">#umbraco</a> <a href="https://twitter.com/hashtag/h5yr?src=hash">#h5yr</a></p>&mdash; umBristol (@umBristol) <a href="https://twitter.com/umBristol/status/636290498362216449">August 25, 2015</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/Horls">@Horls</a> <a href="https://twitter.com/mhwelander">@mhwelander</a> <a href="https://twitter.com/ThisisZone">@ThisisZone</a> <a href="https://twitter.com/mozzy16">@mozzy16</a> Thanks for a top night of knowledge sharing! <a href="https://twitter.com/hashtag/drupal?src=hash">#drupal</a> <a href="https://twitter.com/hashtag/episerver?src=hash">#episerver</a> <a href="https://twitter.com/hashtag/sitecore?src=hash">#sitecore</a> <a href="https://twitter.com/hashtag/umbraco?src=hash">#umbraco</a> <a href="https://twitter.com/hashtag/h5yr?src=hash">#h5yr</a></p>&mdash; umBristol (@umBristol) <a href="https://twitter.com/umBristol/status/636290498362216449">August 25, 2015</a>') }}
{% endblock %}

View file

@ -24,7 +24,7 @@ You can [view the full slides](/slides/phpsw/building-static-websites-with-sculp
{% endblock %}
{% block slides %}
{{ speakerdeck('6c9c4be1a1344f1291ff13a391674a66', '1.37081659973226')|raw }}
{{ speakerdeck('6c9c4be1a1344f1291ff13a391674a66', '1.37081659973226') }}
{% endblock %}
{% block video %}
@ -32,5 +32,5 @@ You can [view the full slides](/slides/phpsw/building-static-websites-with-sculp
{% endblock %}
{% block feedback %}
{{ tweet('Simple and very cool use of video in <a href="https://twitter.com/opdavies">@opdavies</a> lightning talk <a href="https://twitter.com/phpsw">@phpsw</a> to show how to do things</p>&mdash; Stuart Herbert (@stuherbert) <a href="https://twitter.com/stuherbert/status/654367259339661312">October 14, 2015</a>')|raw }}
{{ tweet('Simple and very cool use of video in <a href="https://twitter.com/opdavies">@opdavies</a> lightning talk <a href="https://twitter.com/phpsw">@phpsw</a> to show how to do things</p>&mdash; Stuart Herbert (@stuherbert) <a href="https://twitter.com/stuherbert/status/654367259339661312">October 14, 2015</a>') }}
{% endblock %}

View file

@ -43,11 +43,11 @@ What we wont be covering:
{% endblock %}
{% block slides %}
{{ speakerdeck('0041804e52664d12a8e31cd118264813', '1.77777777777778')|raw }}
{{ speakerdeck('0041804e52664d12a8e31cd118264813', '1.77777777777778') }}
{% endblock %}
{% block feedback %}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> good talk on Getting started with Drupal 8 module development! 😀</p>&mdash; Michael trestianu (@Tresti88) <a href="https://twitter.com/Tresti88/status/706129843134570496">March 5, 2016</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Great talk. Thanks.</p>&mdash; John Bloomfield (@jbloomfield) <a href="https://twitter.com/jbloomfield/status/706131469148811264">March 5, 2016</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> definitely went well , I learnt from it , as did a others .</p>&mdash; tim marsh (@timmarsh) <a href="https://twitter.com/timmarsh/status/706214342027567104">March 5, 2016</a>')|raw }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> good talk on Getting started with Drupal 8 module development! 😀</p>&mdash; Michael trestianu (@Tresti88) <a href="https://twitter.com/Tresti88/status/706129843134570496">March 5, 2016</a>') }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Great talk. Thanks.</p>&mdash; John Bloomfield (@jbloomfield) <a href="https://twitter.com/jbloomfield/status/706131469148811264">March 5, 2016</a>') }}
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> definitely went well , I learnt from it , as did a others .</p>&mdash; tim marsh (@timmarsh) <a href="https://twitter.com/timmarsh/status/706214342027567104">March 5, 2016</a>') }}
{% endblock %}

View file

@ -13,13 +13,14 @@ class SpeakerDeckExtension extends Twig_Extension
public function getFunctions()
{
return [
new Twig_SimpleFunction('speakerdeck', [$this, 'embedCode']),
new Twig_SimpleFunction('speakerdeck', [$this, 'embedCode'], [
'is_safe' => ['html']
]),
];
}
public function embedCode($dataId, $dataRatio)
{
// <script async class="speakerdeck-embed" data-id="0041804e52664d12a8e31cd118264813" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
return sprintf(
'<script async class="speakerdeck-embed" data-id="%s" data-ratio="%s" src="//speakerdeck.com/assets/embed.js"></script>',
$dataId,

View file

@ -13,7 +13,9 @@ class TweetExtension extends Twig_Extension
public function getFunctions()
{
return [
new Twig_SimpleFunction('tweet', [$this, 'render']),
new Twig_SimpleFunction('tweet', [$this, 'render'], [
'is_safe' => ['html']
]),
];
}

View file

@ -10,7 +10,9 @@ class VimeoExtension extends Twig_Extension
public function getFunctions()
{
return [
new Twig_SimpleFunction('vimeo', [$this, 'embedCode'])
new Twig_SimpleFunction('vimeo', [$this, 'embedCode'], [
'is_safe' => ['html']
])
];
}