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. doremifasollatido reblogged this from gkojay
  2. gkojay reblogged this from kuwataro
  3. kidotch reblogged this from jacobd
  4. syoichi reblogged this from jacobd and added:
    これを導入するとTumblrに負荷をかけるらしいので注意 引用:”このスクリプトはページを開くたびに全POSTを取得しに行くためTumblrに高負荷をかけていることを教えていただきました。現在は外しています。”...
  5. bandit reblogged this from jacobd and added:
    here: http://blog.bandit.co.nz/post/80415548/tumblr-ajax-inline-search
  6. chancegarcia reblogged this from jacobd and added:
    in came up with an undefined Tumblr error
  7. 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
  8. tapbut reblogged this from noisnotalwaysno and added:
    Hay, thử luôn :)
  9. noisnotalwaysno reblogged this from jacobd and added:
    Đã ứng dụng thử, cực kỳ cool, index được cả tiếng Việt.
  10. davehauenstein reblogged this from jacobd and added:
    pretty awesome. This dude wrote some javascript so...plan on setting this up tonight.
  11. gedfetz reblogged this from jacobd
  12. willwm reblogged this from jacobd
  13. jbreazeale reblogged this from jacobd
  14. florencio reblogged this from jacobd
  15. anchi reblogged this from jacobd
  16. do-nothing reblogged this from jacobd
  17. plasticdreams reblogged this from browneyes
  18. 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”...
  19. browneyes reblogged this from noisebox
  20. noisebox reblogged this from jacobd
  21. tyzm reblogged this from nyama
  22. nyama reblogged this from freedomcat
  23. kuwataro reblogged this from freedomcat
  24. anta reblogged this from sn
  25. sn reblogged this from jacobd and added:
    Tumblr.searchBox()
  26. kuriz reblogged this from ontheroad
  27. browneyes reblogged this from nakano
  28. skashu reblogged this from freedomcat
  29. thinkcreative reblogged this from nakano and added:
    Tumblr.searchBox()
  30. nakano reblogged this from ontheroad
  31. ontheroad reblogged this from freedomcat
  32. dara-j reblogged this from browneyes
  33. browneyes reblogged this from freedomcat
  34. cocacola reblogged this from jacobd and added:
    Tumblr.searchBox()
  35. tanigami reblogged this from jacobd and added:
    Tumblr.searchBox()
  36. freedomcat reblogged this from jacobd
  37. lomo reblogged this from jacobd
  38. edvakf reblogged this from jacobd
  39. timtom reblogged this from jacobd and added:
    Tumblr.searchBox()
  40. jacobd posted this