Community

Weekly Web Harvest for 2017-10-15

Suspect In Would-Be Airport Bombing Nabbed With Help From REI : The Two-Way : NPR
There was no video footage this time. And again, the man paid cash. But, Anderson writes, “the individual … used an REI membership number when paying.”…

Outsmarting Google: Generating Download Links with Google App Script

Outsmarting Google: Generating Download Links with Google App Script

For the most part, I love working with Google App Script. The APIs are what you expect them to be. Most of the features are well-documented. Heck, I’ve even tried to build Google Sheets into a small relational database. But after you’ve been around the block for awhile, you realize there is this odd black […]

The post Outsmarting Google: Generating Download Links with Google App Script appeared first on Jeff Everhart.

Weekly Web Harvest for 2017-10-08

youtube-dl/README.md at master · rg3/youtube-dl download youtube videos with many options from terminal h/t Wes Bos Typography in ten minutes | Butterick’s Practical Typography : if you learn and fol­low these five ty­pog­ra­phy rules, you will be a bet­ter ty­pog­ra­pher than 95% of pro­fes­sional writ­ers and 70% of pro­fes­sional de­sign­ers. (The rest of this book will raise you to the 99th per­centile in both categories.) Pollen: the book is a program Pollen is a publishing system that helps authors make functional and beautiful digital books. The Bet I Made with Teachers All Around the United States Last Year – dy/dan My point in all of this is that math teachers have names for their numbers, much in the same way that ornithologists have names for their birds. And much in the same way that ornithologists haven’t given me a reason to care about the difference between a Woodlark and a Skylark, math teachers often fail to motivate the difference between rational numbers and integers and whole numbers and imaginary numbers and supernatural numbers. The difference is that ornithology isn’t a course that’s required for high school graduation and university enrollment and labor market participation. Kids aren’t forced to study ornithology for twelve years of their childhood. So I’m inviting us to ask ourselves: “Why did we invent these categories of […]

Remove H1 Option from WordPress TinyMCE Editor

In terms of basic accessibility guidelines each page should have only one H1 element. In WordPress that’s usually built into the template and is usually the title of the post or page. I was thinking about that last night and wondered if we should just remove it as an option from the TinyMCE editor in WordPress. Removing options goes against my typical stance but I couldn’t think of any scenarios that demanded an H1 element but plenty of scenarios where offering it seemed like it’d create confusion. A brief perusal of the WordPress Codex’s TinyMCE section led to the code above. I put it in our generic network-activated plugin for Rampages. Next steps could include integrating a filter in kses to remove/replace H1 elements with H2 elements but that’ll wait for now as it seems a chunk more aggressive.

Conditional Content Display in Gravity Forms Templates

I don’t know when the conditional shortcode was added or if it has always existed and I was just unaware . . . but the ability to use a shortcode wrapper to show/not show portions of content in blog posts created via Gravity Forms is all kinds of handy. As a quick example, the following content would not show if the entry to the form field {What’s up?:1} was empty. In the past, if we didn’t have the wrapper and we had no response on the ‘What’s up?’ field we’d be left with the awkward ‘ – more words’ being there. This is so very nice for optional content where you might want to add additional html structure — like a link to an attachment but *only* if the attachment exists. It solves so very many problems so easily. You could also display different additional HTML elements based on the response to specific field entries. Like if a ranking on a scale of 1-5 is a 5 show a particular overly happy gif.

Contact us

Academic Learning Transformation Lab - ALT Lab
1000 Floyd Ave, Suite 4102 | Richmond, Virginia 23284
altlab@vcu.edu | 804-827-5181

Last updated: September 26, 2017

Virginia Commonwealth University