#1 2006-12-18 13:55:36
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
adlibris.se
Tian and everyone else who works on this: Thanks.
I was wondering how hard it would be to add a search plugin for www.adlibris.se and/or www.internetbokhandeln.se ?
Offline
#2 2006-12-18 15:23:44
Re: adlibris.se
Hello,
It is not really hard to do, but it takes some time. I won't be able to do it right now. So if anyone wish to do so, she/he is welcome as I think it would great to have at least one swedish plugin.
To get some support about the creation of a new plugin, do not hesitate to post a message in the developer forum:
http://forums.gcstar.org/viewforum.php?id=2
Offline
#3 2006-12-18 18:23:40
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
I'm not able to do it myself, but would naturally be available for testing if someone steps up.
Offline
#4 2006-12-18 23:38:07
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi,
I can try to do it if you can wait until the beginning of January, but I don't speak swedish, so I will need some help from you, Brosen, to understand the sites
For example if you can provide some screenshots describing, for a book, were to find the different fields for the plugin on the pages, it will be marvelous
Offline
#5 2006-12-19 08:49:57
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
Hi!
tpf wrote:
Hi,
For example if you can provide some screenshots describing, for a book, were to find the different fields for the plugin on the pages, it will be marvelous
Wonderful! Thank you, January would be amazing and I will naturally help out with any kind of translation you need. I'm not quite sure what kind of screen shot you need, but I attach one as a test baloon.
Please let me know if this is what you need..
Offline
#6 2006-12-19 13:04:51
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
Thank you, this is exactly what I need ! If you can do the same thing for the second site it will be perfect !
Offline
#7 2006-12-19 14:28:25
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
Great!
The other site, www.internetbokhandeln.se may be a little trickier, I'm not sure.
They haven't got proper Title or Description keywords visible on the page, but the html does reveal this bit which may be of use:
Code:
<span class=title1>Whisky </span> <br><span class=title2>100 klassiker</span> <p><span class=saletext2>Bästa whiskyboken?<br> Hundra olika whiskysorter presenteras; single malts, skotska och irländska blended, amerikansk whiskey</span></i>
I can't find anything useful for the long description at the end, its contained in a simple html paragraph.
The screen shot:
Offline
#8 2006-12-19 17:22:42
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
How do you know that I like Whiky ???
Thank you for all the informations I've got all the materials to work during this winter
Now I have just to do it...
Offline
#9 2006-12-19 17:50:54
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
tpf wrote:
How do you know that I like Whiky ???
Who doesn't? Thought it'd cheer you up a bit is all :-)
tpf wrote:
Thank you for all the informations I've got all the materials to work during this winter
Now I have just to do it...
No, thank you for helping me with this. I really appreciate it. Take your time and don't spoil the holidays with work ;-)
Offline
#10 2007-01-14 22:34:18
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
I've drunk all the Whisky, and now I can understand swedish... more or less
On adlibris ( for book ISBN: 9189128311 for example ), there is a mention "Antal sidor: 264". I suppose that it is the number of pages. Can you confirm me or translate it to me, please ?
Offline
#11 2007-01-14 23:13:55
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Brosen,
I haven't find the informations on adlibris for :
* Serie
* Edition
* Genre
Can you indicate me where I can find them on the site ? And if they aren't available, I'm near the end for the plugin
Offline
#12 2007-01-15 13:02:46
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
tpf wrote:
Hi Brosen,
I've drunk all the Whisky, and now I can understand swedish... more or less
On adlibris ( for book ISBN: 9189128311 for example ), there is a mention "Antal sidor: 264". I suppose that it is the number of pages. Can you confirm me or translate it to me, please ?
Yep, number of pages is exactly right. Hope the Whiskey was alright.
Last edited by brosen (2007-01-15 13:03:17)
Offline
#13 2007-01-15 13:08:51
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
tpf wrote:
Brosen,
I haven't find the informations on adlibris for :
* Serie
* Edition
* Genre
Can you indicate me where I can find them on the site ? And if they aren't available, I'm near the end for the plugin
Hm, I can't find it either so it looks like you're almost done. :-)
Offline
#14 2007-01-15 20:53:59
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
So in this case, can you help me to test ?
Last edited by tpf (2007-01-16 23:15:25)
Offline
#15 2007-01-16 19:07:05
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
I've tried about 10 books, searching on both isbn and title and it works perfectly. Thank you very, very much. :-)
Offline
#16 2007-01-16 23:24:20
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
I've modified the plugin to change the language from SW to SV ( I think that swedish in ISO codification is SV not SW which is the swahili )
I'm near the end for the second site, I need only one information : the name of the month in swedish
Offline
#17 2007-01-17 14:35:51
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
Hey tpf,
tpf wrote:
I've modified the plugin to change the language from SW to SV ( I think that swedish in ISO codification is SV not SW which is the swahili
)
Oops, I should have caught that :-)
tpf wrote:
I'm near the end for the second site, I need only one information : the name of the month in swedish
Great!
januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november and december
Unlike in English, months are not capitalized in Swedish.
Offline
#18 2007-01-18 21:52:23
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
If you still have some time : can you do some tests about this plugin ?
Offline
#19 2007-01-23 16:01:44
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
Hello tpf,
Sorry for not replying earlier, especially after all your work.
The new plugin works well with one or possibly two exceptions.
isbn 9113014528 returns a slightly confused result for Edition. I looked at the page and it's something they call Edition number (Upplagenr.), which seems to be different from edition. I doubt this book has come out in 7000 different editions in Sweden!
The second problem is a minor one. Format (Band) often contains a linebreak which turns up as a weird symbol (square with four tiny circles inside). This is mostly a cosmetic problem and easy to live with.
Offline
#20 2007-01-23 22:42:26
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
I'm in Poland for work so I can't take a look for instance ( I can do only this week end ).
For the second problem can you give me an isbn for which you have the trouble ? or is it the same as the first trouble ?
Offline
#21 2007-01-24 21:41:56
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
No hurry.
This book has both problems (and the one I intended to post first but got wrong!)
isbn 9173430668
The second line of format (Band) is actually pretty useless as it only says that this particular book is also available in other formats, such as Paperback.
So including that info in GCStar is pretty pointless in my opinion.
Offline
#22 2007-01-27 15:22:45
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Hi Brosen,
I'm back !
Concerning the format, I've modified the plugin to take into account only the first line.
For the trouble with edition, I can :
* make a test if edition equal 700 then I ignore the value ( )
* or for all books forget the field edition ( for instance for each book I've tried I've got only edition=1 or edition=7000 ). I don't know if you found book wich have another edition number.
For my point of view I prefer the second choice. hat's your opinion ?
Offline
#23 2007-01-28 10:37:33
- brosen
- Member
- Registered: 2006-12-18
- Posts: 14
Re: adlibris.se
Hi tpf,
Thanks for taking the time. :-)
I agree that the second option, ignoring edition entirely is probably the best one. If their use of it ever makes sense sometime in the future, perhaps it could be added.
Offline
#24 2007-01-28 14:53:22
- tpf
- Moderator
- Registered: 2006-12-12
- Posts: 161
Re: adlibris.se
Ok, in this case, here is the version
Offline
Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.