how can I change the search attribute?
Benjamin von Engelhardt
benjamin at von-engelhardt.de
Wed Mar 14 09:15:36 MDT 2007
> > I'm trying to use the z39.50 Database at www.gbv.de. Apparently they use
> > the attribute 1004 for the search string "Person", but tellico tries to
> > use 1003 wich gives me the error "Fehler bei der Verbindungssuche 114:
> > Unsupported Use attribute (1003)".
> You'll have to recompile after modifying src/fetch/z3950fetcher.cpp, down
> around line 160 or so.
I can change in line 160 the attribute 1003 to 1004. But I would rather like
to add a new search attribute 1003 for "Person, Author" to be able to still
search at the Library of Congress. What else do I have to change if I add new
lines 162-164 (as an example, others may follow):
case Person, Author:
m_pqn = QString::fromLatin1(" @attr 1=1004 ") + svalue;
break;
Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/tellico-users/attachments/20070314/79af4598/attachment.pgp
More information about the tellico-users
mailing list