Adding Download Support in an Eleventy Site

I was thinking recently about how I would add "Downloads" support to an Eleventy site. By that I mean, a site where you have various resources (PDFs, zip, etc) and want to provide a way to let users download them in a consistent manner, as well as how basic tracking could be done as well. I came up with a few ideas I’d like to share, but as always, please let me know what you’ve done and what you would suggest. Method 1 – Meta Refresh For my first attempt, I imagined a site where I’ve got some files up in S3 (like I do for my images here) and I’d like to take a directory and set them up as resources. So for example, imagine a _data file named downloads.json: {... more →
Posted in: JavaScript

Download Data as a File with Alpine.js

As my readers know, I’ve been updating some of my earlier Vue.js examples to demonstrate how they would work with Alpine.js. Normally I post these "conversions" when I see one of the Vue posts pop up in my stats. Today I noticed this entry was "trending" – Vue Quick Shot – Downloading Data as a File. I thought it would be a great candidate for showing an Alpine version. Let’s take a look. While I won’t repeat everything from the previous post, I’ll quickly cover how it worked. First, it makes use of the download attribute of the anchor tag. This will take a normal link operation and instead ask the browser to download the resource at the... more →
Posted in: JavaScript

Red Dead Redemption 2 App: How to download Red Red 2 Companion App on iOS and Android – Daily Star

Daily Star Red Dead Redemption 2 App: How to download Red Red 2 Companion App on iOS and AndroidDaily StarThe Western-themed adventure game is their biggest to date, both in terms of map and playtime. Some estimate it would take at least 60 hours to complete the main mission – excluding all the side missions. Rockstar has also released a companion app …and more » map app – Google News… more →
Posted in: Interactive Maps

Red Dead Redemption 2 App download: How to download Companion App for iOS and Android – Express.co.uk

Express.co.uk Red Dead Redemption 2 App download: How to download Companion App for iOS and AndroidExpress.co.ukThe map is a helpful tool considering how often you will need to refer to it. The app also displays your character Arthur Morgan's core information and statistics in real-time on your device, allowing you to completely remove the in-game status bar …Red Dead Redemption 2 will let you use your tablet as a map, no pausing requiredTechCrunchRed Dead Redemption 2 Companion App: Here's What It DoesGameSpotRed Dead Redemption 2 Companion App will put your game's map on your phoneNotebookcheck.net (press release)Geeky Gadgets –Variety –Polygon –YouTubeall... more →
Posted in: Interactive Maps

Seychelles: A Seychelles Map App – Download the Islands – AllAfrica.com

Seychelles: A Seychelles Map App – Download the IslandsAllAfrica.comVictoria — No more paper maps of the islands. Visitors can find their way around the archipelago by downloading an app to their iPhones and iPads. Jollypress, a Seychellois company, is offering maps of the island nation for free on Apple devices. The …and more » map app – Google News… more →
Posted in: Interactive Maps