![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 157
Karma: 12316
Join Date: Jul 2014
Device: none
|
Include the author's name in a custom search URL
Good afternoon. I hope I can explain myself well. In the Preferences - Look & Feel - Book Details option, where it says "Clicking on author names should:", I selected "Use a custom search URL". In the next box I enter the web address of the site in question, but I cannot get the author's name to be included when the page loads in the browser. The URL is "https://epublibre.org/catalogo/index" (according to the source code, that is the address where the search form points). However, it only loads the page but does not perform any search. What am I doing wrong?
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,507
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
There is a tooltip displayed that reads
Enter the URL to search. It should contain the string {author} which will be replaced by the author name. For example, https://en.wikipedia.org/w/index.php?search={author} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 157
Karma: 12316
Join Date: Jul 2014
Device: none
|
Thank you very much for responding. Unfortunately it doesn't work. I have tried several combinations, but it doesn't work. Either I get error messages about disabled characters or it sends me to the search page showing me all the books they have. I checked the source code and found that the URL to send the search is https://epublibre.org/catalogo/index, the field they use to send the data to search is called bus so the full address would be
https://epublibre.org/catalogo/index?bus={author} but it doesn't work. This is the source code of the form. I hope it helps in some way, but I don't think it will be possible in this case. Code:
<form action="https://epublibre.org/catalogo/index" method="post" accept-charset="utf-8"> <div style="display:none"> <input type="hidden" name="csrf_test_name" value="b1deecb4e9ca716fcedd8662321e9072" /> </div> <div class="input-append"> <input class="input-small busca_inverse" id="bus" name="bus" type="text" placeholder="título, autor, colección" autocomplete="off" onblur="javascript:cambiar2();" onfocus="javascript:cambiar();"/> <button id="buscador_btn" class="btn btn-small btn-inverse" type="submit" onblur="javascript:cambiar2();" onfocus="javascript:cambiar();"> <i id="buscador_icon" class="icon-search icon-white"></i> </button> </div> </form> |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
That form uses HTTP post and seems to depend on several cookies. I don't see any way to make it work with this plugin.
|
![]() |
![]() |
![]() |
#5 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 157
Karma: 12316
Join Date: Jul 2014
Device: none
|
I imagined that. Also thank you very much for your support.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatically include custom columns in search | WalterWalter | Library Management | 2 | 09-12-2022 01:56 PM |
Include location URL links in the highlights text export? | quietbyday | Viewer | 12 | 01-25-2021 10:46 PM |
How to use ¨Use a custom search URL" | Scintnl | Library Management | 2 | 03-18-2020 11:11 PM |
Date Search - Include Today | lazorbeam | Calibre | 4 | 06-06-2014 03:57 PM |
Include URL in Pocket articles | Kitezh | Recipes | 5 | 10-15-2013 10:37 PM |