Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8438757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:48:12+00:00 2026-06-10T07:48:12+00:00

Very much new to web development and Jekyll, and trying to implement TapirGo into

  • 0

Very much new to web development and Jekyll, and trying to implement TapirGo into my website to allow for static search. It appears as though their Jquery plugin is active on my site (when manually adding the parameter ?query=example to my site, it seems to make mention of tapir when loading my website) but I cannot figure out for the life of me how to actually get results to appear in anything meaningful.

Ideally, I’d have a form in my website that would display a list of results and allow the visitor to click on one.

Anyways, here’s my (mostly copy and pasted) code:

<script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/libs/modernizr-2.0.min.js"></script>
<script src="/js/libs/respond.min.js"></script>   
<script src="/js/jquery-tapir.min.js"></script>
<script>
    $('#search_results').tapir({'token': '502f16a53f61b006d6000bbc'});
</script>   
</head>
<body>
<div id="search_results"></div>
</body>

Thanks ahead of time for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:48:14+00:00Added an answer on June 10, 2026 at 7:48 am

    If you want to display result you need to create an input text and a button. You don’t need to call tapir(...) method because the way they implement it is crap 🙂 (or I don’t like it, choose which one you prefer)

    So first do the text box and the button, followed by the div that will display result.

    <!-- HTML -->
    <input type="text" name="query" />
    <input type="button" name="search" value="search" />
    <div id="results"></div>
    
     ...
    

    and then,

    // Javascript
    $('input[name="search"]').click(function(e) {
        $.getJSON(
            'http://tapirgo.com/api/1/search.json?token=' 
                 + 'PUT_YOUR_TOKEN_HERE' 
                 + '&query=' 
                 + $('input[name="query"]').val()
                 + '&callback=?', 
            function(data) {
                $('#results').empty();
                $.each(data, function(key, val) {
                    $('#results').append('<div class="result"><h3><a href="'
                                         + val.link + '">' 
                                         + val.title + '</a></h3><p>' 
                                         + val.summary + '</p></div>');
                });
            }
        );
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i m new to this android application development i would be very much grateful
I'm working on my first asp.net/web development application. Obviously, I'm very new to asp.net
I'm very new to web development and I know this might be stupid approach
So I am very new to web development and working on a new project
I'm very new to web development, have many years background on the desktop, but
I created a new Spring web app, and I'd very much like to use
I am very much new to stack overflow so I do apologize if I
I'm very much new to programming and have been doing fairly well so far.
I am very much new to IOS. I am using the storyboard feature to
I am very much new to BPM (Business Process Management), I was asked to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.