how can I change the search attribute?
Benjamin von Engelhardt
benjamin at von-engelhardt.de
Thu Mar 15 05:02:20 MDT 2007
Am Mittwoch, 14. März 2007 21:23 schrieb Robby Stephenson:
> On Wednesday 14 March 2007, Benjamin von Engelhardt wrote:
> > 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;
>
> Do you know c++? that's not the way enums work. Case Person, Authro won't
> compile. What are you trying to do exactly? Create a new search type?
No, I don't know c++. The example wasn't meant to work, it was just to show
what I'm thinking about. When I look at the GBV z39.50 information
(http://www.gbv.de/du/services/info/z39_50) it gives me for each database a
lot off different attributes. So I thought it might be usefull to extend the
search types. But rethinking it, I would say the four you are providing
(title, person, isbn and keywords) are enough. So I can live very well with
the changed source code (from 1003 to 1004) as the library of congress seems
to understand this search attribute also. But if it isn't to complicated,
this could be implemented as configurable feature.
Greetings,
Ben
-------------- 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/20070315/4cd99904/attachment.pgp
More information about the tellico-users
mailing list