Archive | August, 2017

KSES Allow Twitter Widget Embed

$allowedposttags["script"] = array(); $allowedposttags[‘a’][‘data-widget-id’] = true; The two little lines above keep the Twitter tag search widget embed code (below) from getting cleansed in the WordPress Editor. <a class="twitter-timeline" href="https://twitter.com/search?q=%23vcusocy%20OR%20%23digisoc%20OR%20%23digitaldata%20OR%20%23socydigitaldata" data-widget-id="832281528470216705">Tweets about #vcusocy OR #digisoc OR #digitaldata OR #socydigitaldata</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> Keeping a chunk of these extra-curricular allowed elements in a plugin allows us to […]

Weekly Web Harvest for 2017-08-20

Death of an earl – Thomas Morris Then Doctor West came, who advised a frying pan made red hot to be applied to the head… A ‘glyster’ is an enema. Tobacco enemas were widely used at this date in resuscitation – the standard treatment in cases of drowning. So although blowing tobacco smoke up a […]

Vive Video Tip

We’ve been dabbling in the VR world with Vive and video captured via the Ricoh Theta S. The Ricoh video resolution isn’t great but for loaning out to faculty it’s simple and won’t end the world if it’s blown over by the wind on a moor in Ireland.1 Step one got us the example above […]

Vive Video Tip

We’ve been dabbling in the VR world with Vive and video captured via the Ricoh Theta S. The Ricoh video resolution isn’t great but for loaning out to faculty it’s simple and won’t end the world if it’s blown over by the wind on a moor in Ireland.1 Step one got us the example above […]

Weekly Web Harvest for 2017-08-13

Huge Blobs of Fat and Trash Are Filling the World’s Sewers In China, fat from sewers and traps is illicitly scooped, cleaned up—though not well—and sold on the black market as “gutter oil.” In cheap restaurants and street stalls, your dinner might even be cooked in gutter oil. 3DHOP – Home 3DHOP (3D Heritage Online […]

Weekly Web Harvest for 2017-08-06

Three dinosaurs beheaded ‘with angle grinder’ at Australian museum “We went out to check it out and three of our dinosaurs here have been decapitated,” museum staffer Mitchell Seymour told the Australian Broadcasting Corporation. A Web Diet: Converting WordPress Sites Over to Static Sites | Adam Croom for future archiving considerations “Adversarial perturbations” reliably trick […]

reveal js tweak for iframe backgrounds

I’m a fan of reveal.js and have been using it to build all of my recent presentations. It feels like it fits what I do really well. The fact that it’s just a website that behaves a certain way means I can do all kinds of fun things that blend both the web-based examples and […]

Archiving Slack Channels

Since we’re making channels in Slack via our project creation, it made sense to archive them when the project was completed. In projects (this particular post type) we have a custom field for the start date of the project and one for the end date of the project. Step one is to check on updates […]

WP API Posts Plugin

This is a little plugin I wrote while working with Jon Becker to build out the Ed Leadership Hub site. Essentially, we wanted students to be able to fill out a quick form and build out a profile page. As is my my wont, I went the Gravity Forms route. They could give a short […]