![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | D2Mcgi.c | 2005-07-31 20:56 | 7.1K | |
![]() | D2Mconv.c | 2005-07-31 20:56 | 6.2K | |
![]() | D2Mmain.c | 2010-07-13 21:55 | 7.1K | |
![]() | M2Mconv.c | 2005-07-31 20:56 | 1.5K | |
![]() | MARC2709.c | 2005-08-01 18:42 | 14K | |
![]() | MARCmake.c | 2010-07-13 21:54 | 1.2K | |
![]() | MARCtidy.c | 2010-07-13 22:05 | 4.4K | |
![]() | Makefile.in | 2010-07-13 21:51 | 1.1K | |
![]() | Makefile.orig | 2005-07-31 20:56 | 2.7K | |
![]() | config.h.in | 2005-07-31 20:56 | 2.8K | |
![]() | configure | 2005-07-31 20:56 | 140K | |
![]() | configure.in | 2005-07-31 20:56 | 726 | |
![]() | d2m.h | 2010-07-13 21:53 | 1.5K | |
![]() | d2m4gs.h | 2010-07-13 21:54 | 381 | |
![]() | danMARC.c | 2010-07-13 21:52 | 5.8K | |
![]() | dc_parse.c | 2005-07-31 20:56 | 6.2K | |
![]() | finMARC.c | 2005-07-31 20:56 | 7.0K | |
![]() | htget.c | 2005-07-31 20:56 | 14K | |
![]() | isMARC.c | 2010-07-13 21:52 | 7.6K | |
![]() | marc2line.c | 2005-07-31 20:56 | 6.5K | |
![]() | norMARC.c | 2005-07-31 20:56 | 5.1K | |
![]() | strcasecmp.c | 2005-08-08 00:59 | 3.5K | |
![]() | sweMARC.c | 2005-07-31 20:56 | 6.9K | |
![]() | test.data | 2005-07-31 20:56 | 51 | |
![]() | uniMARC.c | 2010-07-13 21:52 | 4.2K | |
![]() | usMARC.c | 2005-08-01 18:42 | 4.2K | |
![]() | util.c | 2005-08-01 18:42 | 9.1K | |
![]() | wfetch-l.c | 2005-07-31 20:56 | 855 | |
![]() | wfetch.c | 2005-07-31 20:56 | 1.9K | |
![]() | win32.mak | 2009-05-19 01:54 | 930 | |
This version is a "pre-release". It is not really ready for distribution. All the customary disclaimers apply! The programs have been compiled on Solaris, AIX and Linux.
README.html | This file |
Makefile | Also includes some documentation |
d2m.h | Common include file |
D2Mcgi.c | Main program for the CGI version |
D2Mmain.c | Main program for the standalone version |
D2Mconv.c | Inputs file with DC metadata, outputs line MARC record |
M2Mconv.c | Inputs file with ISO 2709 MARC record, outputs line MARC record |
MARC2709.c | Converts from line MARC format to ISO 2709 MARC format |
MARCmake.c | Builds a MARC struct from a DC struct. Selects one of the following : |
danMARC.c | |
finMARC.c | |
isMARC.c | |
norMARC.c | |
sweMARC.c | |
usMARC.c | |
MARCtidy.c | Finishes the line MARC record from the MARC struct |
marc2line.c | Converts from ISO 2709 MARC format to line MARC format |
htget.c | Fetches a remote file using HTTP |
dc_parse.c | Parses an HTML tag |
util.c | Some utilities |
wfetch.c | Small program on top of htget() |
wfetch-l.c | Dummy version of wfetch.c, does nothing except return 0 |
test.data | A simple test file with a tag. |
Check the Makefile.
Type
make allThis should produce the programs d2m and d2main .
If you do not need access to remote files, or have problems compiling socket libraries, try to compile
make d2main-nosock
If you do not enter any arguments, a short instruction will be printed.
The first test could be
d2main test.data -lThe next test could be (if d2main is not compiled using Makefile-l)
d2main http://linnea.helsinki.fi/meta/ -l -m FINMARC
A simple users guide is in D2Mcgi.c
See an example of use in http://www.bibsys.no/meta/d2m
The program MARCtidy.c is also to some degree depending of the MARC format. In addition there is a small sequence in D2Mconv.c with a special treatment for ISMARC. (It should really not be done there ...). Apart from this, all programs are independent on MARC format.
The supported formats are introduced in d2m.h .