Ir al contenido principal.
Enlaces relacionados:  Press Room  Company  Clients  Contact us
Solsoft

Forum

Comments and questions


Author Message
Written on: 26. 03. 2003 [19:37]
fgomez@criba.edu.ar
=?Windows-1252?Q?Fernando_J._G=F3mez?
Topic creator
registered since: 31.12.1969
Posts: 0
Hello

Braulio wrote:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>I would like that this list remains international, so please if you can
>write in english, if not don't worry and write spanish. icon_smile.gif
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

OK, here I am again, this time with a more international attitude icon_wink.gif
I've been playing for a while with the extension, so I have some more
comments.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> El lenguaje de formateo es HTML, o puedes utilizar XML. Es mejor así
porque
> te mantienes independiente de la implementación de un lenguaje de
formateo.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

In fact, I think the "formatting language" is PHP itself; HTML or XML would
be the final output format. My point was: once I have all the record fields
in an array, which tool should I use to manipulate it and get the intended
HTML output? The answer seems to be: use PHP, probably defining appropriate
functions to do some repetitive tasks.

Now, something that doesn't seem to be working well. This is part of a MARC
record, as seen by MX:

500 « ^aTranslation of: Molecular cell biology.»
504 « ^aIncludes bibliographies and index.»
650 « 0^aCytology.»
650 « 0^aMolecular biology.»
700 «1 ^aLodish, Harvey F.»
700 «1 ^aBaltimore, David.»
700 «1 ^aDarnell, James E.^tBiología celular y molecular.»

Now look at those same fields, as seen by PHP:

[500] => ^aTranslation of: Molecular cell biology.
[504] => ^aIncludes bibliographies and index.
[700] => Array
(
[0] => 0^aCytology.
[1] => 0^aMolecular biology.
[2] => 1 ^aLodish, Harvey F.
[3] => 1 ^aBaltimore, David.
[4] => 1 ^aDarnell, James E.^tBiolog¡a celular y molecular.
)

See? Field 650 became field 700. What's happening here? (BTW, the white
spaces at the beginning of the field do not change anything; the same result
appears even without them.)

Another question: how can I read correctly a db created in MS-DOS? Is it
possible to apply a gizmo when reading the data? O should I convert the
whole db before using it with this extension?

And more questions to come soon... icon_smile.gif

Fernando Gómez

------------------------------------------
Posted to Phorum via PhorumMail
Written on: 27. 03. 2003 [05:33]
paul@OpenIsis.org
Klaus Ripke
registered since: 31.12.1969
Posts: 0
Hola a todos

On Thursday 27 March 2003 01:37, Fernando J. Gómez wrote:
> In fact, I think the "formatting language" is PHP itself; HTML or XML would
> be the final output format.
That's how it was ment: use your language of choice (PHP,Java,Perl ...);
it will be more powerfull than any special formatting language.

> See? Field 650 became field 700. What's happening here?
that probably can be fixed soon ...

> Another question: how can I read correctly a db created in MS-DOS?
> Is it possible to apply a gizmo when reading the data?
Most "DOS" created DBs use Cp437 or Cp850,
c.f. http://openisis.org/openisis/doc/CsTables .
We are going to support the "708_txt.tab"/"txt_708.tab" style
of recoding (based on simple character translation) in future versions.

A more complete approach, however, is to use a recoding package as
can be seen in the Java and Tcl examples.
Such encoding tools are available for PHP, too.
That way you can not only handle the Cp850 to Latin1 conversion,
but can also deal with DBs holding UTF-8 data or any other encoding.

> O should I convert the
> whole db before using it with this extension?
Finally, the external utility "recode" can be used to transform a
database in advance, try running "make recode".
OpenIsis writes the database as a textstream, which,
after conversion, can be reloaded.


saludos
Klaus

------------------------------------------
Posted to Phorum via PhorumMail



User login

Enter your username and password here in order to log in on the website:
Login

Forgot your password?


Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad