Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

How do I add a Lijit search widget to my site?

I know you have shown how to add a Google search box and such to my site (see Add Google search to your site) and even saw that you've written about how to utilize Google Custom Search (see Add Google Custom Search to your site), but I want to implement a cool widget I saw on another site from Lijit. Do you have any info on that?


Dave's Answer:

Your timing is very good as I am ready to implement a Lijit widget on my own sites because, frankly, the search engines I have aren't very good. I started out with just a link to the generic Google search engine, then tweaked it to constrain it to just the domain in question (as documented in Add Google search to your site) then ended up implementing a Google Custom Search Engine. I also utilize the Movable Type search system that's included with MT weblog engines, which isn't that good, truth be told.

And so, after some friendly prodding from the company (they're local and friends), Lijit.

The first step in this journey is to go to the site where the signup is on the very first page, smack dab in the middle of the page. It'll look like this:

Lijit: Signup

Easy enough. Click on the button and you'll shortly be taken to a page where you can tie in your bookmarks (del.icio.us, reddit, Stumble Upon, etc)., photo sharing sites (flickr, YouTube), and social networks (LinkedIn, MySpace, Facebook, Twitter, etc). It looks like this:

Lijit: Signup: Screen 2
Note: Image slightly edited for space reasons

Since none of my other online presences are related to my parenting site, for this one I'm going to leave everything unchecked and click on "Save and Continue". Note that you can easily add the URL of your friends sites and/or other sites that you think should be lumped in with your own search results here too, a la Google Custom Search.

Lijit: Signup: Blogroll

This is cool. They scrape the home page of the site for all the external links (though they call it a "blogroll" it isn't, at least on my site) and give me an easy way to include those that would be useful additional search results for the site. Nice!

Finally it's time to create an account (and much credit to the Lijit team for realizing that asking for individual credentials after collecting the basic widget data is a smart move):

Lijit: Signup: Enroll

Of special note is the naughty word filter: as they say "When someone searches you using a naughty word, those searches will not be displayed anywhere within the Lijit site or your Lijit Search Wijit." My suggestion: choose this option.

Next it'll spin for a while building your search engine (though I think it's just adding you to the user database, but that's another story) then ask you for a picture. Upload one - it's for your account, not the blog search widget - and again click on "Continue".

Now you can have some fun playing with the configuration of your Lijit search widget. I'll step through it piece by piece. First section is:

Lijit: Configure your Widget 1

I'm a minimalist so the first thing I did was uncheck all the optional elements, the content icons, "Add to Google" button, management menu, etc etc. On the right side of this page you can see a preview of the widget as you tweak things. I settled on style "slim rectangle", color "grey" and logo color "grey", chopped off all the other options, and here's the preview, so far:

Lijit: Widget preview

Nice and definitely minimalist!

The next section of the configuration options are more about the behavior of the widget and the resultant search page:

Lijit: Configure: Widgets

I suggest you leave them exactly as-is until you have a chance to play with your Lijit widget and see how it works on your site.

Finally you have some code to play with! If you're on Typepad or Blogger, there's a one-click install, but if you're a Wordpress or Movable Type person (I use the latter) you'll need to grab the code. It looks like this:

Lijit: Widget Source Code

Let's unwrap that and have a look:

<script type="text/javascript"
src="http://www.lijit.com/informers/wijits?type=pvs&username=d1taylor&js=1"></script>
<a style='color: #999' href='http://www.lijit.com' id='lijit_wijit_pvs_link'>Lijit Search</a>

and the code, hot:

Lijit Search

Nice. All that's left at this point is to find the right spot in the parenting blog template in Movable Type, copy and paste in this particular code and republish all the pages. Ten minutes and ... done!

Now, your assignment:

  • Go to my parenting blog.
  • Search for something, anything. (stumped? Try "pacifier")
  • Bask in the glory of the Lijit search!
Now, the last part of the assignment is to post a note telling me what you think of the Lijit search. Is it superior to a Google Custom Search? Or is there another smart alternative search widget for bloggers out there?



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Dave make sure you check out the ligit widget in your sidebar once again because 50% of the widget is non-clickable and i guess its flash based. I was searching for a search box to search something and now iam led to nowhere :(

Posted by: Amit Bhawani at February 10, 2008 12:24 AM

Hey Dave! Just got done playing with the widget (or should I say wijit) and I was really impressed by it, so much in fact, I added it to my site. :)

I haven't seen anything else that is as easy to use as this.

Posted by: Apadwe at February 11, 2008 5:54 PM

dave, this is great stuff, i have instaled the wijit on my site. i can't thank you enaugh

Posted by: mace at February 23, 2008 8:29 AM

Hi Dave, How do you manage it all? My Space, Facebook, Tweeter, Linkedin, youtube, flicker, my own blog not to mention iphone, ipod, i-i-i Geesh!
I could spend all of my time posting, updating, downloading, commenting, designing and redesigning - whew! Is there one way to manage it all? How do you get anything done? I fear that all the social networking, blogging, and online marketing won't have any time left in my day for the actual business.

Posted by: Donlyn Arbuthnot at April 26, 2008 8:52 AM

Oops! I didn't mean to add my comment to your post on the ligit widget - which I've added to my blog and love it! My comment was meant to be a general question.
Sorry about that! -- Donlyn on training wheels

Posted by: Donlyn Arbuthnot at April 28, 2008 9:12 AM

Hey dave thanks a lott....
i have installed widget..in my frnds website..

Posted by: abdul at June 17, 2008 7:35 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 2000+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2009 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.