← Previous day | Today | Next day → | Search | Index
All times shown according to UTC.
Time | Nick | Message |
---|---|---|
00:02 | Space_Librarian | rangi can that be done in the koha to marc mapping? |
00:02 | rangi | no |
00:03 | Space_Librarian | d'oh |
00:03 | * Space_Librarian | ponders |
00:03 | rangi | to get the 490a displaying on a new line in the results, easiest way is to edit the xsl file |
00:04 | but to do so in a way that would be accpted upstream, so we dont have to do it every upgrade :) | |
00:37 | Space_Librarian | and I'll get my name added to contributers? *looks hopeful* |
00:39 | rangi | exactly :) |
00:39 | * Space_Librarian | rolls up her sleeves. |
00:40 | Space_Librarian | Where do I go, and what do I do. |
00:41 | rangi | ill show you the file |
00:42 | http://git.koha-community.org/[…]m2OPACResults.xsl | |
00:42 | that is the xslt file for the restuls | |
00:42 | results too | |
00:42 | http://git.koha-community.org/[…]im2OPACDetail.xsl | |
00:42 | is the detail bit | |
00:42 | now see this | |
00:43 | http://git.koha-community.org/[…]ACDetail.xsl#l160 | |
00:43 | the block that does the series stuff | |
00:43 | we want to put that in the results one too | |
00:43 | * rangi | hopes he is actually being helpful not confusing |
00:44 | rangi | http://git.koha-community.org/[…]tmpl/prog/en/xslt |
00:44 | at this page, you can click raw | |
00:44 | to download the files | |
00:44 | if you wanted to change one, and send it to me, ill put it on your staging server | |
00:44 | and we can see how it looks | |
00:45 | the long term plan, would be to do a git clone and get your own local koha running for doing dev on, but for this we can do it the shorter way if you want | |
00:45 | * Space_Librarian | grins like a maniac. |
00:47 | Space_Librarian | shorter is not always better... |
00:48 | rangi | in that case |
00:48 | git? | |
00:48 | wahanui | rumour has it git is http://wiki.koha-community.org[…]Control_Using_Git |
00:48 | rangi | :) |
00:49 | Space_Librarian | I really do need to learn git, don't i? |
00:49 | jcamins_away | Space_Librarian++ |
00:50 | Space_Librarian | jcamins_away ;) |
00:50 | It's been on my to-do list for a while. | |
00:50 | But no time like the present. | |
00:50 | jcamins_away | Exactly. |
00:53 | BobB joined #koha | |
00:55 | Space_Librarian | quick question, can you code in if/then statements in git? |
00:56 | jcamins_away | Space_Librarian: I think you might be confused. |
00:56 | the first question? | |
00:56 | wahanui | i guess the first question is "What are you trying to do?" |
00:56 | rangi | in xsl ? |
00:56 | jcamins_away | I added a Further Reading section to the git page. |
00:56 | Now I can stop telling people to PM me their e-mail address. | |
00:56 | Space_Librarian | just looking at the raw data. |
00:56 | rangi | ah yeah, thats the xsl |
00:56 | im pretty sure you can | |
00:57 | but not sure how | |
00:57 | Space_Librarian | okay. |
00:57 | I will look that up. | |
00:57 | rangi | jcamins_away probably knows better than I about xslt |
00:57 | jcamins_away | Yeah, I'll find an example real quick before going to watch a Star Trek episode. |
00:57 | rangi | thanks |
00:57 | Space_Librarian | because if you could tweak it to an if/then for say, 490a displaying as a subtitle in a specific framework... but I need more coffee to think coherently. |
00:57 | which ST ep? | |
00:58 | jcamins_away | http://git.koha-community.org/[…]3ef94;hb=HEAD#l26 |
00:58 | That's NORMARC, but the concept stands. | |
00:58 | You don't have access to frameworks in XSLT. | |
00:59 | It's that <xsl:choose><xsl:when ...>...</xsl:when>...<xsl:otherwise>...</xsl:otherwise></xsl:choose> bit | |
00:59 | Space_Librarian | ah. I see it. |
00:59 | cool. | |
00:59 | will go do some research. | |
01:00 | jcamins_away | Why are you putting the subtitle in 490? |
01:00 | Space_Librarian | We're cataloging articles |
01:01 | and it's more like putting 490a into the subtitles | |
01:01 | jcamins_away | Errr... |
01:01 | Space_Librarian | so that the journal title will display in the short record on the opac |
01:01 | jcamins_away | My wife is going to kill me if I don't go watch Star Trek soon, but, what's wrong with 773? |
01:01 | That shows up. | |
01:01 | Space_Librarian | it does? |
01:01 | jcamins_away | Wait, no, it doesn't. |
01:02 | It should. | |
01:02 | rangi | in the details it does, but not results, yeah and it should |
01:02 | Space_Librarian | go watch ST. |
01:02 | I will ponder the conundrum some more. | |
01:02 | jcamins_away | See my GitHub repo. |
01:02 | There's an example. | |
01:02 | Branch nnan2 | |
01:03 | https://github.com/jcamins/koh[…]5e5f0584666ff1d2f | |
01:03 | Back later. | |
01:48 | Culiforge joined #koha | |
01:58 | * jcamins | returns. |
02:00 | jcamins | Space_Librarian: you'll want to combine the change that in my repo with the code for showing 773 in the details display. |
02:01 | *that is | |
02:07 | wizzyrea1 joined #koha | |
02:07 | Guest5208 was kicked by wizzyrea: Guest5208 | |
02:07 | wizzyrea | silly guest. ;) |
02:07 | really I just like kicking myself. | |
02:11 | rangi | heh |
02:12 | Space_Librarian | jcamins when I figure out how to do that, I will. :) Thanks though. |
02:13 | jcamins | Space_Librarian: once you get your git install set up, you have everything you need to get the system working the way you want. |
02:14 | Space_Librarian | ooooh.... |
02:14 | jcamins | Space_Librarian: BTW, I strongly encourage you to use 773 not 490. |
02:14 | Very strongly. | |
02:14 | Space_Librarian | okay. |
02:15 | jcamins | Don't use 490 for analytics. I know that's the way it was in AACR1, but I maintain in this day and age it's a bad idea that can only lead to misery. |
02:15 | Space_Librarian | Henceforth I shall do that. |
02:15 | jcamins | :) |
02:17 | Space_Librarian | So, if I were to change things to 773 now (from 490a) will it display in the short and full record? |
02:18 | jcamins | It will display in the full record, and you need to patch the results display. |
02:18 | Space_Librarian | okay. |
02:18 | I'll start tweaking again after this bulltin goes out | |
02:19 | bulletin* | |
02:43 | jcamins | BTW, does anyone know what to make of Bug 6418? |
02:43 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6418 enhancement, P5 - low, ---, oleonard, NEW , display 590a |
02:43 | jcamins | I was perplexed about what exactly the proposal was. |
02:44 | rangi | hmm |
02:44 | yeah | |
02:44 | pass | |
02:45 | jcamins | Well, just so long as I'm not the only who who doesn't get it, I'm happy. |
02:50 | Space_Librarian | quick query - we have a link checker in koha, don't we? |
02:50 | jcamins | Space_Librarian: I believe so. |
02:50 | Space_Librarian: I don't knwo where, though. | |
02:51 | *know | |
02:51 | Space_Librarian | yeah, I thought I'd seen it, but now that I'm looking... I can't find it |
02:54 | Culiforge | installing koha on another machine.. deb package koha-common wont install due to dependency of libmodern-perl-perl. Says it's not available. running 10.04 and after looking around can only find package as far back as Maverick. Any thoughts? |
02:54 | jcamins | I can't find it. |
02:54 | Culiforge: that was not for you. | |
02:54 | Space_Librarian | good. it's not just me. |
02:54 | ^ | |
02:54 | Culiforge | jcamins: np |
02:55 | jcamins | Culiforge: use cpan. |
02:55 | cpan i Modern, maybe? | |
02:55 | Space_Librarian: found it! | |
02:55 | misc/cronjobs/check-url.pl. | |
02:55 | Space_Librarian | awesome. thanks |
02:57 | Culiforge | jcamins: Warning: Cannot install Modern, don't know what it is |
02:58 | jcamins | Culiforge: cpan i Modern::Perl? |
02:58 | I'm just guessing here. | |
03:00 | Shane-S joined #koha | |
03:04 | Shane-S | anyone around if I need help with git? |
03:05 | jcamins | Shane-S: for a little bit, maybe. |
03:05 | Shane-S: and Space_Librarian is currently learning git too. :) | |
03:05 | Shane-S | okay well I have a clone, so I attempting to edit a file...then I need to push/patch (I am following the quick guide on the git site) |
03:06 | jcamins | You're not going to be pushing anything. |
03:06 | You'll need to make the changes you're interested in, add them using git add, then create a patch using git format-patch -1 | |
03:07 | Then you can attach that file to the relevant bug. | |
03:07 | git? | |
03:07 | wahanui | git is http://wiki.koha-community.org[…]Control_Using_Git |
03:07 | jcamins | ^^ I added the reading list to that, as well. :) |
03:07 | Culiforge | jcamins: command is right... cpan i Modern::Perl; many errors and fail |
03:07 | Shane-S | okay :P |
03:07 | jcamins | Culiforge: well, this is progress. Now you just have to find someone who can tell you how to install Modern::Perl on Ubuntu Lucid. |
03:07 | Shane-S | is it */ or /* for CSS comments? |
03:08 | always get it backwards | |
03:09 | jcamins | Shane-S: probably the same as C comments... /* comment */ |
03:09 | Shane-S | yeah...thanks always do it the wrong order :P |
03:11 | okay so git add (files) how do I patch a single file? | |
03:11 | I am in the directory where it resides now | |
03:12 | jcamins | What do you mean? |
03:12 | You make changes to the file, then use git add to add your changes. | |
03:12 | Then you commit your changes using git commit | |
03:13 | Shane-S | so I don't need to do git add /kohaclone/koha-tmpl/.../reports/file_i_just_edited.tt? |
03:13 | jcamins | No, you need to do that. |
03:14 | Shane-S | there a short hand way? |
03:14 | jcamins | No. |
03:14 | Well, use relative paths. | |
03:14 | Shane-S | ie like git add ./my_file.tt |
03:14 | eythian | I just copy-paste from a git status |
03:14 | jcamins | Shane-S: those would be relative paths. :) |
03:16 | Shane-S | did my commit...moving on |
03:17 | so then just this? git format-patch origin/master (note: I made a branch last time I set this up) | |
03:17 | jcamins | Yes. |
03:18 | Shane-S | okay so made a patch... |
03:19 | where does it go? | |
03:19 | jcamins | Your current directory. |
03:19 | eythian | ./0001-.... |
03:19 | Shane-S | doh! |
03:19 | eythian | it tells you where it went |
03:19 | Shane-S | I just ../ out like 10 times |
03:20 | can I use symlinks in the clone directory? | |
03:20 | jcamins | Sure. |
03:20 | Shane-S | won't mess git up? |
03:21 | jcamins | Well, it depends what you're doing. |
03:21 | You shouldn't add any symlinks, if that's what you're asking about. | |
03:23 | Shane-S | insteading of going to koha-tmpl/intranet/intranet-tmpl/prog/en/modules/reports/ a symlink that goes there called intranet_tt_files |
03:23 | jcamins | I think that works, but I'm actually not entirely sure. |
03:23 | It depends if that changes the working directory to koha-tmpl... | |
03:24 | If it doesn't, that won't work. | |
03:24 | Shane-S | what if I make the symlinks outside the kohaclone? |
03:24 | just so I can get to files quicker | |
03:24 | jcamins | That you can certainly do. |
03:24 | I do that all the time. | |
03:24 | Shane-S | for patching...I guess I have to learn the report thingy |
03:25 | Amit_Gupta joined #koha | |
03:26 | Amit_Gupta | heya bag |
03:26 | eythian | what is a "previous checkout"? when looking at the Check Out screen? |
03:26 | the list of checkouts is split and down the bottom are "previous checkouts" | |
03:26 | jcamins | old_issues? |
03:27 | eythian | I can't determine what makes something "previous" |
03:27 | nope | |
03:27 | jcamins | Maybe? |
03:27 | eythian | it's issued |
03:27 | jcamins | Other things that were checked out to the person that day? |
03:27 | slash session? | |
03:27 | This is obviously just speculation. | |
03:28 | eythian | hmm, no, that doesn't match either. |
03:28 | jcamins | No idea, then. |
03:28 | Shane-S | bug 7646 did I do it right? |
03:28 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7646 enhancement, P5 - low, ---, gmcharlt, NEW , Printing w/o the SQL Code showing |
03:29 | jcamins | You attached it correctly, yes. |
03:30 | Shane-S | so then it has to get approval and be signed off on? |
03:30 | jcamins | Right. |
03:30 | Shane-S | does patching it speed that up at all? |
03:30 | jcamins | Yes. |
03:30 | You now change the status to "Needs signoff." | |
03:30 | And now when someone (like me) is looking for things to patch, your bug will come up. | |
03:32 | Without providing a patch, you were at the mercy of someone else to think "gee, I want to be able to hide the SQL, too." | |
03:32 | Shane-S | ah okay :), well that wasn't so hard |
03:32 | I guess hard part is keeping it up to date | |
03:33 | That and making a working version from this git so I can test it live at home :P | |
03:33 | jcamins | Right. |
03:34 | Shane-S | I just know it works because I did it on my "package" system at work :D |
03:34 | jcamins | For a patch like this, you shouldn't run into any conflicts, though. |
03:34 | So it's more like, keeping your patch current is theoretically difficult, but won't be a problem for you. | |
03:35 | The larger the patch, the more difficult. | |
03:35 | Shane-S | I think I pulled from the master and not the 3.06 branch anyway |
03:35 | jcamins | Yes, you should always do development against master. |
03:36 | (unless you're patching a bug that exists only in 3.6 because it was fixed as part of an enhancement in master) | |
03:37 | Shane-S | ah, then I guess you have to pull down a 3.6 clone? |
03:38 | might have to work on my other bug some time :) | |
03:39 | I hope I can help contribute a little as I move towards using the system :P | |
03:39 | jcamins | No, you just have to check out the branch. |
03:39 | git checkout -b 3.6.x origin/3.6.x | |
03:39 | Isn't git great? | |
03:39 | :) | |
03:39 | We hope so too. :) | |
03:39 | You're off to a good start, though. | |
03:39 | Shane-S | well jcamins I am heading to bed, I am sure I will see you tomorrow in the afternoon from work |
03:40 | jcamins | Chances are good. :) |
03:40 | Shane-S | Thank you for all the help |
03:40 | jcamins | You're very welcome. |
03:43 | Yeah, bed sounds like a good idea. | |
03:43 | Good night, #koha. | |
03:43 | Space_Librarian | night jcamins! |
04:32 | Amit_Gupta joined #koha | |
04:32 | mib_ad45jy joined #koha | |
04:46 | * Space_Librarian | waves goodnight to #koha |
05:41 | Oak joined #koha | |
05:44 | cait joined #koha | |
05:44 | cait | good morning #koha |
06:45 | god morgen magnuse :) | |
07:05 | alex_a | bonjour |
07:05 | wahanui | que tal, alex_a |
07:08 | mib_vm4uwb joined #koha | |
07:14 | cait | hi alex_a :) |
07:14 | rangi | evening |
07:17 | cait | evening rangi |
07:44 | reiveune joined #koha | |
07:45 | reiveune | hello |
07:48 | cait | hi reiveune |
07:49 | work time -bbiab | |
07:50 | magnuse | hiya cait rangi reiveune & #koha |
07:50 | mbalmer joined #koha | |
07:50 | reiveune | hi magnuse and everybody :) |
07:52 | julian_m joined #koha | |
07:53 | julian_m | hi |
08:08 | asaurat joined #koha | |
08:10 | sophie_m joined #koha | |
08:12 | asaurat | hi |
08:12 | kf joined #koha | |
08:13 | kf | hi again #koha |
08:13 | asaurat | hi kf |
08:13 | kf | hi asaurat :) |
08:18 | hdl joined #koha | |
08:18 | kf | hi hdl :) |
08:22 | hdl | hi kf |
08:22 | D-7 ? | |
08:22 | kf | ? |
08:23 | hdl | D-13 sorry :D |
08:23 | kf | for a second you really scared me! |
08:24 | I always have nightmares about confusing dates :) | |
08:24 | francharb joined #koha | |
08:25 | kf | hdl: really looking forward to it :) |
08:25 | francharb | hi |
08:25 | kf | hi francharb :) |
08:26 | laurence joined #koha | |
08:40 | kf | ew. |
08:40 | it seems you can only change the currency rates when you have parameters permission | |
08:40 | whichmeans you have the permission to change all and everything in administration? :( | |
08:59 | magnuse | might need a currency permission? |
09:00 | kf | yeah |
09:00 | filed abug | |
09:00 | not helping me now - but perhaps later :) | |
09:04 | magnuse | :-) |
09:04 | it's a start | |
09:05 | kf | yep |
09:44 | Guillaume joined #koha | |
10:11 | mveron joined #koha | |
10:11 | mveron | Hi #koha |
10:13 | magnuse | hiya mveron |
10:13 | @wunder boo | |
10:13 | huginn | magnuse: The current temperature in Bodo, Norway is 0.0°C (10:50 AM CET on March 06, 2012). Conditions: Mostly Cloudy. Humidity: 60%. Dew Point: -7.0°C. Windchill: -7.0°C. Pressure: 30.24 in 1024 hPa (Steady). |
10:13 | magnuse | @wunder marseille |
10:13 | huginn | magnuse: The current temperature in Marseille, France is 10.0°C (11:00 AM CET on March 06, 2012). Conditions: Partly Cloudy. Humidity: 47%. Dew Point: -1.0°C. Pressure: 30.01 in 1016 hPa (Steady). |
10:14 | mveron | http://meteo.search.ch/prognosis |
10:14 | magnuse | http://www.yr.no/ :-) |
10:15 | kf | sunny here :) |
10:16 | magnuse | little bit of snow here... |
10:16 | mveron | Oh... Glad that vinterne does not kommer tilbake in Switzerland .-) |
10:17 | magnuse | yay! ;-) |
10:18 | mveron | Yesterday we had a discussion about Preference->CurrencyFormat |
10:19 | I found Bug 4078 and commented it | |
10:19 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4078 trivial, P5 - low, ---, aleksa, In Discussion , Display active currency symbol on currency output and input |
10:22 | kf | :) |
10:22 | I think pehraps we need 2 different things | |
10:22 | displaying the active currency in the right formatting | |
10:22 | and displaying foreign currencies in acquisition | |
10:23 | foreign currency != active currency | |
10:26 | mveron | kf: But GetCurrency() always returns active currency (SELECT * FROM currency where active = '1' ) |
10:27 | kf | ah |
10:27 | it's part of aleksa's patch | |
10:27 | I didn't find it in the perldoc | |
10:27 | that got me confused .) | |
10:28 | mveron | I did not apply the patch. Found it in the file Budgets.pm |
10:28 | kf | hm |
10:28 | perhaps looking at old perldoc | |
10:29 | http://perldoc.koha-community.org/C4/Budgets.html | |
10:29 | juan_sieira joined #koha | |
10:29 | kf | or it's not in there |
10:29 | mveron | It is a sub |
10:30 | kf | hm |
10:30 | looks to me like it's not documented | |
10:30 | but probably should be? | |
10:31 | mveron | Just below GetCurrencies,but no =head ... =cut between |
10:31 | kf | yep I see it |
10:31 | http://git.koha-community.org/[…]8343716b2105ab047 | |
10:32 | mveron: was wondering if it should have POD like the other subs :) | |
10:32 | mveron: not sure how save it is to change the return value and where it is used | |
10:34 | kivilahtio joined #koha | |
10:35 | magnuse | pod++ |
10:35 | mveron | kf: It is just the result set of the query, it is used like this: my $active_currency = GetCurrency(); Then something like var = $active_currency->{currency}; |
10:36 | So the new column would just come along with it, something like $active_currency->{format}; | |
10:36 | IMHO would be save to use it like this. | |
10:51 | Culiforge | installed koha-common from deb package on 10.04 but can't create-db. Error says koha-common.cnf not found... |
10:51 | kf_mtg | mveron_lunch: :) |
10:51 | Culiforge: packages? | |
10:51 | wahanui | package info is at http://wiki.koha-community.org[…]on_Debian_Squeeze |
10:54 | Culiforge | kf_mtg: deb package, like wahanui just said |
10:55 | kf_mtg | yes, I think you will information about the file there |
10:55 | magnuse | Culiforge: you might have to create that file |
10:55 | Culiforge | looking.... |
10:55 | kf_mtg | Quick Start |
10:56 | hm but different file name | |
10:56 | Culiforge: sorry have to go - hope you can figure it out :) | |
10:56 | Culiforge | kf_mtg: thx |
11:25 | logbot joined #koha | |
12:21 | mveron_ joined #koha | |
12:21 | mveron_ left #koha | |
12:22 | mveron_ joined #koha | |
12:38 | jwagner joined #koha | |
12:46 | tcohen joined #koha | |
12:46 | tcohen | hi #koha |
12:59 | NateC joined #koha | |
13:00 | collum joined #koha | |
13:19 | ago43 joined #koha | |
13:27 | oleonard joined #koha | |
13:29 | oleonard | Hi #koha |
13:34 | Interesting... I'm getting mail at my oleonard gmail account which is addressed to o.leonard | |
13:37 | koha_database_helpme joined #koha | |
13:37 | koha_database_helpme | Hello All |
13:37 | I have a problem installing koha | |
13:38 | jcamins | oleonard: yeah, gmail ignores periods. |
13:38 | koha_database_helpme: what is your problem? And what version of Koha are you installing? | |
13:39 | oleonard | Poor Olivier Leonard is not getting CC'ed on those job recommendations he asked for. Nor his he getting his mom's emails. |
13:39 | jcamins | Heh. |
13:39 | koha_database_helpme | when I do the rebuild_zebra i get the error here in pastebin |
13:40 | http://pastebin.com/htSfxbdE | |
13:40 | When I checked the database its empty with no tables and hence that's why I get the errors | |
13:40 | jcamins | koha_database_helpme: you need to follow the instructions to install Koha. |
13:40 | Go through the web installer, etc. | |
13:40 | oleonard | koha_database_helpme: What version are you installing, and what instructions are you following? |
13:40 | koha_database_helpme | i am following the instructions on install.UBUNTU haven't reached the installer yet |
13:41 | 3.06.03 | |
13:41 | jcamins | koha_database_helpme: rebuild_zebra shouldn't be run until you've actually finished setting up Koha. |
13:41 | I always use INSTALL.debian. | |
13:41 | I'd suggest using those instructions, because I know they're right. :) | |
13:42 | At this point, it will be the same for Ubuntu as for Debian. | |
13:42 | koha_database_helpme | ok, so you mean after I make sure its up on apache to actually go through the 8080 and set it up? |
13:42 | jcamins | Right. |
13:44 | koha_database_helpme | ok thx, i am on it |
13:46 | hmmm, the user name and password asked for is of the database! | |
13:47 | jcamins | That's correct. |
13:48 | oleonard | git bisect is cool when it works. When it doesn't, not so much. |
13:51 | koha_database_helpme | just in case, there are two errors |
13:51 | auth_val.sql ERROR 1054 (42S22) at line 4: Unknown column 'prefix' in 'field list' | |
13:51 | and another one in itemstatus.sql | |
13:55 | thanks its up | |
14:01 | BTW, I took note of other perl prerequisites the installer told me about that can be added in the initial installer | |
14:02 | http://pastebin.com/FPPgvyjZ | |
14:04 | jcamins | magnuse++ |
14:22 | tcohen | koha_database_helpme: do the instructions ommit those modules install ? in the cpan ... line? |
14:32 | koha_database_helpme | nah, they are mentioned after running perl Makefile.PL |
14:33 | maximep joined #koha | |
14:34 | koha_database_helpme | yes, they are not mentioned in the cpan section |
14:38 | tcohen | follow the debian instructions, as ubuntu's seem outdated |
14:39 | in debian's it is mentioned that you should run perl koha_perl_deps.pl -m -u | |
14:39 | to check for missing deps | |
14:39 | and then run cpan on them | |
14:40 | koha_database_helpme | I would repeat the installation once more tomorrow. Have to prepara a new virtual machine then |
14:40 | I haven't attached the barcode reader yet! | |
14:50 | maximep left #koha | |
14:52 | jwagner joined #koha | |
14:53 | maximep joined #koha | |
14:57 | kyleh_ joined #koha | |
15:03 | Guest5208 joined #koha | |
15:16 | wizzyrea | am I right in thinking that you just need to add an additional path to perl5lib to use a non-standard perl with koha? |
15:16 | i've never had to do it | |
15:16 | oh, and good morning. | |
15:16 | (I'm looking at that guy's email to the list re: git and non-standard perl | |
15:16 | ) | |
15:21 | JesseM joined #koha | |
15:55 | oleonard | Bug 5364 doesn't exactly have a following... |
15:55 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5364 enhancement, P5 - low, ---, oleonard, REOPENED , Limit the number of author displayed on OPAC |
15:59 | wizzyrea | hmm |
15:59 | that is a 123 if I ever saw one. | |
15:59 | a way to do it with jquery? | |
16:00 | perhaps all he really needs is a solution | |
16:00 | to that bib. | |
16:01 | wizzyrea1 joined #koha | |
16:02 | reiveune | bye |
16:02 | Guest5264 | bye :) |
16:02 | reiveune left #koha | |
16:03 | wizzyrea left #koha | |
16:04 | wizzyrea joined #koha | |
16:04 | Guest5265 was kicked by wizzyrea: Guest5265 | |
16:04 | Guest5265 joined #koha | |
16:04 | wizzyrea | ! |
16:04 | that seems odd. | |
16:04 | * wizzyrea | pokes her laptop |
16:05 | wizzyrea | hm. Ought to set up my bip again I guess. |
16:05 | kf_mtg | what has the laptop done? |
16:05 | wizzyrea | it stayed logged into IRC even though pidgin wasn't running? Very odd. |
16:05 | kf_mtg | oh |
16:05 | weird | |
16:08 | Johnindy joined #koha | |
16:13 | asaurat left #koha | |
16:14 | * jcamins | would probably mark bug 5364 WONTFIX. |
16:14 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5364 enhancement, P5 - low, ---, oleonard, REOPENED , Limit the number of author displayed on OPAC |
16:15 | wizzyrea | wish there was a "we wont fix, you are welcome to" status :P |
16:15 | oleonard | jcamins: I do think it's weird that if you have more than 50 items you're shown *none* |
16:15 | jcamins | Right. |
16:15 | wizzyrea | if we were collecting populariity info correctly |
16:15 | we could show only the most highly circ'd 10 items or something. | |
16:15 | jcamins | oleonard: you're shown *none*? That seems weird. |
16:15 | * jcamins | was talking about number of authors. |
16:16 | jcamins | If you don't want all the authors to show up... DON'T ENTER THEM. |
16:16 | wizzyrea | "there are many items for this record - click to see them" |
16:16 | or enter them somewhere else ;P | |
16:16 | jcamins | AACR2 says "enter only three authors." |
16:16 | wizzyrea | you should comment that |
16:16 | jcamins | It's a dumb rule. |
16:16 | * oleonard | has his "too many" bugs mixed up |
16:16 | kf_mtg | rda has all |
16:16 | wizzyrea | lol |
16:16 | jcamins | kf_mtg: yeah, and that's intelligent. |
16:17 | kf | only saying... |
16:17 | * wizzyrea | doesn't really care |
16:17 | jcamins | kf: but if you have special requirements that you don't want the authors to show up, you are completely allowed to do that. |
16:17 | * wizzyrea | is not a proper cataloger. It would be much more sane if I were. |
16:17 | * kf | had a coworker introduce her to rda recently |
16:18 | chris_n` joined #koha | |
16:18 | wizzyrea | because naturally, I'd take over as ruler of cataloging and make the stupid rules go away in favor of gathering information that actually matters. |
16:18 | :P | |
16:18 | * wizzyrea | gesticulates wildly |
16:18 | wizzyrea | (yea yea, i'm a blasphemer.) |
16:18 | kf | wizzyrea++ :) |
16:18 | * oleonard | thinks that would require wizzyrea to stare into the heart of the TARDIS |
16:19 | jcamins | :) |
16:19 | wizzyrea | if that involves getting to smooch on the doctor, I'd be ok with that. |
16:19 | ok I just made myself laugh. | |
16:19 | oleonard | too bad you don't get to pick which one |
16:19 | wizzyrea | OR DO I |
16:19 | oleonard | :D |
16:20 | wizzyrea | www.youtube.com/watch?v=a1Y73sPHKxw |
16:21 | which logically leads directly to this: http://www.youtube.com/watch?v=eVLOVpwXYGY | |
16:24 | laurence left #koha | |
16:25 | oleonard | and now you're listening to the 10-hour Pikachu song right? |
16:26 | wizzyrea | no, but you are! |
16:35 | Shane-S joined #koha | |
16:35 | Shane-S | morning |
16:36 | wizzyrea: I made my first patch last night with jcamins help | |
16:36 | wizzyrea | :D yay! |
16:36 | very cool | |
16:36 | not so bad eh | |
16:36 | :) | |
16:36 | Shane-S | no it wasn't, but I need to get my home system to "work" |
16:37 | wizzyrea | takes some getting used to, for sure |
16:37 | Shane-S | I just made the code changes based on what I did here at work |
16:37 | druthb joined #koha | |
16:37 | wizzyrea | very cool |
16:38 | Shane-S | I thought there was more to it then the few simple commands |
16:38 | the hard part is git add | |
16:38 | because you need the path for every file | |
16:38 | and considering the pathing for template files....hand cramps :P | |
16:39 | wizzyrea | hm yea |
16:39 | Shane-S | someone said you can do a results or something to get paths |
16:40 | jcamins | git status |
16:41 | Shane-S | okay that was it :P |
16:42 | oleonard | ...and then copy-paste :) |
16:44 | wizzyrea | oh batch modification, you're my only friend. |
16:47 | Shane-S | hmm..ponders making a <{}> reports tag for "optional" fields so users don't have to put % in the text box |
16:47 | wizzyrea | that would be cool. |
16:48 | enhancements to reports are always welcome. | |
16:48 | jcamins | wizzyrea: what about placeholders in reports? |
16:48 | wizzyrea | ? |
16:48 | not sure what you're referring ot | |
16:48 | to | |
16:48 | jcamins | wizzyrea: those used to be your friends too. |
16:48 | Runtime arguments? I don't remember what we call them. | |
16:48 | << >> | |
16:48 | wizzyrea | right, but you have to put in % if it's optional |
16:48 | jcamins | wizzyrea: I'm talking about your friends. |
16:49 | wizzyrea | hehe |
16:49 | jcamins | 11:44 <@wizzyrea> oh batch modification, you're my only friend. |
16:49 | wizzyrea | placeholders in reports are also my friends. |
16:49 | depends on the day really :P | |
16:50 | Shane-S | anyone know what file handles the <<>> tag? |
16:50 | if not...my hunt begins to see if I can do it! | |
16:50 | wizzyrea | (File a bug! Make a branch!) |
16:50 | hdl | Shane-S: paul_p does |
16:51 | Shane-S | <-- does not understand the make a branch part... |
16:51 | wizzyrea | http://wiki.koha-community.org[…]nt-patch_Workflow |
16:51 | * paul_p | do what ? |
16:51 | wizzyrea | git checkout master |
16:51 | git checkout -b name-of-branch | |
16:51 | Shane-S | what file handles the reports tag <<>> |
16:51 | wizzyrea | http://wiki.koha-community.org[…]nt-patch_Workflow |
16:51 | jcamins | git? |
16:51 | wahanui | i guess git is http://wiki.koha-community.org[…]Control_Using_Git |
16:51 | Shane-S | so I can see if I feel I can mode a new "optional" tage |
16:52 | jcamins | ^^ |
16:52 | Shane-S | s/mode/code |
16:52 | jcamins | paul_p: lots of fun today? :) |
16:53 | Shane-S | wow just forget I type...*needs Dragon* |
16:53 | paul_p | jcamins nope, only a very long BibLibre monthly meeting. Now dealing with some mails. Will be back to your bug tomorrow -my- morning |
16:53 | jcamins | paul_p: aww. I'm sorry. At least you have tomorrow to look forward to. :) |
16:54 | kf | jcamins++ |
16:55 | wizzyrea | also http://wiki.koha-community.org[…]eptance/Rejection |
16:59 | oleonard had you see | |
16:59 | seen* http://katelomax.tumblr.com/ | |
16:59 | oleonard | Not until that latest post wizzyrea. Her tweet showed up in my Twitter search |
17:00 | jcamins | Oh, BTW... everyone will probably appreciate this: http://picturesofpeoplescannin[…]codes.tumblr.com/ |
17:01 | melia joined #koha | |
17:02 | Guillaume left #koha | |
17:08 | oleonard | Who would have thought that QRcodes might go the way of the CueCat... |
17:09 | Oh yeah, everyone old enough to remember the CueCat. | |
17:09 | jcamins | oleonard++ # because I should at least give him karma if I'm stealing that from him |
17:09 | Shane-S | wait why would they go away I thought they were just catching on? |
17:10 | Johnindy_ joined #koha | |
17:10 | jcamins | Shane-S: there's a tumblr showing how heavily they're used. ;) |
17:11 | Shane-S | It's not showing anything for me |
17:11 | kf | oleonard: I have a CueCat :) |
17:11 | wizzyrea | truthfully? I can't be arsed to pull my phone out. |
17:11 | plus half the time there's not enough light | |
17:11 | oleonard | wizzyrea is on board as soon as her retinal implant is installed. |
17:11 | Shane-S | I can't say I have ever scanned one myself...but 90% I come across are commercial |
17:11 | wizzyrea | I told you I was lazy right? |
17:12 | they put that stuff in my contacts and I'll be on board. | |
17:12 | jcamins | kf: I've been thinking of getting some CueCats. |
17:12 | wizzyrea | wait. No I wont. Now there's word that people are putting links to phone malware on qr codes |
17:12 | which is reason enough to never ever scan one. | |
17:12 | kf | jcamins: you have to declaw (?) them |
17:12 | jcamins | kf: that's the correct word. |
17:13 | kf | jcamins: which means using a sharp knife on really small things inside |
17:13 | but it worked :) | |
17:13 | oleonard | jcamins: really? I'll send you one if you like |
17:13 | wizzyrea | i had a cue cat a while back. |
17:13 | jcamins | oleonard: yeah, they're super-cheap options for providing barcode scanners to clients. |
17:13 | kf | jcamins: the scanning is slow - I think a cheap normal barcode scanner would perhaps work better |
17:14 | jcamins | kf: oh, I never actually used one. Given how impatient I am, maybe I should consider that, then. |
17:14 | * oleonard | has resisted throwing his away hoping it might be of use to someone |
17:16 | Shane-S | isnt a QuCat just a crappy barcode reader you drag across the barcode? |
17:16 | jcamins | Shane-S: yes. |
17:16 | oleonard | http://en.wikipedia.org/wiki/CueCat |
17:16 | Shane-S | okay then I have "used" one at a friends...I wanted to throw it at the wall :P |
17:16 | was quicker to type | |
17:17 | jcamins | Good to know. |
17:17 | kf | yes.. it works |
17:17 | but it's no fun if you ever had a real barcode reader | |
17:18 | oleonard | "The company's response to these hacks was to assert that users did not own the devices and had no right to modify or reverse engineer them" |
17:18 | kf | but thought it was probably only my cuecat (after I used the sharp knife on it...) |
17:18 | Shane-S | yeah we were scanning her book ISBNs into excel |
17:18 | oleonard | Nice. |
17:18 | "Investors in CueCat lost their $185 million" Karma. | |
17:20 | Shane-S | Aside from the fact the Apple and to an extent Google limit you and contain you...at least (more so Apple) their stuff actually works well (Google...well their core is amazing...other stuff is kinda like M$) |
17:20 | jcamins | Considering that I'm accustomed to *really nice* barcode scanners, I guess this nixes the CueCat plan. |
17:20 | Shane-S | Anyone tried Win8 yet? |
17:20 | wizzyrea | i tried it for five minutes, I wanted to smash it with a hammer. |
17:21 | kf | wizzyrea: does opachiddenitems suppress the title too? if all items match what I want to hide? |
17:21 | Shane-S | I was messing with it more last night...freaking hate it...it is so hard to use a mouse and keyboard |
17:21 | wizzyrea | no, I don't think so |
17:21 | kf | oh |
17:21 | jcamins | kf: yes, I think so. |
17:21 | kf | so why did it effect the numbering in the result list then? |
17:22 | wizzyrea | anybody here use syndetics with koha? |
17:22 | kf | jcamins vs. wizzyrea hmmm |
17:22 | jcamins | Yeah, if there's at least one item, and all items are hidden, it hides the record. |
17:22 | That's why there was that horrible bug where ebooks didn't show up. | |
17:22 | kf | aah nice |
17:22 | wizzyrea | do you have to "report out new ISBN's and send them in to syndetics" |
17:23 | well not anymore it doesn't do that | |
17:23 | does it? | |
17:23 | jcamins | Right, now there's no bug, and it just works. |
17:23 | wizzyrea | I thought you had to suppress the bib if there were no items. I dunno, I could be misunderstanding |
17:23 | it's entirely possible | |
17:23 | jcamins | If there are no items and you want it hidden, you have to suppress it. |
17:24 | If there are items, and all are hidden, you don't have to suppress it. | |
17:24 | wizzyrea | how impossibly confusing. |
17:24 | (for users) | |
17:24 | jcamins | Indeed. |
17:25 | For me, too! | |
17:25 | wizzyrea | I guess for iii you have to send in ISBN numbers to syndetics to get the info to appear in the catalog? |
17:25 | * wizzyrea | never heard about that with koha |
17:26 | wizzyrea | but then again I've never used syndetics either. |
17:31 | jcamins | wizzyrea: yeah, that doesn't seem quite right, does it? |
17:34 | mveron_ joined #koha | |
17:36 | mveron_ joined #koha | |
17:44 | bag | @wunder 93109 |
17:44 | huginn | bag: The current temperature in K6LCM-Westside/Mesa, Santa Barbara, California is 15.5°C (9:43 AM PST on March 06, 2012). Conditions: Scattered Clouds. Humidity: 63%. Dew Point: 8.0°C. Pressure: 29.87 in 1011.4 hPa (Steady). Wind Advisory in effect until 4 am PST Wednesday... |
17:45 | Shane-S joined #koha | |
17:45 | druthb | @wunder 66046 |
17:45 | huginn | druthb: The current temperature in Jeff's Weather Lab, Lawrence, Kansas is 20.2°C (11:45 AM CST on March 06, 2012). Conditions: Clear. Humidity: 20%. Dew Point: -3.0°C. Pressure: 29.82 in 1009.7 hPa (Steady). Wind Advisory in effect from 8 am this morning to 7 PM CST this evening... |
17:46 | kf | @wunder Konstanz |
17:46 | huginn | kf: The current temperature in Taegerwilen, Taegerwilen, Germany is 4.4°C (6:44 PM CET on March 06, 2012). Conditions: Overcast. Humidity: 71%. Dew Point: -0.0°C. Windchill: 4.0°C. Pressure: 30.30 in 1026.0 hPa (Steady). |
17:46 | * druthb | hands kf a blanket. |
17:46 | wizzyrea | 20! |
17:46 | kf | thx |
17:46 | wizzyrea | that's so warm. |
17:46 | druthb | warmer here than in sunny southern california, wizzyrea. |
17:46 | kf | but I choose my jacket - going home now :) |
17:46 | jcamins | @wunder 11375 |
17:46 | * wizzyrea | gloats |
17:46 | huginn | jcamins: The current temperature in APRSWXNET Jackson Heights NY US, Corona, New York is 2.2°C (12:12 PM EST on March 06, 2012). Conditions: Partly Cloudy. Humidity: 30%. Dew Point: -13.0°C. Windchill: -1.0°C. Pressure: 30.60 in 1036.1 hPa. |
17:46 | wizzyrea | brr |
17:46 | kf left #koha | |
17:47 | druthb | colder than a mother-in-law's kiss, in NY. Brr. |
17:50 | wizzyrea | 2 is pretty cold, but I dont really consider it cold until it's in the -5 |
17:50 | range | |
17:51 | jcamins | Plenty cold enough for me, thanks. |
17:52 | oleonard | @wunder 45701 |
17:52 | huginn | oleonard: The current temperature in Ohio University, Athens, Ohio is 9.0°C (12:50 PM EST on March 06, 2012). Conditions: Clear. Humidity: 35%. Dew Point: -6.0°C. Windchill: 9.0°C. Pressure: 30.26 in 1024.6 hPa (Steady). |
17:53 | * oleonard | looks forward to when wizzyrea's weather blows over here |
17:53 | druthb | I haven't decided which is worse, living out on the prairie, where you can't escape the wind, or living in a city, where you can hide in the lee of a building, then get smacked the face when you go around a corner. |
17:55 | sophie_m left #koha | |
17:56 | oleonard | Surely there is better information to display on the acquisitions home page? Open baskets? Recently-used vendors? Something? |
18:15 | jcamins | kohacon12 |
18:15 | wahanui | kohacon12 is http://wiki.koha-community.org[…]ategory:KohaCon12 or Conference Tue 5 June 2012 to Thu 7th, Hackfest Sat 9th June-Mon 11th June |
18:18 | cait joined #koha | |
18:21 | jcamins_away | @later tell slef What part of Edinburgh is KohaCon in? |
18:21 | huginn | jcamins_away: The operation succeeded. |
18:23 | slef | jcamins_away: central |
18:25 | fredericd | slef: thanks. It can help |
18:27 | NCARMichael joined #koha | |
18:28 | slef | jcamins_away: fredericd: could one of you reply to the list? I'll find the street address |
18:29 | I think it's Bristo Square Edinburgh EH8 9AJ | |
18:30 | fredericd | slef: just saying that kohacon12 will be located in Edinburg central? |
18:30 | cait | hi slef :) |
18:30 | slef | fredericd: pretty much. Anything else you think we should say? |
18:31 | hi cait | |
18:31 | fredericd | Any information about accomodation will be welcomed, I suppose... |
18:33 | Is it that: http://g.co/maps/8sgsj | |
18:35 | slef | fredericd: errrrrrrrrrrrm, blank page |
18:35 | I'll get a map | |
18:36 | cait | slef: near university? |
18:37 | slef | http://osm.org/go/evfLiytXT- |
18:37 | cait: yes | |
18:41 | fredericd | message sent to the list |
18:43 | slef | fredericd: thanks |
18:43 | jcamins_away | slef: ooh, I know Bristo Square. |
18:44 | slef: thanks. | |
18:44 | Good location for visiting the departmental secretaries who took care of everything for me while I was on exchange. :) | |
18:44 | Also close to the library. | |
18:45 | * jcamins_away | leaves to pick up the printing. |
18:45 | jcamins_away | And go to a meeting. |
18:45 | Bye again. | |
18:48 | slef | jcamins_away: close to several libraries ;) |
19:03 | Shane-S | grrr...I can't figure out how the book covers are generate... |
19:03 | I need to make it so Google and Open Library do not use a "class", but instead an ID! | |
19:04 | they duplicate right now, as it seems somewhere JS is writing into the memory of the files via DOM | |
19:04 | I know what is happening...I just can't find what script is doing it...because it is so Object Oriented | |
19:05 | * Shane-S | walks away for a breather |
19:06 | jcamins_away | cait: yes. |
19:17 | fredericd | Shane-S: Have you take a look at google-jackets.js file? |
19:21 | Shane-S | yes...I don't understand where it is specifing anything to CSS, but I know it relates to the class.. line 23 looks like it, but I tried "id" versu "class" and swapped the value in the opac-results.tt with no luck |
19:24 | fredericd | Shane-S: what do you want to do exactly? |
19:24 | oleonard | fredericd: Bug 7594 |
19:25 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7594 enhancement, P5 - low, ---, oleonard, NEW , Google Cover CSS suggestions |
19:25 | wizzyrea | huh, interesting https://www.stypi.com/ |
19:25 | Shane-S | fredericd: well I also found a related bug... |
19:25 | haven't file it yet | |
19:26 | jcamins_away | Interesting. |
19:26 | wizzyrea: it doesn't have APL, though, so I don't think I can use it. :P | |
19:26 | Shane-S | because the "class" is the ISBN, enabaling Google and OpenLibrary you get duplicated results, 2 images in each div because the class is the smae number |
19:27 | fredericd | for the record, I've added google jacket support into Koha a while back, so I may help... |
19:27 | oleonard | Shane-S: The class on the surrounding <div> is set by opac-result.tt |
19:28 | Shane-S: Starting at line 542 | |
19:28 | fredericd | the styling is done in the callback method |
19:28 | Shane-S | but if you change that div class it breaks the images |
19:28 | oleonard | Change how? You can add a class. |
19:28 | wahanui | oleonard: that doesn't look right |
19:28 | wahanui joined #koha | |
19:29 | * oleonard | consoles wahanui |
19:29 | Shane-S | one second helping someone |
19:29 | fredericd | you have now '<div style=', you could have: <div class= |
19:29 | jcamins_away | wahanui: change your behavior so you don't crash when someone says something like this. |
19:29 | wahanui | jcamins_away: that doesn't look right |
19:29 | wahanui joined #koha | |
19:30 | oleonard | Stop, you're hurting his brain jcamins_away! |
19:30 | * oleonard | whispers to jcamins_away: We need to keep that bug intact in case wahanui becomes sentient and threatens to kill all humans |
19:30 | jcamins_away | oleonard: heh. |
19:31 | fredericd | jcamins_away: How would catalog a serial issue as a monograph in MARC21. Where would you store volume/issue number info? |
19:31 | jcamins_away | fredericd: a serial *issue*? |
19:31 | * jcamins_away | doesn't like doing that. But, since you ask, I'd go with a 773. |
19:32 | cait | hmm |
19:32 | jcamins_away | 773$g, to be precise. |
19:32 | cait | yeah, like analytics? |
19:32 | jcamins_away | Right. Personally, I prefer serial+article records. |
19:32 | cait | jcamins_away: you could also treat it as a volume perhaps |
19:33 | jcamins_away | cait: yeah, that would be a good option. |
19:33 | fredericd | it's a not an article, it's the whole issue |
19:33 | jcamins_away | Maybe better. |
19:33 | cait | fredericd: is it the only isseu the library has? |
19:33 | jcamins_away | fredericd: right, I'm saying that I don't like cataloging whole issues with serial records, I'd rather use volume and monographic series records. |
19:34 | fredericd: however, the direct answer to your question is, 773. | |
19:34 | cait | fredericd: what we would do here is have a record for the serial, and a record for the issue and link both to each other using a set/volume relationship |
19:34 | oleonard | <div style="block"> doesn't make any sense. |
19:34 | fredericd | I refer to something like that: http://www.maine.gov/infonet/m[…]ls.htm#acceptable |
19:35 | cait: yes but here this is for converting data, and I can't produce correct biblio records | |
19:35 | jcamins_away | fredericd: oh, there's why. |
19:35 | fredericd: they're treating it as a monographic series. | |
19:35 | So the volume information goes in 490$v. | |
19:35 | cait | yep |
19:35 | not 440 - don't use that | |
19:36 | jcamins_away: indicator? | |
19:36 | jcamins_away | cait: ehhhh... |
19:36 | Sure. | |
19:36 | cait | jcamins_away: I think setting the first to indicate it's a traced series perhaps? but always forget |
19:36 | Shane-S | okay so here is the issue with <div class... in the .tt file they both use the standarized ISBN, thus they both pull the same styling, which from what I can tell is the image |
19:36 | jcamins_away | Ind1=1, and add an 830 with the $a only. |
19:36 | cait | yep, that sounds like ours look like :) |
19:36 | Shane-S | so, when I view my page, I get 2 google images, and 2 openlibrary images, because the 2 generated <div's> have the same exact class |
19:37 | jcamins_away | Well, you could include the $v in the 830. |
19:37 | Shane-S | so somewhere, that needs to be changed to ID, and make them each unique, say id=isbn+g and id=isbn+o |
19:38 | oleonard | Shane-S: Why not add a class in the template where I showed you? |
19:39 | fredericd | cait: could you show me such a MARC21 somewhere? |
19:39 | cait | hmm |
19:39 | fredericd | So this is not valid: 245 10 $a Shisō. $n Num. 1023, 2009.7. |
19:39 | cait | it's basically a traced series |
19:39 | let me find one for you | |
19:40 | jcamins_away | fredericd: no that's not. |
19:40 | Shane-S | oleonard: I am trying to fix it anyone using google and openlibrary for covers, when used together you get 2 divs, with 2 images in them |
19:40 | fredericd | Those records are converted from UNIMAR, that's why it's pretty complex |
19:40 | Shane-S | oleonard: Adding a class doesn't fix it, its a work arounf |
19:40 | around* | |
19:40 | oleonard | Then I guess I don't understand what you're trying to do |
19:41 | Shane-S | I'll paste some code from the source...brb |
19:41 | http://pastebin.com/iiMrUp3Y .. lines 6 and 7 | |
19:41 | fredericd | Shane-S: You goal is to have google and openLibrary cover |
19:42 | covers together? | |
19:42 | Shane-S | fredericd: not so much, but they shouldn't break each other, they use the same class modification apparently |
19:43 | oleonard | Can you explain what you mean by that? |
19:43 | How do they break each other? | |
19:43 | jcamins_away | Shane-S: are you sure this isn't due to Firefox not being able to handle tags with no content? |
19:43 | Shane-S | think IE or Safari will? |
19:44 | jcamins_away | Shane-S: no idea. But it's worth a try. Because if the fix is to add , that's a lot easier than rewriting the entire thing. |
19:44 | oleonard | Shane-S: How do they break each other? |
19:45 | wizzyrea | you know that cover images don't cascade, at the moment right? |
19:45 | Shane-S | here got to http://68.36.8.202:8082 (should be the opac) search for Seuss |
19:46 | wizzyrea | you can't turn on all of the free sources of cover art and only get one cover image. |
19:46 | Shane-S | wizzyrea: I know that :P |
19:46 | oleonard | Shane-S: She's asking because we don't understand what the problem is yet |
19:46 | jcamins_away | Okay, that's weird. |
19:47 | Shane-S | I had them all float:left at a point, but the openbiblio and google are duplicating and all that is the same is the <div class="" |
19:47 | jcamins_away | I can't look now, since I'm just about to leave for a meeting, but I don't think it does that on my install. |
19:47 | Shane-S | let me clear my CSS on p1.div |
19:47 | * wizzyrea | still doesn't get it |
19:47 | fredericd | cait: thanks. And thanks jcamins_away. But it's not exactly what I have. I have biblio record, one for each serial issue, but in the title field I have the serial title, and volume, but not a specific title for the issue |
19:47 | wizzyrea | why are they all on in the first place? |
19:48 | jcamins_away | wizzyrea: I'm seeing 7 images for each record. |
19:48 | wizzyrea | right, because they don't cascade |
19:48 | they are additive. | |
19:48 | jcamins_away | On Shane-S's installation, not on mine. |
19:48 | cait | fredericd: hmm |
19:48 | jcamins_away | wizzyrea: but there are only two sources! |
19:48 | cait | @marc 245 $n |
19:48 | huginn | cait: unknown field/subfield combination (245/$n) |
19:48 | Shane-S | I have them all on |
19:48 | cait | @marc 245 n |
19:48 | wizzyrea | it looks to me like he's got amazon, google, openlibrary |
19:48 | huginn | cait: Number of part/section of a work (Repeatable) |
19:48 | oleonard | Looks like if you enable multiple sources they compound each other somehow |
19:49 | cait | fredericd: I think I have seen that too - but jcamins knows marc21 better |
19:49 | fredericd: let me check if I can find one for you | |
19:49 | jcamins_away | wizzyrea: oh, three. But still, there should be three images showing up, not seven. |
19:49 | wizzyrea | but that's not really a supported configuration? |
19:49 | jcamins_away | wizzyrea: well, it should show all the images at once, no? |
19:49 | Shane-S | yeah, because I believe it applies to the class (only thing carrying through) |
19:49 | wizzyrea | but, principle of least surprise, I guess it shouldn't do that |
19:50 | jcamins_away | fredericd: that's really not correct in this case. |
19:50 | Those are issues not parts. | |
19:50 | wizzyrea: I have displayed images from multiple sources before intentionall, and it was never a problem. | |
19:50 | fredericd | jcamins_away: that's what I think also. I think that I have invalid UNIMARC biblios, and no way to convert them to proper MARC21 records |
19:50 | jcamins_away | *intentionally |
19:50 | fredericd: I would agree. | |
19:51 | wizzyrea | must have to do with openbiblio |
19:51 | since that's the newest. | |
19:51 | cait | jcamins_away: hm but what can he do? |
19:51 | wizzyrea | openbiblio + google |
19:51 | cait | jcamins_away: if they don't have individual titless? |
19:51 | Shane-S | so that is why I wanted to swap from class to ID, as each book has a unique ISBN, and appending a letter like "g" and "o" makes it unique 100% and thus should be an id |
19:51 | wizzyrea | assuming a unique isbn is a little dangerous |
19:51 | jcamins_away | cait: really they just need to be collapsed into a single serial record. :( |
19:52 | Shane-S | openbiblo and the google .js looked nearly identical when I checked them |
19:52 | jcamins_away | wizzyrea: bahahahaha! |
19:52 | Shane-S | in the way they handle the images |
19:52 | wizzyrea: unique to that book opac result, if its duplicated in the system the image script won't work correctly anyway | |
19:53 | wizzyrea | assuming a unique isbn is a little dangerous |
19:53 | wahanui | i already had it that way, wizzyrea. |
19:53 | oleonard | Shane-S: Your goal is to be able to display covers from multiple sources at once? |
19:53 | fredericd | Shane-S: google and openlibrary covers are conflicting |
19:53 | you can't have both together | |
19:54 | Shane-S | oleonard: Yes, I would like to have 2-3, as some books have varied covers |
19:54 | jcamins_away | Ah, there's the problem. I didn't try it with Openlibrary. |
19:54 | wizzyrea | lol, didn't I say that? |
19:54 | jcamins_away | wizzyrea: yes you did. |
19:54 | wizzyrea | ^.^ |
19:55 | jcamins_away | wizzyrea: but now we know specifically the problem is OL+Google. |
19:55 | * wizzyrea | looks around |
19:55 | jcamins_away | That should be noted in a syspref. |
19:55 | wizzyrea: did you say it was about OL+Google? | |
19:55 | wizzyrea | >.> |
19:55 | <., | |
19:55 | <.< | |
19:56 | jcamins_away | I was assuming it was a bug in OL until fredericd told us just now that this is apparently by design. |
19:56 | wizzyrea | ^.^ see 1:51 |
19:56 | Shane-S | let me tunr off OL and see if I can break it more :P |
19:56 | wizzyrea | I would pick, either OL or Google |
19:56 | jcamins_away | wizzyrea: ah, I didn't see that. |
19:56 | wizzyrea | it's ok :) |
19:56 | Shane-S | Why not? |
19:56 | jcamins_away | So everyone else knew five minutes before I did. |
19:56 | wizzyrea | naw |
19:57 | oleonard | Turning off Open Library will make it work |
19:57 | jcamins_away | Shane-S: because I was thinking about analytics. :P |
19:57 | * jcamins_away | leaves for a meeting. |
19:57 | druthb | <.< |
19:57 | oleonard | Shane-S: Be sure to test it with Novelist, LibraryThing, Syndetics, Babelthèque, and Baker and Taylor enabled too |
19:57 | druthb | >.> |
19:57 | * wizzyrea | appreciates that jcamins thinks about analytics |
19:58 | Shane-S | fredericd: why can't I have them both? It appears they use similar code, can we track down the population, both use the "div" code, others don't seem to. |
19:58 | I think switching them to an ID that is unique would fix it, but since the code is entered via JS, I have no idea where to is done | |
19:59 | wizzyrea | it may be in the reply from OpenLibrary or Google |
19:59 | it may not even be in our code. | |
19:59 | * wizzyrea | doesn't know |
20:00 | Shane-S | hmmm.... |
20:00 | what about the "name" field | |
20:00 | fredericd | I think it's in koha code... |
20:00 | Shane-S | I wonder...*goes to try something* |
20:00 | fredericd | If you have activated both cover sources, you have two lines like that: |
20:00 | wizzyrea | fredericd: you would know better than me ;) |
20:00 | fredericd | <div style="block" title="3291" class="0688802311" id="gbs-thumbnail2"></div> |
20:00 | <div style="block" title="3291" class="0688802311" id="openlibrary-thumbnail2"></div> | |
20:00 | Then google and openlibrary JavaScript, identify the div by its class name. That's where there is a conflict. | |
20:00 | It could be solved by prefixing the class name. | |
20:01 | and then google/openlibrary JS search its specific div | |
20:03 | wizzyrea | look at line 22 in openlibrary.js |
20:03 | as likely of a suspect as any | |
20:03 | jwagner joined #koha | |
20:03 | fredericd | you don't need to modify the .js files, just modify opac-results.tt |
20:03 | Shane-S | 23...but I tried "title" instead of "class" but it didn't work |
20:04 | druthb left #koha | |
20:04 | Shane-S | how would it get the ISBN if we prepend the ISBN? |
20:04 | wizzyrea | oh oh I seeit fredericd |
20:05 | Shane-S | I just don't understand the JS is my issue |
20:06 | fredericd | You have a line containing: class="[% SEARCH_RESULT.normalized_isbn %]" |
20:06 | Shane-S | so I added "o" to the class="" line for the open biblio and it broke both |
20:06 | fredericd | Modify it to: class="gbs[% SEARCH_RESULT.normalized_isbn %]" |
20:06 | you also have to modify JS | |
20:07 | Shane-S | fredericd: the JS is my issue...what line specifies the class name? |
20:07 | oleonard | Shane-S: It happens in opac-results.tt |
20:08 | class="[% SEARCH_RESULT.normalized_isbn %] | |
20:08 | kathryn joined #koha | |
20:08 | Shane-S | oleonard: I understand, but class="gbs[...]" <> normalized ISBN anymore |
20:08 | rangi | morning |
20:08 | wizzyrea | mornin |
20:09 | Shane-S | so I have to make the JS strip it, but I don't understand what part of the JS is getting that |
20:09 | cait | morning :) |
20:11 | fredericd | Shane-S: just a second, I'm lookg at the js code... |
20:11 | You have that in google js: | |
20:11 | bibkeys.push($(this).attr("class")) | |
20:11 | that the isbn array sent to google | |
20:11 | replace with: | |
20:12 | var isbn = $(this).attr("class"); | |
20:12 | isbn = isbn.substring(3); | |
20:12 | bibkeys.push(isbn); | |
20:12 | it should work | |
20:12 | Shane-S | okay I will try that |
20:12 | fredericd | and you have to do it for openlibrary js also |
20:14 | Shane-S | what if I don't change the OL class? |
20:14 | they don't overlap if one is the same, obviously I will for future proofing | |
20:14 | but for testing | |
20:15 | oleonard | Either way I get no covers |
20:15 | Shane-S | works for me |
20:17 | wizzyrea | me either |
20:17 | Shane-S | well I have no duplication....but the OL images don't like my div changes |
20:18 | I just put my CSS in and it broke it | |
20:21 | nope you are both right... | |
20:21 | so it broke google, but the OL is pulling google & OL because I didn't change the CSS class | |
20:22 | oleonard | Shane-S: Try changing line 48 of google-jackets.js: $("div [id^=gbs-thumbnail]."+book.bib_key).each(function() { |
20:23 | ...and line 45 of openlibrary.js: $("div [id^=openlibrary-thumbnail]."+isbn).each(function() { | |
20:24 | The problem is that in the callback the script is looping over *all* elements with that class, not just (google or open library) divs | |
20:24 | But we could make the search specific rather than changing the class | |
20:25 | Shane-S | oleonard: umm..line 48 for me is a } in google-jackets.js |
20:25 | oleonard | Have you modified it? |
20:26 | Shane-S | yeah...lets see...I added 3 lines...so that puts me at var a = document.createElement("a"); |
20:28 | oleonard | I see what fredericd was recommending now, and why it didn't work for me. |
20:28 | uh... maybe. | |
20:29 | Shane-S | oleonard: the lines you told me to edit, was what you entered the line? because those are 22 and in both files for me |
20:30 | Topic for #koha is now 3.6.4 and 3.4.8 and 3.2.11 Now Available || Koha Community Website - http://www.koha-community.org || Koha Community Official IRC Channel || Paste - http://paste.koha-community.org | |
20:30 | * wizzyrea | has not-broken google jackets now |
20:30 | wizzyrea | and open library jackets |
20:30 | pastebot | "oleonard" at 66.213.78.34 pasted "Modified openlibrary.js" (70 lines) at http://paste.koha-community.org/292 |
20:30 | Shane-S | what did you do wizz? |
20:30 | wizzyrea | http://screencast.com/t/5uWEID4zQk5n |
20:30 | just what owen suggested | |
20:30 | oleonard | Whoops, sorry, wrong paste |
20:33 | pastebot | "oleonard" at 66.213.78.34 pasted "Modified openlibrary.js" (70 lines) at http://paste.koha-community.org/293 |
20:33 | "Shane-S" at 68.36.8.202 pasted "This right for GBS?" (8 lines) at http://paste.koha-community.org/294 | |
20:34 | oleonard | Not in my version Shane-S |
20:34 | My version doesn't touch that section | |
20:34 | wizzyrea | mine looks like oleonard's |
20:38 | Shane-S | did you have to change the class? |
20:38 | in the template/ | |
20:39 | oleonard | No. No changes to the template. |
20:39 | wizzyrea | oleonard is a magician like that |
20:39 | oleonard++ | |
20:40 | Shane-S | what did you do to the google one? |
20:41 | pastebot | "oleonard" at 66.213.78.34 pasted "Modified google-jackets.js" (75 lines) at http://paste.koha-community.org/295 |
20:41 | "Shane-S" at 68.36.8.202 pasted "my google-jackets.js" (75 lines) at http://paste.koha-community.org/296 | |
20:41 | wizzyrea | you just told it to only look at it's id instead of all of them? |
20:41 | its* | |
20:42 | Shane-S | i see left bibkey |
20:44 | damn...I'll just copy yours...mine is broken | |
20:44 | wizzyrea | using git? |
20:44 | git checkout google-jackets.js | |
20:44 | would reset it | |
20:45 | Shane-S | doh I know why...css class :P |
20:45 | not here no...only at home | |
20:47 | okay...now can we make them bigger ...serious....but kidding for today :P | |
20:49 | well thanks for the help, too bad I didn't "solve" that bug, thanks for oleonard being smart :P | |
20:50 | did you guys do the whole bug process or should I start it? | |
20:50 | wizzyrea | you go ahead. :) |
20:53 | Shane-S | bug 7657 if you want to patch it oleonard |
20:53 | huginn | 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7657 minor, P5 - low, ---, oleonard, NEW , Google and OpenLibrary image conflict |
20:54 | Shane-S | in what now..2 weeks I have gone from I can't install it...to I need to fix it :P |
20:54 | if only i COULD fix it | |
20:59 | well I am off for the night, thanks all cya another day :) | |
21:03 | rangi | http://mako.cc/copyrighteous/20120306-00 |
21:04 | oleonard | I'm off too. Bye all |
21:04 | rangi | cya oleonard |
21:04 | wizzyrea | bye |
21:09 | JesseM joined #koha | |
21:17 | mveron joined #koha | |
21:22 | Johnindy joined #koha | |
21:23 | JesseM left #koha | |
21:27 | rangi | http://wiki.koha-community.org[…]de#Southeast_Asia |
21:27 | check out all the libraries in the philippines | |
21:27 | wizzyrea | whoa |
21:27 | cait | wow |
21:27 | rangi | thats only a fraction of them too |
21:27 | cait | we shouldl reorganise the page a bit |
21:28 | rangi | i think a page per continent might be good |
21:28 | then break ti down into countries | |
21:28 | cait | only sad it's such an old version :( |
21:28 | maximep | probably not one version number still valid |
21:28 | rangi | ? |
21:29 | oh sadly no they are all using 2.2.9 | |
21:29 | wizzyrea | no, that's probably true |
21:29 | rangi | but it works for them |
21:29 | maximep | they really are ? |
21:29 | :S | |
21:29 | rangi | yup |
21:29 | wizzyrea | they really are |
21:29 | maximep | maybe I should add our 22 installs |
21:29 | wizzyrea | you should ;) |
21:29 | cait | yep |
21:30 | rangi | yes, you should :) |
21:30 | maximep: are they on libwebcats? | |
21:30 | maximep | only 1 with 3.6 in that list ? |
21:30 | probably not, because I have no idea what that is | |
21:30 | rangi | ah |
21:31 | http://www.librarytechnology.org/libwebcats/ | |
21:31 | whats the name of one of your libraries? | |
21:31 | http://www.librarytechnology.o[…]brary.pl?RC=63888 <-- one of ours | |
21:32 | 1567 libs with koha on libwebcats currently | |
21:32 | maximep | found http://www.librarytechnology.o[…]wc&RC=62034&Row=2 |
21:32 | cait | :) |
21:32 | rangi | that link wont work |
21:32 | cos of the SID | |
21:32 | maximep | wow |
21:32 | rangi | there should be a permalink url on the page? |
21:33 | maximep | how 198s ot have SIDs |
21:33 | 1980s | |
21:33 | rangi | totally |
21:33 | but | |
21:33 | most ILS still have them | |
21:33 | crazy | |
21:33 | but true | |
21:33 | maximep | http://www.librarytechnology.o[…]brary.pl?RC=62034 |
21:33 | rangi | sweet |
21:34 | cait | :) |
21:34 | rangi | http://www.librarytechnology.o[…]a%20--%20Sys-Tech |
21:34 | that work? | |
21:34 | wahanui | i guess that work is pretty complete now, i hope eythian and srdjan will get around to submitting a patch |
21:34 | rangi | http://www.librarytechnology.o[…]erse.pl?Year=2012 |
21:34 | maximep | ah, 9/22. Not bad |
21:36 | rangi | https://www.youtube.com/watch?v=BZFtjRycPDs <--- wrt SIDs |
21:37 | maximep | I remember having them in an old cms and someone sharing a link to my website |
21:37 | and having 45 people connected to the same session | |
21:39 | one of our big craglist style website in qc still has them... so people get their account hacked all the time | |
21:39 | hdl joined #koha | |
21:39 | rangi | yeah |
21:39 | 'hacked' | |
21:39 | :) | |
21:42 | hdl | hi rangi |
21:42 | rangi | heya hdl |
21:43 | working late? | |
21:43 | wizzyrea | golly, no lie. |
21:46 | hdl | rangi: yep |
21:46 | bag | heya hdl |
21:50 | rangi | hdl: have you heard of lara fabian? |
21:51 | https://www.youtube.com/watch?v=rk-fmvxmh1E | |
21:51 | maximep | aaaaaaaaaaaaaah lara fabian |
21:51 | cait | night all :) |
21:51 | cait left #koha | |
21:53 | maximep | brings back memories from 1997 -_- |
21:53 | when I was 12, haha | |
21:53 | rangi | hehe |
21:56 | wizzyrea | omg I feel old now. |
21:56 | * wizzyrea | glares at maximep |
21:58 | maximep | :P |
22:01 | francharb_afk joined #koha | |
22:01 | maximep | I feel old when I see people born in 1995 |
22:01 | mveron joined #koha | |
22:02 | maximep | just feels weird :S |
22:06 | talljoy1 joined #koha | |
23:15 | maximep left #koha | |
23:51 | NateC joined #koha |
← Previous day | Today | Next day → | Search | Index