- From: Hitoshi Uchida <uchida@w3.org>
- Date: Tue, 29 Jan 2013 14:07:15 -0500
- To: semantic-web@w3.org
Hi all,
I am pleased to announce the first version of HTML5 microdata[1] C library.
It is currently implemented under GitHub repository
https://github.com/shishimaru/libcsem
* Functionalities:
- Light weight streaming parser
- Parse chunked html and microdata events are passed via callback
handlers
- Applications can reduce the memory foot print because it don't create
huge HTML tree internally
- Data model builder
- Create a microdata model based on the underlying streaming parser
result
- All microdata can be accessed via API
- HTML5 microdata API
* How to build binary:
1. Install libxml because the streaming parser works on libxml HTMLparser
2. Execute configure script
$ ./configure
3. Build library
$ make
* How to serialize API specification:
1. Install doxygen
2. Execute doxygen command under $LIBRARY_ROOT/csem
$ doxygen
3. API specification is serialized under $LIBRARY_ROOT/doc as both
html and man
* Sample programs
- Examples for each module can be found in
$LIBRARY_ROOT/examples/microdata
* Code quality
- Tested with microdata examples of scheme.org and W3C spec
- No memory leak with valgrind
- Nice code coverage
* License
- W3C Software Notice and License [2]
[1] http://www.w3.org/TR/2012/WD-microdata-20121025/
[2] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
--
Hitoshi Uchida <uchida@w3.org>
Received on Tuesday, 29 January 2013 20:56:22 UTC