FOR SOME strange reason developers seem surprised when I tell them I love using Prolog for web development. I understand it's not a popular choice, but it is a suitable one. In this post I explain why I think Prolog is great for web development, and introduce Simple Web, which I developed to lower the barrier to entry.
DAY 2 of the PyWeek Challenge. Combat and creativity was harder than anticipated, but we've got monster generation, they move and melee combat is implemented. Plus there's a nicer GUI with basic HUD. We can also go down the dungeon through the normal world, and to make testing easy, you can never die!
GOOGLE MAKES extensive use of Semantic Web technologies, although they prefer the term Knowledge Graph. In this post I'll show you how to add structured data to a Flask Blog app, with JSON-LD and Jinja2 templates to help Google understand your content, which in turn should improve SEO.
TWITTER USE the Semantic Web. More specifically they use RDFa markup to define Twitter Cards, which they use to make your website look good when someone tweets it. In this post I'll show you how to include this in a Flask blog application with a Jinja2 template.
FACEBOOK USE the Semantic Web. They have an ontology called "Open Graph" that links your webpage into their social graph. This means when someone shares your webpage on Facebook, it'll look how you've specified. In this post I'll show you how to include this in a Flask blog application with a Jinja2 template.
AN INTRODUCTION to programming the Semantic Web using Python and Flask. We'll make an RDF file to describe ourselves, serve it via Flask, use data from it in a template, encode it into our HTML, and link to it from our HTML.