[Tellico-users] Dewey Decimal in Tellico?
mrmagnet at bellsouth.net
Sat Jul 10 06:06:03 UTC 2010
Thank you both for your quick responses... I will try that tonight and
see how it goes.
On Fri, 2010-07-09 at 20:55 -0700, Robby Stephenson wrote:
> On Friday 09 July 2010, Andrew Bennett wrote:
> > Unfortunately, I think you'll have to re-build Tellico to get this. With
> > any luck, I'm mistaken and someone can point out an easier way :) but, if
> > not, here's what I did with the 2.2 source:
> Thanks for your pointer, Andrew. I wasn't sure yet where the Dewey value was
> in the MODS output. You can actually just add the field definition to the
> mods2tellico.xsl file and Tellico will add the Dewey field when you do a
> search. I'm really impressed you did all that work!
> Derek, just drop the attached mods2tellico.xsl in your
> ~/.kde/share/apps/tellico/ folder. I didn't add the LCC that Andrew had (and
> I used dewey instead of dewey-class), but I did fix the subtitle, too.
> > A useful thing for someone to do would be to research these fields and
> > propose "correct" names, if we hope to get this functionality included in
> > the Tellico source in the future.
> I actually had the same question back in 2004! :)
> I just decided not to add the LCC or Dewey to default fields since it would
> crowd things, but maybe I should add them to the optional list.
> > Dewey appears to have an 'edition' field that the code above isn't
> > returning (and I don't understand XSL well enough to include it); for
> > example the LoC web page http://lccn.loc.gov/96008131 will show Dewey
> > Class Number as "155.9/6 20" but in the returned MODS query it is
> > "<classification authority="ddc" edition="20">155.9/6</classification>"
> > and the code I wrote only returns the "155.9/6". I don't know enough
> > about Dewey to know if that field is important.
> If you want that edition, edit the attached mods2tellico.xsl file to have
> <xsl:value-of select="."/>
> <xsl:value-of select="concat(' ', @edition)"/>
> > I noticed that SubTitle isn't being fetched;
> Just fixed that.
> > and that subjects/keywords
> > that should be dashed are being treated as separate subjects (e.g. a
> > book with "Research --Psychological aspects" and "Space flight
> > --Psychological aspects" gets imported as "Research; Psychological
> > aspects; Space flight; Psychological aspects") so I might try to look
> > into those two issues, too.
> Blame the MODS output for that, the field is being repeated that way. But I
> should figure out a way to make the list unique.
> > A couple notes for Robby:
> > - the instructions in 'COMPILING' were very helpful. This was my first
> > time using cmake so I really appreciated them.
> Good to know. Also availabel online at
> > - if I go to http://tellico-project.org/, mouse over 'Help' and then
> > click on 'Handbook,' I am taken to a blank page
> > http://docs.kde.org/development/en/extragear-office/tellico/index.html.
> > View Source on that page also opens up an empty window.
> Not sure about that one. The KDE servers do their own thing and it's an
> automatically generated HTML file.
> > - after adding the same book a few times (don't know if that was
> > important or not), if I double-clicked on the entry to bring up the edit
> > view, sometimes some (but never all) of the data fields (like title,
> > author; seemed to change every time) would be blank. The data was still
> > there; pressing escape, then enter to re-open the edit view usually
> > would result in all the data being shown. Sorry I don't have better
> > replication instructions; I was doing this inside my main .tc file
> > (saved in Tellico 2.1.1) with ~250 entries.
> That one's odd. Maybe something wrong with the refresh somewhere. I'll try
> to reproduce.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tellico-users