MyBlog Demo Application

The MyBlog application makes use of Sesame (over HTTP, see the "Up and running with the Sesame Triple Store in 10 minutes guide for more information), RDFLib and Cherrypy.

MyBlog Python source
Cherrypy (tiny HTTP application server): Version 3.1.2

To see the Common Tags on a viewEntry page you can use RDFa Hightlight bookmarklet

To create the "instant topic hub" uncomment the small code block in viewTag.html

The app also contains a tiny Linked Data Server. Try hitting http://127.0.0.1:9080/ns/<a blog entry identifier>. This LOD server handles the 303 information resource redirect, but does not engage in any content negotiation. We include it to show how easy it is to add a Linked Data interface to any application you write, if it is backed by a triple store.

For example, if your blog entry view URI was:
http://127.0.0.1:9080/viewEntry?id=http%3A%2F%2Fsemprog.com%2Fvocabs%2Fmyblog%23entry-2009-06-13T21%3A34%3A27.580708

Try:
http://127.0.0.1:9080/ns/http%3A%2F%2Fsemprog.com%2Fvocabs%2Fmyblog%23entry-2009-06-13T21%3A34%3A27.580708

Notice that you land on the URI:
http://127.0.0.1:9080/rdf/http%3A%2F%2Fsemprog.com%2Fvocabs%2Fmyblog%23entry-2009-06-13T21%3A34%3A27.580708

This is handled by the "default" method in myblog.py