#1 2011-06-07 06:40:04

unclepetros
Member
Registered: 2010-04-11
Posts: 88

[Patch] Bol.it plugin improvement

Hi,
I've updated Bol.it plugin as website had changed graphic and contents.

Now it works with search by Title.
Unfortunately, I'm still not able to have search by ISBN working.

This is because I haven't figured out how the site manages this specific POST request.
When an ISBN search is done on the website, it seems to do 2 POST requests in chain, and returns directly the item page, if it exists.
But with firebug under firefox, I can see only 1 POST request, with the description "302 Moved Temporarily".
I've tried to do the same POST request with the plugin, but it doesn't work correctly, it doesn't return the result item page, but the starting page, that is the page we see before the search.

Any ideas on this?

In attachment the patch for the Bol.it plugin.

Regards
UnclePetros


Attachments:
Attachment Icon GCBol.pm, Size: 13,796 bytes, Downloads: 586

Offline

 

#2 2011-06-25 15:11:31

unclepetros
Member
Registered: 2010-04-11
Posts: 88

Re: [Patch] Bol.it plugin improvement

I had done a small mistake in the file GCBol.pm posted above.
I've fixed it.

In attachment the good one.

Regards
UnclePetros


Attachments:
Attachment Icon GCBol.pm, Size: 13,707 bytes, Downloads: 481

Offline

 

#3 2011-07-03 14:06:33

unclepetros
Member
Registered: 2010-04-11
Posts: 88

Re: [Patch] Bol.it plugin improvement

New improvements for bol.it plugin.

I've handled the case in which an item description page is returned directly instead of search results list.

Now, item description page can be returned directly, due to this other patch I've provided, to handle correctly "302 Moved temporarily" HTML response from a site.

This is the ISBN search case.

So, now, also ISBN search works fine for bol.it plugin (you have to install both my patches against the latest svn version).

You can also use directly "GCStar Temp Repository" I mantain here: http://forums.gcstar.org/viewtopic.php?id=1971.

Regards
UnclePetros

Last edited by unclepetros (2011-07-03 14:19:46)


Attachments:
Attachment Icon GCBol.pm.patch, Size: 4,984 bytes, Downloads: 536

Offline

 



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.