In this weekend side-hustle series, we’re building a Progressive Web App (PWA) for desktop and mobile that delivers WordPress content using Ionic, Angular, and the WordPress API. In Part 1, we got everything setup and working. In Part 2, we created a richer presentation of the WordPress Posts using Ionic cards. In Part 3, we implemented […]

In this weekend side-hustle series, we’re building a Progressive Web App (PWA) for desktop and mobile that delivers WordPress content using Ionic, Angular, and the WordPress API. In Part 1, we got everything setup and working. In part 2, we created a richer presentation of the WordPress Posts using Ionic cards. Today, we’ll implement the single […]

In this weekend’s side-hustle series, we’re building a Progressive Web App (PWA) for desktop and mobile that delivers WordPress content using Ionic, Angular, and the WordPress API. In Part 1, we got everything setup and working. If you haven’t seen Part 1, I recommend that you start there. Today, for Part 2, we will convert the […]

This is my personal cheat sheet for Microsoft Visual Studio Code (VS Code). It may be sparse at the moment, but I’m sure it will grow over time. Mainly, this is to record little commands and things that I am constantly forgetting (especially unique ones related to the unique plugins I use). HTML Tag Wrap […]

A tool that helps you write schema.org markup

Hans Polak has created a tool  for web designers to facilitate the creation of valid HTML5 schema.org  semantic schema’s. Using schema.org semantics to describe content allows search engines (Google, Bing, Yahoo, Yandex) to comprehend the content of web pages. Google, for example, can use these semantics to present search results with rich snippets (contextually better layouts). If you’ve ever […]

When developing with the Carbon LDP JavaScript SDK and using the sparqler library, you could stumble upon the error: Error: The used prefix has not been declared. In one case where I generated this error, the complete console error was as follows: ExploreComponent.html:48 ERROR Error: The used prefix has not been declared at IRIResolver.push../node_modules/sparqler/iri/IRIResolver.js.IRIResolver.resolve (IRIResolver.js:23) […]

The conditional (ternary) operator is the only JavaScript operator that takes three operands and it is frequently used as a shortcut for the if statement. // If isMember (first argument) evaluates to true, return “$2:00” (first expression), // else return “$10.00” (second expression) function getFee(isMember) { return (isMember ? “$2.00” : “$10.00”); } // Another […]

Example SPARQL queries that can help you list the classes in an ontology. List all classes PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?type WHERE { ?s a ?type. } Note: The SPARQL keyword a is a shortcut for the common predicate rdf:type, giving the class of a resource. List root classes SELECT ?directSub ?super WHERE { […]