A jQuery plugin for Project Gutenberg.

Hi. Let me announce the release of a little jQuery plugin for Project Gutenberg. Which enables searching items on the Project with jQuery way. * QueryBerg http://turutosiya.github.com/queryberg/ Anyone jQuery developer here? -- Toshiya TSURU <turutosiya@gmail.com> http://twitter.com/turutosiya

On 05/02/2012 03:52 PM, Toshiya TSURU wrote:
Hi.
Let me announce the release of a little jQuery plugin for Project Gutenberg. Which enables searching items on the Project with jQuery way.
* QueryBerg http://turutosiya.github.com/queryberg/
Anyone jQuery developer here?
Tell me why anybody should want to put a different search widget with a different design in front of the PG web site? (Which btw. has a perfectly working search widget of its own, only with more features and with a design that matches the rest of the site.) Then: - It doesn't work with mozilla. - You can't get past the first page of results. - You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org. - You have hardcoded the number of items to shave off the top. This number changes according to the search results. - You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing. -- Marcello Perathoner webmaster@gutenberg.org

Thank you for your feedback.
- It doesn't work with mozilla. Which version are you working on? (When I tried with FF ver. 12, It works fine.)
- You can't get past the first page of results. What did you mean by ' first page' ?
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org. ok. I'll try to fix.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results. Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing. Yes, That is what I'm afraied of. Maybe I should host my own API service by importing PG's offline catalog.
Why I created this plugin is.... * I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible & useful from JavaScript. Then, I've created one. And What you're seeing at : http://blog.turutosiya.com/demo/queryberg/index.html is the DEMO page of this plugin. What this plugin deos is providing $.queryberg()/$.qb() method onto jQuery, not providing widget. On Thu, May 3, 2012 at 1:34 AM, Marcello Perathoner <marcello@perathoner.de> wrote:
On 05/02/2012 03:52 PM, Toshiya TSURU wrote:
Hi.
Let me announce the release of a little jQuery plugin for Project Gutenberg. Which enables searching items on the Project with jQuery way.
* QueryBerg http://turutosiya.github.com/queryberg/
Anyone jQuery developer here?
Tell me why anybody should want to put a different search widget with a different design in front of the PG web site? (Which btw. has a perfectly working search widget of its own, only with more features and with a design that matches the rest of the site.)
Then:
- It doesn't work with mozilla.
- You can't get past the first page of results.
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results.
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing.
-- Marcello Perathoner webmaster@gutenberg.org _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
-- Toshiya TSURU <turutosiya@gmail.com> http://twitter.com/turutosiya

Hi Toshiya TSURU, I just wanted to congratulate you on contributing this tool! Don't lose heart, don't give up. All the best On 3 May 2012 07:47, Toshiya TSURU <turutosiya@gmail.com> wrote:
Thank you for your feedback.
- It doesn't work with mozilla. Which version are you working on? (When I tried with FF ver. 12, It works fine.)
- You can't get past the first page of results. What did you mean by ' first page' ?
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org. ok. I'll try to fix.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results. Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing. Yes, That is what I'm afraied of. Maybe I should host my own API service by importing PG's offline catalog.
Why I created this plugin is....
* I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible & useful from JavaScript.
Then, I've created one.
And What you're seeing at :
http://blog.turutosiya.com/demo/queryberg/index.html
is the DEMO page of this plugin.
What this plugin deos is providing $.queryberg()/$.qb() method onto jQuery, not providing widget.
On Thu, May 3, 2012 at 1:34 AM, Marcello Perathoner <marcello@perathoner.de> wrote:
On 05/02/2012 03:52 PM, Toshiya TSURU wrote:
Hi.
Let me announce the release of a little jQuery plugin for Project Gutenberg. Which enables searching items on the Project with jQuery way.
* QueryBerg http://turutosiya.github.com/queryberg/
Anyone jQuery developer here?
Tell me why anybody should want to put a different search widget with a different design in front of the PG web site? (Which btw. has a perfectly working search widget of its own, only with more features and with a design that matches the rest of the site.)
Then:
- It doesn't work with mozilla.
- You can't get past the first page of results.
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results.
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing.
-- Marcello Perathoner webmaster@gutenberg.org _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
-- Toshiya TSURU <turutosiya@gmail.com> http://twitter.com/turutosiya _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d

