Jacob DeHart

Jacob DeHart

I am Jacob DeHart. I start businesses with my wife Mischa. Our first project is CulinaryCulture. Check me out on flickr, twitter.

Random Tumblelog

Wednesday December 26th 2007

Tumblr search update

This is out of date, in fact I don’t even own the url that this was hosted at anymore. I have a new version in the works, follow me for the update!

Ok I redid a bunch of my tumblr search code.  Here’s the update list
  • Overhauled entire script. much cleaner
  • Uses “AJAX” to pull in data.
  • Loads all data, not just last 20 posts. (maybe should limit this in the future!)
  • Can have multiple search boxes
To include this in your site add this code to the customize part somewhere between the  tags.

<script src=”http://www.thisismydevsite.com” type=”text/javascript”></script>

Then put this code where you want a search box to appear.

<script type=”text/javascript”>Tumblr.searchBox()</script>

If you can, copy that JS file to your own server and link to that.

If you view source on my page you can see the custom CSS I added to format the search results, otherwise it will look pretty raw.

Enjoy!

  1. gkojay reblogged this from kuwataro
  2. doremifasollatido reblogged this from gkojay
  3. gkojay reblogged this from kuwataro
  4. kidotch reblogged this from jacobd
  5. syoichi reblogged this from jacobd and added:
    これを導入するとTumblrに負荷をかけるらしいので注意 引用:”このスクリプトはページを開くたびに全POSTを取得しに行くためTumblrに高負荷をかけていることを教えていただきました。現在は外しています。”...
  6. bandit reblogged this from jacobd and added:
    here: http://blog.bandit.co.nz/post/80415548/tumblr-ajax-inline-search
  7. chancegarcia reblogged this from jacobd and added:
    in came up with an undefined Tumblr error
  8. dongthao reblogged this from noisnotalwaysno and added:
    Làm sao bác mở comment trên này được thế? Của mình không có comment
  9. tapbut reblogged this from noisnotalwaysno and added:
    Hay, thử luôn :)
  10. noisnotalwaysno reblogged this from jacobd and added:
    Đã ứng dụng thử, cực kỳ cool, index được cả tiếng Việt.
  11. davehauenstein reblogged this from jacobd and added:
    pretty awesome. This dude wrote some javascript so...plan on setting this up tonight.
  12. gedfetz reblogged this from jacobd
  13. willwm reblogged this from jacobd
  14. jbreazeale reblogged this from jacobd
  15. florencio reblogged this from jacobd
  16. anchi reblogged this from jacobd
  17. teleute reblogged this from jacobd
  18. do-nothing reblogged this from jacobd
  19. plasticdreams reblogged this from browneyes
  20. ontheroad reblogged this from browneyes and added:
    Ok I redid a bunch of my tumblr search code. Here’s the update list Overhauled entire script. much cleaner Uses “AJAX”...
  21. browneyes reblogged this from noisebox
  22. noisebox reblogged this from jacobd
  23. tyzm reblogged this from nyama
  24. nyama reblogged this from freedomcat
  25. kuwataro reblogged this from freedomcat
  26. anta reblogged this from sn
  27. sn reblogged this from jacobd and added:
    Tumblr.searchBox()
  28. kuriz reblogged this from ontheroad
  29. browneyes reblogged this from nakano
  30. skashu reblogged this from freedomcat
  31. thinkcreative reblogged this from nakano and added:
    Tumblr.searchBox()
  32. nakano reblogged this from ontheroad
  33. ontheroad reblogged this from freedomcat
  34. dara-j reblogged this from browneyes
  35. browneyes reblogged this from freedomcat
  36. cocacola reblogged this from jacobd and added:
    Tumblr.searchBox()
  37. tanigami reblogged this from jacobd and added:
    Tumblr.searchBox()
  38. freedomcat reblogged this from jacobd
  39. lomo reblogged this from jacobd
  40. edvakf reblogged this from jacobd
  41. timtom reblogged this from jacobd and added:
    Tumblr.searchBox()
  42. jacobd posted this