2008-09-13T00:05:49 * dmcmorris_esi blocks dbs' ip 2008-09-13T02:02:49 * dbs takes a quick stab at enhancing 856u display 2008-09-13T03:11:52 *** dbs has quit IRC 2008-09-13T07:43:16 *** gmcharlt has quit IRC 2008-09-13T08:36:31 *** kgs has quit IRC 2008-09-13T08:52:57 *** rsinger has quit IRC 2008-09-13T09:17:42 *** rsinger has joined #OpenILS-Evergreen 2008-09-13T09:35:04 *** rsinger has quit IRC 2008-09-13T09:48:11 *** _bott_ has joined #OpenILS-Evergreen 2008-09-13T10:18:45 *** rsinger has joined #OpenILS-Evergreen 2008-09-13T10:19:08 *** rsinger has quit IRC 2008-09-13T11:24:08 *** dbs has joined #openils-evergreen 2008-09-13T11:25:50 * dbs ponders the responses from xpaths in modsparser that return no match 2008-09-13T11:27:11 specifically online_loc_xpath "(//mods:location/mods:url|//mods:location/mods:url/\@displayLabel)" 2008-09-13T11:27:26 err, "(//mods:location/mods:url|//mods:location/mods:url/\@displayLabel|//mods:location/mods:url/\@note)" 2008-09-13T11:28:48 if @displayLabel doesn't match, I would have expected an undef, so you always get a 3-element list returned; but it seems that by the time we get to the opac, it just collapses into however many elements actually matched 2008-09-13T11:34:54 meaning that my attempt to return url + display field + public note fails utterly if there are a set of 856s in a single record and they don't all have $u, $y||$3, and $z subfields 2008-09-13T11:35:42 (and it also calls into question even the two-element version, if there are multiple 856 fields and one or more of them only has a $u 2008-09-13T11:36:39 I shall gaze deeply into the modsparser.pm -> JSON chain later; for now, I return to battle with the new oven - last battlefront: acquiring a proper coupler for armored cable -> junction box 2008-09-13T11:45:42 dbs: if you're to the point of diving into modsparser.pm, just replace it all with bib_attr_definitions (a la vandelay and acq) and call it a day ;) 2008-09-13T11:46:10 berick: what? and make it easily configurable? Madness. 2008-09-13T11:47:06 * berick thinks we should do that for 1.4.2 2008-09-13T11:50:18 * dbs wonders whether simply adding something like " or ''" to the displayField / note XPath tests would do the trick 2008-09-13T11:50:32 * dbs will test that after finishing off the oven 2008-09-13T11:52:57 * dbs lies, tests it, finds that that buggers everything up (invalid xpath, likely) 2008-09-13T11:52:59 dbs: may even want to grab the individual bits and push them into the right parts of the final array.. not sure if "or" will d it 2008-09-13T11:53:27 yeah, that was the direction I was originally thinking 2008-09-13T11:53:57 now - to get the cable coupler 2008-09-13T11:54:03 heh, good luck 2008-09-13T13:51:14 *** rsinger has joined #OpenILS-Evergreen 2008-09-13T13:52:30 *** rsinger_ has joined #OpenILS-Evergreen 2008-09-13T13:53:03 *** wlayton has joined #OpenILS-Evergreen 2008-09-13T13:58:40 *** rsinger has quit IRC 2008-09-13T14:18:53 *** rsinger_ has quit IRC 2008-09-13T14:38:25 *** djfiander has joined #OpenILS-Evergreen 2008-09-13T14:56:32 *** rsinger has joined #OpenILS-Evergreen 2008-09-13T15:11:28 *** rsinger has quit IRC 2008-09-13T15:13:56 meh. didn't have the right cable coupler at our nearby store, so I've had to cobble something together. 2008-09-13T15:14:22 soon as A wakes up, I hammer in one more armored cable clip, throw the breaker, and watch the fire begin 2008-09-13T15:14:36 woo-hoo 2008-09-13T15:15:23 dbs: thanks for the marc data. as I suspected, MFHD in the wild is less than useful 2008-09-13T15:15:49 heh. well, that's a pretty small sample you've got there :) 2008-09-13T15:16:10 true 2008-09-13T15:16:39 I need to write something up, and try to figure out exactly what we're trying to accomplish. 2008-09-13T15:17:00 III shows normal people checkin dates 2008-09-13T15:17:36 does sirsi keep track of checkin dates? the data that I've got is just issue dates, and that's all that the standard talks about. 2008-09-13T15:18:37 djfiander: I'm sure it does, but that's not tracked in mfhd 2008-09-13T15:19:16 djfiander: you've seen this, right? http://open-ils.org/dokuwiki/doku.php?id=acq:serials:model 2008-09-13T15:20:56 what we're trying to do is generate a set of "issuances", based on the publication pattern expressed in mfhd, starting from a given date 2008-09-13T15:21:46 (that's why I thought Date::Manip's ParseRecur would be a handy tool) 2008-09-13T15:22:27 these issuances are effectively a prediction, so that techs can just check off whatever arrives (that's the right-hand side of the whiteboard) 2008-09-13T15:23:36 as issues are checked off, the summary holdings field gets updated reflecting the issues that are held 2008-09-13T15:23:54 and, for places that are so inclined, each issue can be mapped to a copy with a barcode and circulated 2008-09-13T15:24:08 yes, I see that. we'll have to see how useful the mhfd stuff is for that. 2008-09-13T15:24:52 III, for example, can provide expected dates for issuances, but it's not based on the mhfd, since we don't use that. 2008-09-13T15:25:32 so, the question is, is the mhfd-documented publication pattern actually accurate enough? 2008-09-13T15:25:49 or, am I just being paranoid? 2008-09-13T15:25:51 dbs: I've posted a more detailed description of my DB-related install problem to openils-general 2008-09-13T15:26:00 wlayton: great 2008-09-13T15:26:04 I seem to be faceplanting on the last hurdle 2008-09-13T15:26:13 I'll keep my eyes open! 2008-09-13T15:31:09 *** wlayton has quit IRC 2008-09-13T16:01:13 *** djfiander has quit IRC 2008-09-13T16:02:36 ah, url attributes display fixed (mostly) - someone might complain that the public note gets displayed as the text of the link if there is no explicit link text, but good enough for me 2008-09-13T22:08:45 * dbs peeks at unapi stuff, trying to figure out why zotero doesn't like the dynamic interface 2008-09-13T22:09:10 is probably a good reason 2008-09-13T22:18:27 might work better, yeah? 2008-09-13T22:18:32 err 2008-09-13T22:22:31 @later tell djfiander I'm pretty sure MFHD can express pretty much any conceivable publication pattern 2008-09-13T22:22:31 dbs: The operation succeeded. 2008-09-13T22:24:17 huh. buildunAPISpan in rdetails.js just doesn't seem to be working. innaresting. 2008-09-13T22:29:37 *** rsinger has joined #OpenILS-Evergreen 2008-09-13T22:40:52 oh, I get it; it fires when you view the marc record 2008-09-13T22:49:48 *** rsinger has quit IRC