Re: [Refdb-users] cannot add records!
Status: Beta
Brought to you by:
mhoenicka
|
From: Matt P. <mat...@ut...> - 2004-01-22 11:19:36
|
To: ref...@li... Cc: Bcc: Subject: Re: [Refdb-users] difficulty with refdba Reply-To: In-Reply-To: <163...@ti...> On Tue, Jan 20, 2004 at 09:43:20PM +0100, Markus Hoenicka wrote: > Matt Price writes: > > There's a couple of options, actually: > > - customize (or copy+edit) backend-html.c until it does what you > need. This is fairly easy, but you'll have to apply your patches to > each new release (and pray the patches *do* apply...) > > - use refdbc to retrieve the datasets as db31x, teix, risx, or > xhtml. All of these XML output formats are suitable to be > transformed by a nice XSLT stylesheet to whatever format you desire, > including straight HTML. > > - use the Perl client module and write your custom client in > Perl. This could use e.g. the risx output and mangle it until you > like the results. Perl should have an interface to libxslt, so you > could do the XML->HTML transformation transparently to the user. > > If you go down any of these paths, I'm sure the readers of this list > will be interested in the results. welll.. I guess I need to figure out whether I most want to learn c, XSLT, or Perl...! I actually have an interim solution in PHP that I should be able to throw together pretty quickly (stealing someone else's code, and adapting it to the refdb db structure; this will be mysql-specific, but should be readily adaptable to PostgreSQL with a quick pattern-replace on the php code). When it's more or less working I'll let folks know. Then maybe later I can, like, hire someone to translate it into Perl and use the PerlClient functions to interact directly with refdbc. best, matt > > hope this helps > Markus > |