#1 2007-05-23 07:52:55
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Plugins for Polish book sites
Hello
I was in need to catalogue my home books and looked for some collection manager. Found GCStar but there was no Polish book plugin. So I decided to help myself (and the others) and created three of them:
for National Library: http://alpha.bn.org.pl/screens/opacmenu.html (is on the request list)
for Merlin online bookstore http://www.merlin.com.pl (is on the request list too)
and for NUKat (National, Universal Central Catalogue) http://www.nukat.edu.pl/.
Well, this was my first contact with Perl and I do know that these plugins are not the best piece of code but they seem to work. And they are needed, so I'm submitting them in hope they will be usable for some of you.
Now I'm correcting Polish translation files and hope to finish them soon.
Offline
#2 2007-05-24 05:12:04
Re: Plugins for Polish book sites
Hello,
Thank you very much. This is a great work.
I added them to the update repository to make them available to all users of 1.1.1 version right now. I will add them to CVS ASAP and it will be delivered with next version.
Offline
#3 2007-05-25 10:36:03
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hi
I forgot to remove a "print-to-console" line from GCNUKat.pm file which is located in the GCPlugins/GCbooks/ directory.
Attached is corrected one.
Offline
#4 2007-05-25 14:44:50
Re: Plugins for Polish book sites
I updated it. Thanks.
Offline
#5 2007-05-28 12:55:53
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hi
Now the third, and the last of requested, polish books web plugin. This time for http://www.mareno.pl
Offline
#6 2007-05-30 21:01:19
Re: Plugins for Polish book sites
Hello,
I added this plugin to update repository and CVS as the other ones. I also edited the list of requested plugins to remove them.
Thank you very much.
Offline
#7 2007-06-01 13:21:30
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hello
I found a bug in the ISBN number parsing code and corrected it.
On that occasion I cleaned some code here and there, packed all Polish book site again and attached the pack here.
Offline
#8 2007-06-01 14:07:40
Re: Plugins for Polish book sites
Thank you again for your work. I added them to the update repository.
Just a little remark. I noticed that in all of your plugins you added monthNumber as a member with translations. Actually this is done for other plugins only when they require it. It's only internal for them. So if you don't need to use it explicitely, you may remove it.
Offline
#9 2007-06-04 11:34:35
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Well. As I said before - it is my first time ever I wrote any code in Perl, so I tried to rewrite somebody's else plugin. There was monthNumber in his/her code and as I didn't know what it is for, I decided to leave it having translate month names to Polish.
Now, knowing it is not needed, I removed it and corrected at the same time GCBibliotekaNarodowa.pm. The pack is attached.
Thanks for your help.
Offline
#10 2007-06-04 17:37:21
Re: Plugins for Polish book sites
I updated the plugins everywhere. Thanks.
Offline
#11 2007-06-19 07:29:42
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hi
After few days of using my plugins seriously I found one of them - for National Library (GCBibliotekaNarodowa.pm) - being too "stupid". So here it is updated.
Offline
#12 2007-06-20 09:17:12
Re: Plugins for Polish book sites
I updated it. Thank you for this fix.
Offline
#13 2007-07-19 08:21:31
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Well...
It looks like http://www.merlin.com.pl has changed its website template a little. So I had to modify GCMerlin.pm accordingly.
Besides, I found that GCNUKat.pm was leaving a dot at the end of author's name so I changed it too.
Both of them are attached.
WG
Offline
#14 2007-07-28 17:24:19
Re: Plugins for Polish book sites
Sorry for the delay. I just updated these plugins everywhere.
Offline
#15 2007-08-05 12:53:13
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
I'm sorry, I hurried too much to update the GCMerlin.pm and overlooked a serious bug inside it. Here is a corrected version. Sorry again.
WG
Offline
#16 2009-05-09 18:42:14
- aaaa
- New member
- Registered: 2009-05-09
- Posts: 1
Re: Plugins for Polish book sites
It does not work on Windows On Linux it work. But my friends use Win.
Polish plugin still search and search. I thing his don't connect in side merlin, mareno and more. Because other plugin (not polish) although the display window:
nothing found.
help
Offline
#17 2009-05-12 09:50:08
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hello.
These plugins were not very advanced but used to work for me (although being a bit capricious sometimes).
I still use them from time to time and found that there are troubles when a plugin gets multiple hits. But I chose to leave it as is, because I'm not frequent user of GCstar and no other cared.
If you want me to explain something or help you please e-mail me. If your native language is Polish - let's write in Polish, that way we can better understand each other.
WG
Offline
#18 2009-06-15 00:40:07
Re: Plugins for Polish book sites
Yeah, sadly the Merlin thingie doesn't work any more, they must've changed something in the matrix apparently. All the rest are just fine (except for the BN having some problems with the ISBN numbers, but I guess it's their DB, not the plugin).
THANKS for all the hard work.
Why oh why is writing plugins for GCStar so complicated...
Offline
#19 2010-04-27 11:19:52
Re: Plugins for Polish book sites
Any chance those plugins get updated? There's a serious-yet-easy-to-fix bug in them now, I filed it here: http://forums.gcstar.org/viewtopic.php?pid=5918#p5918
Cheers
Why oh why is writing plugins for GCStar so complicated...
Offline
#20 2014-09-17 08:00:38
- WG
- Member
- From: Poland
- Registered: 2007-05-23
- Posts: 20
Re: Plugins for Polish book sites
Hi,
at last I forced myself to return to GCstar plugin coding.
- I changed Merlin plugin to properly import data from the site.
- I created a new plugin for Bonito.pl bookstore.
- Mareno is probably out of business and its plugin should be deleted from GCstar distribution.
- BibliotekaNarodowa and NUKat are still working but give no result, maybe some day I'll give them a chance...
GCBonito.pm and the new GCMerlin.pm are packed in the attached zip file.
WG
Offline
Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.