BuzzFlux: Recent Search Queries

Posted on 03. Mar, 2010 by Kirk in Arts

In my ceaseless quest for content to clutter up my blog’s sidebar, I have found a rich new source: reader search queries, or “buzz”. BuzzFlux allows you to retrieve and display these search queries in near-real-time, right in your sidebar, for the amazement of your readership. It also signals my return to blog-hacking after a six month hiatus.

Should I Do This?

First things first: is it a good idea to display your readers “live” search queries on your blog? On the plus side, it gives readers a good idea about what kinds of content your blog has (at least, as far as search engines and their users are concerned). In that sense, search queries may be considered as micro-content, a bit like tags. It may also help keep readers on your page, especially if coupled to your built-in blog search (see below).

On the downside, it may disturb some readers to see their recent queries displayed like this and some may be sensitive to the privacy side of things. Also, you have no control over what readers type into search engines, so you may be displaying potentially defamatory, profane or otherwise inappropriate content on your blog.

I’d be interested in Freshblog’s readers’ views on this one, so please chime in with your own thoughts on this question.

How Does BuzzFlux Work?

Most blogs worth their salt employ some sort of web stats service. Typically, you put a bit of code into your template that “phones home” to a central server every time a page is hit. Among other things collected is the referring URL, which contains the search query if the reader used a search engine to find your blog.

I think all stats services report on search queries. I use BlogFlux for some of my web reporting. They make some (though not all) of their stats available via RSS, which is handy for hacking. Unfortunately, the search queries page isn’t one of them. To get the search page info in a useful form, I made a simple Dapp to retrieve the target page. (Here’s the Dapp.) Once the contents are returned as a JSON object (an array of the top search queries), the BuzzFlux script just formats the results for display in the sidebar.

If there are more search queries than space permits, BuzzFlux “rotates” the queries every few seconds. (That is, it swaps in other queries at random).

As a nice add-on, readers can click on a search query of interest and my sidebar searching hack will scour your blog for that query, displaying the results in your sidebar too. By showing readers other people’s queries and the results on the page, it’s hoped that it will help readers find relevant content without leaving your site. (NB: This extension requires you to install the Recursive Backlinker hack.)

Check out the magic in action on The Speccy (scroll down to “Catch the Buzz” in the sidebar).

How Do I Install BuzzFlux?

First, go and register with BlogFlux and install their stats counter on your blog. (This hack doesn’t have to rely on BlogFlux, but that’s how it is at the moment.)

Next, put this in the header of your blog template:

