- Notifications
You must be signed in to change notification settings - Fork6
SAX-based implementation of an RDFa Processor in C
License
Unknown, Apache-2.0 licenses found
Licenses found
rdfa/librdfa
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
librdfa is a SAX-basedRDFa processor written in C for XML and HTMLfamily languages. It currently supports XML+RDFa, XHTML+RDFa, SVG+RDFa,HTML4+RDFa and HTML5+RDFa for both RDFa 1.0 and RDFa 1.1.
Make sure that you have the following software installed on your systembefore attempting to build librdfa:
autoconfautomakegccmakepkg-configlibtoollibxml2-dev
Make sure you have the following packages installed if you're attemptingto build the Python RDFa libraries:
g++python-dev swig
Make sure you have the following packages installed if you are attemptingto build the Debian/Ubuntu packages:
dpkg-buildpackagedpkg-devpython-all-dev dh-buildinfo debhelper
Change into the librdfa source directory and run the following:
./autogen.sh./configuremake./tests/speed
If everything goes well, the speed test should be able to crank throughdocuments at 32 MB/sec and generate roughly 6.5k triples/sec.
Optionally, you can build the Python bindings with the following:
./configure --enable-pythonmake
pkg-config support is provided to setup cflags and libs. The .pc file isinstalled along with development files. Add the librdfa source dir tothePKG_CONFIG_PATH
environment var to use the uninstalled library.
Building a simple program using librdfa pkg-config support:
cc `pkg-config --libs --cflags librdfa` -o test test.c
Use configure options to setup install directories. For more information:
./configure --help
To install:
make install
About
SAX-based implementation of an RDFa Processor in C