-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean html format and microformats #80
Comments
Hm the logic to parse pieces and identify them as a time, geo and so forth are idd something that a semantifier needs to do. I think the HTML formatter should remain agnostic, and just "html-ize" the php object ? Perhaps in future versions of TDT ( there are plans for a full semantified core TDT ) these kinds of "smart" formatters could be enabled. |
We can't have an agnostic formatter if we want the described kind of output. But we can have an optianal 'semantic' or 'schema' information object available for the formatter. Even without that one being present (and the 'class; anotations added to the output) we should already consider the better HTML formatting. |
In case of a semantic HTML output, I would prefer RDFa instead of microformats. It's a w3c standard primer and is more easily integrated with current implementation. However, since The DataTank does not really supply a human readable interface (e.g., actual HTML pages with full text), I don't see the point of semantically annotating an HTML dump of raw data. I would suggest creating an HTML view on top of the RDF output instead. |
I love the adagium of the compulsive neurotic: When in doubth: choose both! Now we also have a .kml AND a .map output. I see how both are useful. Anyway, this is issue is more about my dislike for the current HTML output :) |
The current table-oriented format is often sparse, confusing, less then helpful.
I suppose the goal is to find a clear and direct mapping between some data-structure in php and an html dump, dunno if such exists in the open, but I really think we can do better then the current awkward table.
I propose to:
Additonally I would like us to consider adding semantics through selected class files.
So when this.json returns
{
test: [1,2,3],
when: "2012-03-14T12:34:56Z",
loc: {lat: 51.26, long: 2.15}
}
I would find it logic if this.html gives something along the lines of
The text was updated successfully, but these errors were encountered: