XML format for a Post

From LabTrove Documentation
Revision as of 16:21, 22 November 2012 by Jsr2 (talk) (13 revisions: Import of old wiki)

Jump to: navigation, search

If you choose to export a Entry from a Notebook in XML format, the following elements are recorded in the XML file for the Entry:

Element Description
id identification number of the Entry
rid revision number
title the title of the Entry
section the metadata description of the Entry
author stores author information
username the authentication URL
name the name of the author
content stores the raw content of the Entry
html stores the HTML content (raw content + HTML tags)
datestamp the datetime of the original Entry
timestamp the datetime of the most recent revision
blog the id number of the Notebook
key the key associated with the Entry
metadata <key> elements where 'key' can be any name and the element contains the value of the 'key'
links link data for the Entry
uri the URI of the Entry
permalink the permalink of the Entry
formats formats available for the Entry
format Mime type of resource (HTML, XML, or PNG) and associated URL
comments stores the comments about the Entry
id identification number of the comment
author author of the comment
title title of the comment
content raw content of the comment
html html content (raw content plus HTML tags
datestamp the datetime of the comment


Additional elements for Entry with files

Effect Games Found In
attached_data:data URL for the XML information about the attached data files


XML elements for files

Effect Games Found In
id id of the data file
uploaded the date and time that the file was uploaded
post the Entry to which the file was added
dataitems:dataitem information about the attached file including format and URL


Owing to the evolution of LabTrove Notebooks from a blog-based system, some internal variables do still use the term blog.

What to do next