DataTables support of RDFa tags

DataTables support of RDFa tags

mwjamesmwjames Posts: 2Questions: 0Answers: 0
edited April 2012 in General
I was wondering if it is planned in near future that DataTables supports RDFa tags within its tables. For tables that uses 'aaData' as transfer object in building the table one can't inject any additional tag information about the content that is displayed. In light of current discussions about Linked Data it would be nice if DataTables would support RDFa tags natively. For example, the column header of a table corresponds to the content that is displayed within this column therefore it should be assumed that the column content could use the column header as RDFa property title.

Cheers,

mwjames

Replies

  • mwjamesmwjames Posts: 2Questions: 0Answers: 0
    It could also be that instead of RDFa, microdata is used instead to describe content components. See also the comparison of RDFa, Microdata and Microformats [1]

    [1] http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Hi,

    DataTables doesn't have built in support for RDFa in that it won't automatically apply the attributes, however, it also doesn't prohibit their use. So probably the best way of using RDFa with DataTables is to use one of the callback functions or events ( fnRowCreated for example) to apply the attributes you want based on the source data you give it.

    Regards,
    Allan
This discussion has been closed.