19

Weekly Web Harvest for 2017-11-12

Strange and Curious Wills of the Georgian Era in the Canterbury Court – Geri Walton WILLIAM SHACKELL, ESQ. – Governor of Plymouth – 12 October 1782 “I desire that my body may be kept as long as it may not be offensive, and that one of my toes or fingers may be cut off to secure a certainty of my being dead, I also make this further request to my dear wife, that as she has been troubled with one old fool, she will not think of marrying a second.” Interactive marginalia – Liza Daly – Medium marginalia and annotation considerations . . . Character Building – Futility Closet A man gets well pummelled at a public school; is subject to every misery and every indignity which seventeen years of age can inflict upon nine and ten; has his eye nearly knocked out, and his clothes stolen and cut to pieces; and twenty years afterwards, when he is a chrysalis, and has forgotten the miseries of his grub state, is determined to act a manly part in life, and says, ‘I passed through all that myself, and I am determined my son shall pass through it as I have done;’ and away goes his bleating progeny to the tyranny and servitude of the long chamber or the large dormitory. It […]

A screenshot of the site on codepen that has the three columns of html, css, and javascript visible.

Headless(-ish) WordPress Example

This is a bit of an odd one but possibly odd enough to be interesting. The Scenario We can’t run WordPress on the University servers but we’ve got a bunch of people who have content on WordPress and like that editing experience. They also want VCU domains which are much harder to get for off-site servers. The Proposal What if we take one of those sites and see what we can do with the REST API data in a headless1 HTML/JS/CSS only environment? I also wanted to keep it out of Vue or other larger javascript frameworks so it’d be less abstract to explain. At this point I am unsure that was a great choice but I can make a different choice next time. More Details The faculty member already had a WordPress site. It had a bunch of pages and had no posts. The faculty member also wanted the header image to change on various pages and for a sub-menu to be created on certain pages. The Proof of Concept – Step One HTML Shell I opted to sketch out the HTML portion loosely with Bootstrap 4. Initially, I’d gone to one of the HTML5Up templates but pulled back as it added a chunk more complexity than I needed initially. Plus, I knew Matt was going to handle taking […]

13

YouTube Full Screen Player Page from Playlist

The request was that we do something interesting with the random screens we have scattered around our area. It seemed like it’d be easy to make a little full-page player for a YouTube playlist with some lightweight overlays to emphasize the connection with our department. Handling the videos displayed via a playlist makes it easy to add/remove content and the making the logo overlays part of the webpage let us keep things consistent across videos we didn’t control. Since we weren’t activating sound by default turning on captions by default was also a key need. The codepen example is here. The HTML is dead simple. We’ve got a wrapper div which lets us make it full screen, an ytplayer div for the videos, and two divs to do the logos. The javascript is pretty much a cut/paste from the YouTube API docs. There are a few changes to reference the playlist instead of a single video and some stuff around closed captions and that’s noted below. The main tweak here is to get the fullscreen video to behave. I use this pattern from CSS tricks. The other stuff just staples some divs over the lower corners to show the logos.

12

Weekly Web Harvest for 2017-11-05

Various – Don’t Trust Your Neighbors: Early Albanian Traditional Songs & Improvisations, 1920s-1930s (Vinyl, LP) at Discogs Various ?– Don’t Trust Your Neighbors: Early Albanian Traditional Songs & Improvisations, 1920s-1930s In the Land of Vendettas That Go On Forever | VQR Online Prenga burst into the station with his brother and a cabal of associates, discharging several rounds of gunfire and hollering, “We will eradicate your tribe!” Theme 1: The information environment will not improve. The problem is human nature | Pew Research Center Theme 1: The information environment will not improve. The problem is human nature Why an (interactive) picture is worth a thousand numbers – O’Reilly Media Miriah Meyer explores how interactive visualizations can help us find meaning in mounds of data. MNT Reform: DIY Portable Computer For a long time, I wanted a portable personal computer which you can… Repair by yourself with parts from the hardware store or 3D printing Thoroughly understand on any level Take apart, modify and upgrade without regret Adapt to your tastes and use cases, staying with you for many years In Summer/Autumn 2017 I teamed up with industrial designer Ana Dantas to make this machine happen. Three months later, I can type this article on the first prototype of Reform, our DIY portable computer. Fact Checks  |  Search  |  Google Developers If […]

05

Weekly Web Harvest for 2017-10-29

Theme 1: The information environment will not improve. The problem is human nature | Pew Research Center Theme 1: The information environment will not improve. The problem is human nature Why an (interactive) picture is worth a thousand numbers – O’Reilly Media Miriah Meyer explores how interactive visualizations can help us find meaning in mounds of data. MNT Reform: DIY Portable Computer For a long time, I wanted a portable personal computer which you can… Repair by yourself with parts from the hardware store or 3D printing Thoroughly understand on any level Take apart, modify and upgrade without regret Adapt to your tastes and use cases, staying with you for many years In Summer/Autumn 2017 I teamed up with industrial designer Ana Dantas to make this machine happen. Three months later, I can type this article on the first prototype of Reform, our DIY portable computer. Fact Checks  |  Search  |  Google Developers If you have a web page that reviews a claim made by others, you can include a ClaimReview structured data element on your web page. This element enables Google Search results to show a summarized version of your fact check when your page appears in search results for that claim. The world’s biggest grave robbery: Asia’s disappearing WWII shipwrecks | World news | The Guardian Experts said […]

29

Weekly Web Harvest for 2017-10-22

The Massively Friendly World of Competitive Giant Pumpkin Growing – Atlas Obscura “We’re to the point where we pass out seeds, hand out information, invite everybody to come to our meetings and tell them everything we know,” Jutras says. “If people want to do the work, I hope they do and grow a personal best … We have a saying: ‘You don’t grow these from the couch.’” —–is it when ideas get separated from additional work that people get secretive and weird? h/t Jon Becker Daydream Labs: Accessibility in VR . So we’ve been exploring how spatial audio cues can be used for navigating and interacting with virtual environments. This Light Bulb Confuses Smartphone Cameras To Protect | Co.Design Researchers have developed a new light that can protect locker rooms and stage performances from omnipresent smartphone surveillance. — world is going to get stranger and stranger as machines fight and cooperate with one another in ways we can’t see/hear (that whole umwelt thing) -andre bergs- Protanopia is a digital comic for Ipad and Iphone. Created as an experiment into the possibilities of digital comics. Using elements from 3D and 2D animation in a realtime game engine, it creates an unique visual style, whilst still having a familiar feeling. Amazon to end virtual textbook contract with UMass The university received its […]

22

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.” An REI membership entitles a customer to 10 percent back on purchases every year. In this case, it also gave the FBI a name — Michael Estes. After releasing a still photo from the surveillance footage, authorities found Estes in downtown Asheville. He was arrested on Oct. 7. Worldly Wise – Futility Closet If work were good for you, the rich would leave none for the poor.

15

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 […]

13

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.

12

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.