header photo

via positiva

Drupally goodness

Quite a while ago I posted a To-Do List of my Drupal ideas for 2006. The biggest one -- an abstracted Voting API -- is in place. There are a number of modules built on top of it already, including one that I'm just finishing up for Lullabot. Rather than rating nodes or comments, it lets users vote on what taxonomy terms they love or hate. At present, it only uses the information to build lists of popular terms and user 'loves and hates.' The same data could be used to rank nodes, though, baesd on how interested users are in its taxonomy terms. Further updates as events warrant. The latest version can also score each node based on the popularity of its taxonomy terms. Hooray!

One of the other ideas I kicked around was a module to generate sparklines, small invormation-rich icons for use in text. (This, for example: [sparkline style=bar 116,104,96,109,107,118,167,106,107,77,71,66,91,55,102,82,64,91,98] is a sparkline representing the ebb and flow of incoming traffic to various blog posts on my site over time.)

There's already an excellent PHP library available for it, this was just a matter of wrapping it in a Drupal module. After a little tinkering, a very early version is working and has been checked into my sandbox. It's still got quirks (the regex needs serious help), but I've scratched my own itch, and chrisxj from #drupal is interested in grabbing the code and enhancing it. Hooray for open source!

Great to see some movement

Great to see some movement starting to happen in Drupal in the area of sparklines - looking forward to seeing what analytics we'll be able to implement in the future with this.

ps - the new project Chris started on drupal.org is [[http://drupal.org/project/sparkline|sparkline]] without the s

insert view module

Hey,

I was really looking forward to using your brilliant insert view module but when I entered the code, I get the following error message:

Fatal error: Only variables can be passed by reference in /home/ssnajper/public_html/pocana/modules/insert_view/insert_view.module on line 86

Sorry about the awkward contact method but i couldn't find your email address.

If you could contact me back at ssnajper[at]gmail.com, and help me fix this bug i would really appreciate it.

I also might need some custom drupal theming and site setup so please contact me back. :)

Sparklines in action

You can get a feel for our use of sparklines at
http://connect.educause.edu/

Cheers,
Matt

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <img> <i> <b> <strike> <h3> <h4>
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

Miniblog

  • Do you have what it takes to be a software QA team member? XKCD knows: http://xkcd.com/242/ 1 hour ago
  • @sirkitree I'm a big fan of #slicehost, haven't looked back after going there. I have some odd downtime, but it's my SW, not their servers. 2 hours ago
  • 1500+ pages of "The Walking Dead" followed by a viewing of Bubble Boy. I have psychic whiplash. 2 hours ago
  • @factoryjoe oh man, those stencils are HOT. RT @konigi http://tr.im/stencils 7 hours ago
  • @mikeschinkel I can think of NO better way to resolve econ arguments on the net than downloading the '03-'06 job data and firing up SQL... 10 hours ago

Posts that week...