-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number of hits from DBLP #13
Comments
This sounds like a good idea! And thanks for digging up the correct parameter. I wonder whether proper pagination wouldn't even be better, though. That is, the package should probably have a "more" link at the end of all results. I don't have time for that more general feature, though; in fact, I don't really have time to implement a parameter that works for all backends, because I'd have to look at the docs of each backend. I do, however, have time to suggest the following trick:
Adding this to your .emacs should do it :) Does this help? |
Thanks for the quick answer Clement!
I had already done exactly the solution you suggested :) Obviously there
are more elegant ways of doing this so if you ever have some time it could
be a nice addition (I would have offered to help but my lisp is not good
enough).
Btw, you could also initially only support this feature on some of the
backends.
Also, let me comment that I think it's much better to list all hits rather
than scrolling through separate pages. Specifically, I use biblio as
follows:
1. I usually do a dblp-lookup with one of the author names.
2. Then within the buffer that contains all of that author's publications I
usually just search for some word in the title that I remember or the name
of another coauthor.
If you implemented the solution with multiple pages I think it would be
hard to search through.
Thanks again!
Ron
…On Thu, Feb 16, 2017 at 4:27 PM, Clément Pit--Claudel < ***@***.***> wrote:
This sounds like a good idea! And thanks for digging up the correct
parameter. I wonder whether proper pagination wouldn't even be better,
though. That is, the package should probably have a "more" link at the end
of all results.
I don't have time for that more general feature, though; in fact, I don't
really have time to implement a parameter that works for all backends,
because I'd have to look at the docs of each backend. I do, however, have
time to suggest the following trick:
(defun ~/biblio-dblp--url (query)
"Create a DBLP url to look up QUERY (with 42 results)."
(format "https://dblp.uni-trier.de/search/publ/api?h=%d&q=%s&&format=xml"
42 (url-encode-url query)))
(advice-add 'biblio-dblp--url :override #'~/biblio-dblp--url)
Adding this to your .emacs should do it :) Does this help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALAeDVecw9D-iddyGRrgf8RA2TQWGvvJks5rdL80gaJpZM4MDZ6M>
.
|
Hi,
First of all thanks for the fantastic package!
I noticed that the number of hits that I get from dblp is always upper bounded by 30. Investigating this a bit I see that this is due to the dblp's interface which defaults to 30 hits. However, they have a parameter (called h) that allows for more hits. See here:
https://dblp.uni-trier.de/faq/13501473
I'd like to suggest that you add a variable that can be customized for this.
Many thanks!
Ron
The text was updated successfully, but these errors were encountered: