« RSS feeds for tags | Main | smilies for your entries »

RDF versions of your blog entries

I seem to be on an XML kick lately, lol. The latest thing I've been playing around with is semantic weblog posts. This involves creating an RDF version of your blog entries to support the Semantic Web.

Basically, it involves creating an alternate format of the entry that presents the data in a structured way that is meaningful to computers, similar to RSS feeds. An example of how this can be useful is Piggy Bank, a Firefox extension that allows you to view RDF data in a nice format in your browser and do things with it.

I started with the template at HubLog, but then decided to modify it based on an article about adding more metadata with Movable Type. I made a few tweaks because of an issue with dynamically-generated pages in MT 2.661. Because I'm using MT 2.661, I used this method for dynamically generating the RDF files. The template is at "rdf" here.

Check out the finished product. To get the full effect, you would need to be using Piggy Bank in Firefox (note: what you would need to do is go to the regular entry page in Firefox and click the data coin icon in the status bar. For me, the data from the RDF file is on page 4).

Later: I made a few more modifications after looking up the RSS 1.0 specs, especially the modules. Check the template file for the latest.

Related

This tip is built on the following tip(s):

The following tip(s) expand on this tip:

This entry is about templates. The ten most recent entries also about this topic are:

RSS feeds for tags

allow people to import lists of links from your blog

creating a backup blog

show your revision history

show all comments by an author

a brief user's guide to mt-view.cgi

create a global listing of entries

show who you've cited

show who you've linked to

printable version, part 2

View all entries about templates.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2