« Future updates | Main | Creating links to auto-populate the form fields »

The XML behind your content

A recent request came up for access to the raw text that gets entered into a projects annotations. I have developed a number of primitive tools over the past year that I have been using for internal purposes. In light of this request I am releasing these pages to the public for your own consumption as they cannot be used to edit your content but are simple ways to gain access to the content you develop. Keep in mind they are nothing fancy aesthetically, but are quite functional in nature :)

I recommend that faculty utilize this first page to extract the raw data entered into the system as a back-up should it be necessary. It also is a great way to render the annotations so they can be searched using a browsers built-in search functionality. Below you will see two links that are quite similar:

EDIT In VideoANT:
http://ant.umn.edu/vae.php?pid=1254943410

Same project extracted:
http://ant.umn.edu/extractANT.php?pid=1254943410

In other words, change the EDIT link from your projects email from vae.php to extractANT.php and leave everything else in place and you get a raw text dump. The time is coded here in seconds so you will get giant numbers that need converted if you want to know their amount in minutes. We have some tools that use this code and need the time in total seconds or I would do this automagically with the php. It is very raw.

You can also get this same data as an XML feed if you would ever need that for any reason:
http://ant.umn.edu/select.php?pid=1254943410

Same deal, change the EDIT URL to "select.php" instead of "vae.php" and you get the proxy XML. You may need to view source on that link if your browser does not include default XSLT treatment. This version of the data is "escaped" meaning that the text is in unicode which needs converted in order to be read legibly. The extractANT.php was developed for folks that needed simplistic access to the content. For those that have a use for developing around the XML feed, you can use the "select.php" version for your needs if desired.

Hopefully this is somewhat useful!