0
Under review

Feature Request: Search local collection (single Bibtex file)

Quinn DuPont 4 years ago updated by Tim Whiteaker 2 years ago 2

Is there a way to search only local results? For instance, if I have a single bibtext file (or zotero collection) that I have embedded on my website, I would like to be able to search across these results. For very large collections (100-1000) having browse-only functions (by year, by type, etc) is not sufficient.

Under review

When you say "search" do you perhaps mean filter? If yes, then the answer is yes (see the "filter" option described on the help page in the options section). If no, then I don't understand what you are trying to do, since your visitors can just use the search of their browsers to search within the page.

Filtering is nice because it hides the items the user doesn't want to see. Correct me if I'm wrong, but to implement filtering based on user inputs into a search box, I'd have to dynamically remove the existing BibBase elements and script tag, and then add a new script tag to my HTML body which is a copy of the original BibBase one except that it includes the filter parameter.  Or perhaps just reload the whole page, writing out the BibBase script tag on page load, and include the user's search parameters in my page URL so I can find them and insert them into the script tag before I add it to the page. Either way, I get a bit nervous when I'm in charge of inserting elements into my page. I would like it better if search was built in to BibBase, like the controls for grouping are.