My next book - Working with Static Sites

I’ve mentioned this a few times in passing now but never “formally” announced it. My next book, along with my good friend Brian Rinaldi, will be published by O’Reilly later this year. As you know, I’ve been blogging and presenting quite a bit on static sites lately, and I’m happy to say that I’m part of a team writing a new book on the topic. “Working with Static Sites” covers multiple different static site generators as well topics covering publishing your static sites and including dynamic elements in them.

Read more

Scraping URLs from a Sitemap File

Yesterday I wrote about a person who is stealing my content (and others) for their blog. As part of my process to fight against this jerk I had to file a DCMA claim that includes the URLs of the offending content. In order to get all the URLs, I had to work with their site map, copy the content, and use XPath to get the URL values. I decided to whip up a quick tool that would automate the entire process.

Read more

Fighting against a content stealer on Blogger

About two weeks ago a reader sent me a question concerning one of my blogs. While not unusual, the URL was. Apparently, a site on Blogger is automatically copying my content from my site (along with content from Andy Trice and Christophe Coenraets). Currently they have 402 copies (I’ll explain how I know that in a minute) and of course, they will have a copy of this post too - in about 30 minutes.

Read more

Deciding what client-side storage system to use

This isn’t a new topic for this blog, but as a good buddy of mine asked me about this yesterday, and we ended up having a good conversation about it on IM, I thought it would be nice to write up what we discussed so I could share it with others. The conversation started with a simple question: Are you a proponent of local and session storage for hybrid apps, since web sql is deprecated?

Read more

Working with Ionic Native - Shake, Rattle, and Roll

Forgive the slightly dramatic title of the blog post - I just get a bit excited when I test something new and it actually works well! For today’s post, I’m looking at something new with Ionic - Ionic Native. Ionic Native is the spiritual successor to the older ngCordova project. Basically - it provides an Ionic/Angular friendly interface to many common Apache Cordova plugins. To be clear, this isn’t something you have to use in your Ionic application, but it can make using plugins a bit simpler.

Read more

New POC - DailyReddit

For the past few weeks (mainly due to travel) I’ve been working on a little POC (proof of concept) for an application that most people will probably think doesn’t make sense. I’m still somewhat of a new Reddit user. I’m not really an active participant either. I’ve got some subreddits I check almost daily, some a bit less, and I’ll maybe do 3-4 posts per month. Maybe. I found myself doing the same thing whenever I wanted to check the site.

Read more

An Ionic 1 and 2 app side by side

Yesterday I gave a presentation to the Ionic NYC Meetup (a damn nice group of people!) and needed to quickly build a pretty simple Ionic app to speak to a LoopBack server. Because I wanted something quick and dirty, I just whipped up an Ionic 1 application. I wrapped it earlier than expected, so decided to see if I could switch it to Ionic 2 before the presentation. I was able to finish it, and I thought it might be kind of cool to compare both versions.

Read more

Linking to PDFs in Cordova apps

In today’s “I wonder what happens when…” post, I decided to take a look at what happens when you try to use a PDF with a hybrid mobile application. I know that PDFs, in general, “just work” on both Android and iOS, but I was specifically curious about how you would use PDFs within a Cordova app. As usual, what I thought would be rather simple turned into anything but that.

Read more