From: Alan R. <ala...@mn...> - 2013-07-22 16:29:05
|
Hello, I'm just wondering if this is all a lot of over kill? Do the MARC records have series fields in them? (400:410:411:440:490:800:810:811:830) I create 2 indexes from this field. One includes $v - the volume/number, one does not include $v This way I have an index of just the series that I can build a link with. Click on the link from the field that does not include the $v and you get all of the bibs that belong to that series. al On 07/22/2013 09:35 AM, Demian Katz wrote: > > This is a bit of an unusual case, and there are different ways you > could do it.... > > One thing you almost certainly want is a new controller for displaying > the series list -- this will populate the lightbox that pops up when a > link is clicked (and probably should also be able to display the > series list "inline" for non-JS support, since nearly all the rest of > VuFind works without JS too, and because of the way VuFind lightboxes > work, supporting both ways is trivial). > > The choice comes in how you get the series information onto the page. > I can think of at least three approaches: > > 1.)The easy/modular way: build it as a "related record" module. This > is clean and stands alone well... but it limits your display to a box > on the sidebar, which may not be what you want. > > 2.)The view helper way: building a view helper gives you pretty good > flexibility for displaying the information wherever you want... but > it's not quite as well-isolated as using a "related record" module > because you're going to have to call that helper from the views > regardless of whether or not it is turned on -- which adds overhead > for everybody when presumably this feature is more of an edge case. > > 3.)The record driver way: create a custom method on the record driver > that pulls the information, and then call the method from the > template. I don't really like this idea much at all, since it has the > same disadvantages as #2 while also putting some very specific logic > into the record driver... but it's still an option. > > Hopefully this is helpful! > > - Demian > > *From:*Joe Atzberger [mailto:jo...@bo...] > *Sent:* Friday, July 19, 2013 9:08 PM > *To:* vufind-tech Tech > *Subject:* [VuFind-Tech] Zend methodology for external data > > One of the data enhancement projects I'm working on involves > supplemental metadata providing series information. Basically we have > 2 webservice calls: get series ID by ISBN, and get ISBNs by series ID. > VuFind already supports pulling series data from MARC, but this is a > cleaner and easier approach (e.g., don't need to update previous > titles when sequels come out, doesn't require advanced cataloging, > etc.). Presentation would have two parts: in details page ("3rd of 7 > books in the <a>Harry Potter</a> series") with link to a new lightbox > or landing page "list" view of the series. > > Unlike cover images and reviews, this is something not already > implemented, so I am curious how to structure the various parts. > Should I build a helper like > module/VuFind/src/VuFind/View/Helper/Root/Series.php for fetching the > data? Or extend Related/Similar ? > > Again I'm starting from a hacked together everything-in-template > implementation that I want to make cleaner before sending upstream. > > --joe > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech -- Alan Rykhus PALS, A Program of the Minnesota State Colleges and Universities (507)389-1975 ala...@mn... "Be pleasant until ten o'clock in the morning and the rest of the day will take care of itself." ~ Elbert Hubbard |