root/README

Revision 0a720203395f89d901aea9d9e9c964ba3685d6fa, 1.0 KB (checked in by David I. Lehn <dlehn@…>, 16 months ago)

Add usage docs.

  • Property mode set to 100644
Line 
1librdfa - The Fastest RDFa Parser on the Internet
2-------------------------------------------------
3
4librdfa is a C-based RDFa parser for XML family languages.
5It currently supports XHTML+RDFa 1.0.
6
7Building and running librdfa
8----------------------------
9
10Change into the librdfa directory (the same directory that contains
11this README.txt file).
12
13  autoconf
14  ./configure
15  make
16  export LD_LIBRARY_PATH=`pwd`/libs
17  ./tests/dist/speed
18
19If everything goes well, the speed test should show you being able to
20process roughly 10k triples/sec.
21
22
23Development
24-----------
25
26pkg-config support is provided to setup cflags and libs. The .pc file is
27installed along with development files. Add the librdfa source dir to
28the PKG_CONFIG_PATH environment var to use the uninstalled library.
29
30Building a simple program using librdfa pkg-config support:
31
32  cc `pkg-config --libs --cflags librdfa` -o test test.c
33
34
35Installation
36------------
37
38Use configure options to setup install directories.  For more information:
39
40  ./configure --help
41
42To install:
43
44  make install
45
Note: See TracBrowser for help on using the browser.