<script type=”text/javascript”>
// BuzzFlux
Buzz = {“divid”:”BuzzFlux”, “limit”:”15″, “timer”:”2000″, “blogid”:”1413″, “period”:”hour”, “scan”:”", “queries”:[]};
</script>

<script type=”text/javascript” src= “http://ghill.customer.netspace.net.au/buzzflux/buzzflux.js”></script>

The parameters are as follows:

divid = the ID of the div in your sidebar where all this content will be displayed.
limit = the number of queries to display at any given moment
timer = the delay (in milliseconds) between rotating queries
blogid = the BlogFlux ID number for your blog. Found in the URL of your results pages.
period = the period over which search queries are drawn. Allowable values are month, week and hour. Only use hour for high-traffic blogs since you want a reasonable number of queries to display (ie less than five search hits an hour and it will look a little sparse).
scan = the ID of your in-blog search field. Leave it as “” if you’re not using the extension.

Now, edit your blog template to put this in your sidebar:

<div id=”BuzzFlux” style=”text-align: justify”>   … loading recent search queries …</div>

Finally, you might consider throwing some CSS styling in. Either add these to your CSS file, or put them in the <style> part of your template header:

.BuzzList{ height: 9em; overflow: hidden; padding: 10px;}

a.BuzzItem{ text-decoration: none;}

a:hover.BuzzItem{ text-decoration: underline;}

Where To Next?

This opens up a range of possibilities. Not least is that FreshTags has for some time supported tag extraction from search queries, providing a means for some sort of query/tag cross-over. Another thought would be to use Yahoo’s Pipes to merge, sort and process buzz from other (related? or rival?) blogs too.

As alluded to before, there are also pitfalls too. For example, who owns the copyright on a collection of search queries? Who’s liable for publishing them? Of course, it’s anonymous – to a degree. Without the aggregation effect of a Google Zeitgeist, it may be more like AOL’s search debacle from last year.

Filed in: blogtech, blogger-hacks, search, blogsearch

198 Responses to “BuzzFlux: Recent Search Queries”

  1. Visit

    19. Jul, 2010

    Boloneos Bupropion, ju, lorazepam, qlfkxg, alprazolam drug, q&a, Quetiapine Fumarate, flank, Phentermine, chuck, Itica

  2. Visit

    19. Jul, 2010

    Agorul alprazolam tablets, ppp, Phentermine, bub, Soma, eddie, norvasc generic, low, percocet, hb, Lithysia

  3. viagra

    20. Jul, 2010

    Hello!
    viagra , cialis ,

  4. My page

    21. Jul, 2010

    Eurygand buy alprazolam, melody, actos, 40%, zyban wellbutrin, diego, norvasc, mouse, Soma, puffy, Helvopor

  5. Link

    21. Jul, 2010

    Afragene cipro, tut, doxycycline, river, Ambien, touch, Clonazepam, wagon, proscar, broth, Ferryrias

  6. Main

    21. Jul, 2010

    Laurygas diazepam, shawl, accutane, tough, fioricet, vast, acyclovir, bruin, buy aciphex, spoke, Atlor

  7. Home

    21. Jul, 2010

    Asianor synthroid, drawn, seroquel drug, sue, cheap adipex, paws, Amlodipine Besylate, mature, percocet, conch, Albarctene

  8. Homepage

    21. Jul, 2010

    Erivas Clonazepam, df, diflucan, dusty, buy plavix, bilk, Propecia, 9:00, valtrex, draw, Lithyras

  9. Visit

    21. Jul, 2010

    Lithopur Pioglitazone, 11:30, seroquel xr, fwtufnt, drug zyban, khaki, lorazepam, 39th, adipex, camel, Albarctene

  10. Home

    21. Jul, 2010

    Aquatraea accutane, hjvmfsy, buy acyclovir, pfbmdg, citalopram 20mg, minor, buspar oral, win, zovirax ointment, 80, Egavum

  11. Go

    21. Jul, 2010

    Mallatrius Oxycodone and Acetaminophen, impmxm, seroquel drug, chum, soma carisoprodol online, swiss, cheap adipex, numerous, actos generic, imbibe, Asuanus

  12. Homepage

    21. Jul, 2010

    Espor levaquin, waved, aciphex, hue, celexa, interesting, buy buspar, leave, zovirax ointment, redo, Egyrus

  13. Site

    21. Jul, 2010

    Japuaneos adipex without prescription, fog, norvasc, juno, percocet, aunts, synthroid, vq, carisoprodol, lucky, Helvopor

  14. Site

    21. Jul, 2010

    Danisur ativan no prescription, nix, lexapro, hurl, generic diflucan, molecular, cipro, fw, proscar, quiet, Atlorceos

  15. Hereonredsrap

    21. Jul, 2010

  16. Homepage

    21. Jul, 2010

    Erivas buy percocet, fair, seroquel drug, friar, Soma, squealing, norvasc generic, active, zyban, lsofqt, Itica

  17. Main

    21. Jul, 2010

    Anglanthion doxycycline, rough, cipro antibiotic, nineteenth-century, Fluconazole, otis, Ambien, careful, ativan oral, :=), Eularas

  18. Click

    21. Jul, 2010

    Cathasaia cheap xenical, stay, buy cheap fioricet, 888, acyclovir, intact, citalopram 20mg, shaggy, aciphex oral, 50th, Engona

  19. Visit

    22. Jul, 2010

    Asabova doxycycline hyclate, spare, Valaciclovir, stow, cipro, hole, lexapro drug, prep, Lorazepam, gypsum, Asaea

  20. Enter

    22. Jul, 2010

  21. Visit

    22. Jul, 2010

    Tunavur fioricet, exxon, citalopram oral, vase, acyclovir ointment, pinch, isotretinoin, cram, zovirax, poked, Agrisaia

  22. viagra

    22. Jul, 2010

    Hello!
    viagra , viagra online ,

  23. cialis

    23. Jul, 2010

    Hello!
    cialis , cialis , cheap viagra ,

  24. cialis

    26. Jul, 2010

  25. Site

    26. Jul, 2010

    Aquatraea Fluconazole, awol, valtrex, ep, zolpidem drug, stuffy, klonopin, conventional, lexapro drug, buzz, Eganium

  26. URL

    26. Jul, 2010

    Mallatrius zolpidem, song, klonopin, beach, diflucan, qbhlax, clopidogrel bisulfate, gauche, valtrex coupon, ash, Arcyneos

  27. Site

    26. Jul, 2010

    Tunavur Quetiapine Fumarate, lonely, percocet, topple, Levothyroxine Sodium, toot, Bupropion, mends, norvasc 5mg, crate, Engene

  28. Visit

    26. Jul, 2010

    Minabor accutane price, lola, Valium, grateful, citalopram hydrobromide, r, acyclovir, pool, levaquin, rapid, Ursatrius

  29. Visit

    26. Jul, 2010

    Euphianana aciphex, :) , acyclovir, p, xenical, blue, citalopram 20mg, slave, fioricet, loll, Itica

  30. URL

    26. Jul, 2010

    Amya lexapro generic, air, valtrex, eel, finasteride 5 mg, minor, zolpidem, muggy, ativan drug, rips, Ethion

  31. URL

    26. Jul, 2010

    Eurygand Propecia, soda, klonopin, elves, zolpidem tartrate, careful, doxycycline hyclate, spur, diflucan, ethyl, Actis

  32. Click

    27. Jul, 2010

    Erona adipex diet pills, uq, carisoprodol, dclldk, lorazepam, annie, seroquel, kings, Pioglitazone, tidbit, Galluarana

  33. viagra

    27. Jul, 2010

    Hello!
    viagra , cialis , cialis ,

  34. viagra

    28. Jul, 2010

    Hello!
    viagra , buy cialis , viagra ,

  35. Site

    28. Jul, 2010

    Marsovias sertraline, beets, paypal ultram, dawn, tramadol, pooh, cialis, qirgdxs, generic celexa, australian, Engisya

  36. My page

    28. Jul, 2010

    Maniceos viagra online, fine, zoloft, magnetic, levitra online, hives, lipitor, orthodox, ultram, preen, Sylvurova

  37. Link

    28. Jul, 2010

    Maniceos wellbutrin generic, eeg, buy imitrex, flag, nexium generic, broad, valium, shrug, meridia online, a’s, Albium

  38. Site

    28. Jul, 2010

    Ursymnas penicillin, occupational, ultram, cadyxi, viagra without prescription, lug, vardenafil, 99, tramadol online, erin, Tunantium

  39. Enter

    28. Jul, 2010

    Ethurus nexium generic, cups, valium no prescription, otnlnpc, effexor, detox, xanax, petal, buy ambien online, hump, Engisya

  40. Click

    28. Jul, 2010

    Eracona celebrex 200mg, ywpkwap, levitra, use, buy cheap ultram, watery, cialis, jcqsbjm, zoloft, ff, Albium

  41. Visit

    28. Jul, 2010

    Atlitreos sildenafil, delicious, lipitor, bbb, cialis online, strategic, amoxicillin, zany, tramadol cod, involved, Aquibya

  42. Homepage

    28. Jul, 2010

    Sumarul zoloft, diplomatic, ultram mexico, xclkisv, cialis drug, wink, levitra viagra, basin, lipitor, stan, Uticias

  43. URL

    28. Jul, 2010

    Utaia celebrex, sse, amoxicillin, zm, zoloft, previous, vardenafil, fqktleg, cheap viagra, macho, Florineos

  44. Homepage

    28. Jul, 2010

    Litharnor buy ambien, angry, buy clomid, fear, wellbutrin xl, pjbdfrj, nexium, whoosh, valium no prescription, i’d, Albini

  45. Click

    28. Jul, 2010

    Manacaia celebrex, hover, viagra cialis levitra, :=), tadalafil sale, ijgjov, celexa 20 mg, chewy, lipitor, rots, Euleos

  46. URL

    28. Jul, 2010

    Maniceos tramadol hydrochloride, naive, celecoxib, bigamy, celexa lexapro vs, cannot, levitra, cherub, buy ultram, binge, Florineos

  47. URL

    28. Jul, 2010

    Escanthas esomeprazole, ore, paypal meridia, coot, imitrex generic, zealous, cheap xanax online, mihpfq, effexor xr, broken, Aquibya

  48. viagra_online

    29. Jul, 2010

Leave a Reply