Thanks Roger, It's really encouraging! On Fri, May 4, 2012 at 2:33 AM, Roger Lee <rrjlee@gmail.com> wrote:
Hi Toshiya TSURU, I just wanted to congratulate you on contributing this tool! Don't lose heart, don't give up. All the best
On 3 May 2012 07:47, Toshiya TSURU <turutosiya@gmail.com> wrote:
Thank you for your feedback.
- It doesn't work with mozilla. Which version are you working on? (When I tried with FF ver. 12, It works fine.)
- You can't get past the first page of results. What did you mean by ' first page' ?
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org. ok. I'll try to fix.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results. Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing. Yes, That is what I'm afraied of. Maybe I should host my own API service by importing PG's offline catalog.
Why I created this plugin is....
* I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible & useful from JavaScript.
Then, I've created one.
And What you're seeing at :
http://blog.turutosiya.com/demo/queryberg/index.html
is the DEMO page of this plugin.
What this plugin deos is providing $.queryberg()/$.qb() method onto jQuery, not providing widget.
On Thu, May 3, 2012 at 1:34 AM, Marcello Perathoner <marcello@perathoner.de> wrote:
On 05/02/2012 03:52 PM, Toshiya TSURU wrote:
Hi.
Let me announce the release of a little jQuery plugin for Project Gutenberg. Which enables searching items on the Project with jQuery way.
* QueryBerg http://turutosiya.github.com/queryberg/
Anyone jQuery developer here?
Tell me why anybody should want to put a different search widget with a different design in front of the PG web site? (Which btw. has a perfectly working search widget of its own, only with more features and with a design that matches the rest of the site.)
Then:
- It doesn't work with mozilla.
- You can't get past the first page of results.
- You are using and jumping to the desktop site instead of the mobile site: m.gutenberg.org.
- You have hardcoded the number of items to shave off the top. This number changes according to the search results.
- You are using a yahoo proxy to xdr. That way you'll only get the proxy blacklisted as soon as more people start using this thing.
-- Marcello Perathoner webmaster@gutenberg.org _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
-- Toshiya TSURU <turutosiya@gmail.com> http://twitter.com/turutosiya _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
-- Toshiya TSURU <turutosiya@gmail.com> http://blog.turutosiya.com/

On 05/03/2012 08:47 AM, Toshiya TSURU wrote:
- It doesn't work with mozilla. Which version are you working on? (When I tried with FF ver. 12, It works fine.)
In Iceweasel 10.0.4 it just sits there and spins forever.
- You can't get past the first page of results. What did you mean by ' first page' ?
When there are more than 25 results, the results are paginated. Your tool cannot display pages 2, 3, 4, ...
- You have hardcoded the number of items to shave off the top. This number changes according to the search results. Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
Of course it changes. Just try a few searches. You'll have to inspect the target url to tell which ones to skip.
Why I created this plugin is....
* I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible& useful from JavaScript.
That doesn't make sense. You have just implemented a fake front for the PG site. You should have implemented a full OPDS client. Then you'd be able to search more than one site from your app. There's an iOS app called "Inkstone Ebook Search" that searches all prominent ebook sites in one go. That makes sense. -- Marcello Perathoner webmaster@gutenberg.org

Which version are you working on? (When I tried with FF ver. 12, It works fine.)
In Iceweasel 10.0.4 it just sits there and spins forever. Ok. I'll test with Iceweasel if I could have enough time.
- You can't get past the first page of results.
What did you mean by ' first page' ?
When there are more than 25 results, the results are paginated. Your tool cannot display pages 2, 3, 4, ...
At this point, Right. It should be better to implement pagemation.
Why I created this plugin is....
* I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible& useful from JavaScript.
That doesn't make sense. You have just implemented a fake front for the PG site. You should have implemented a full OPDS client. Then you'd be able to search more than one site from your app. There's an iOS app called "Inkstone Ebook Search" that searches all prominent ebook sites in one go. That makes sense.
I think it depends, whether it make sense or not. Which means, If there is anyone who wants to use this plugin, it makes sense. And, I'm the first one who wants to use this plugin. Anyway, I agreee with your suggention that I should implement a OPDS client. That's better, totally. Thank you fro your feedback!
- You have hardcoded the number of items to shave off the top. This number changes according to the search results.
Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
Of course it changes. Just try a few searches. You'll have to inspect the target url to tell which ones to skip.
OK. I7ll try to fix this too. On Sun, May 6, 2012 at 9:03 PM, Marcello Perathoner <marcello@perathoner.de> wrote:
On 05/03/2012 08:47 AM, Toshiya TSURU wrote:
- It doesn't work with mozilla.
Which version are you working on? (When I tried with FF ver. 12, It works fine.)
In Iceweasel 10.0.4 it just sits there and spins forever.
- You can't get past the first page of results.
What did you mean by ' first page' ?
When there are more than 25 results, the results are paginated. Your tool cannot display pages 2, 3, 4, ...
- You have hardcoded the number of items to shave off the top. This number changes according to the search results.
Yes. but PG responses a few entries which seems not to be a real entry, at the top of its response. ("Sort by Release Date" and something like that) http://www.gutenberg.org/ebooks/search.opds/?query=faust
This number changes?
Of course it changes. Just try a few searches. You'll have to inspect the target url to tell which ones to skip.
Why I created this plugin is....
* I'd like to implement a searching feature of PG entries within my webapp. * I could not find any API which is accessible& useful from JavaScript.
That doesn't make sense. You have just implemented a fake front for the PG site. You should have implemented a full OPDS client. Then you'd be able to search more than one site from your app. There's an iOS app called "Inkstone Ebook Search" that searches all prominent ebook sites in one go. That makes sense.
-- Marcello Perathoner webmaster@gutenberg.org _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
-- Toshiya TSURU <turutosiya@gmail.com> http://blog.turutosiya.com/
participants (3)
-
Marcello Perathoner
-
Roger Lee
-
Toshiya TSURU