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