Friday, April 8, 2011

Simple syntax for the publisher

I want one for my browser.
We need a set of simple formatting text for arbitrary data sets, a simple script that can go inside tags and create a display objects from transformed data lists.

I like the gnuplot syntax, and that should be a simple translation to svg charting tags, within the browser.
I like sql, that should be within the web editor.
For a row of csv data I like this:
<csv data="1,2,3,4"/>
get csv resource;
select data from resource;
set xlabel;
plot data;

The Xtools are great in simple forms, or in behind the scenes macros. They are not for casual use as syntax in a word processing document. Sophisticated groups can use deeper Xtools, not the blogger. Everything needs to derive from plain text formats, within the document:


Web publishers and bloggers can specify a standard set of resources, automatically place in local object store.

 For example. I could tag five or six Fred data files for my blog. My specialized readers know it is Fred data, so they enable automatic updates of local store. All the same plotting capability exists, henceforth, via simple tagged scripts in the document. But plots are all local, instantaneous.

If there is a csv definition in xml, and the text element looks like: 'f1,f2,f3,', then we have ths possibility of the simplest insert with sql. With an optional change of delimiter, we have a basic encoding for the frame object row.

No comments: