Wikirandom - Random articles from Wikipedia

peterpoe - March 24, 2008 - 01:45

I humbly submit to your critic eyes a site I’ve built: Wikirandom - The Random Encyclopedia, that you can find at www.wikirandom.org.

The site uses some of the new functionalities of Drupal 6:

  • Multilingual support
    Which is great, but is also somewhat incomplete. It seems that without the i18n module a truly multilingual site is not feasible.
  • AHAH Forms
    I had great fun with these, even if the documentation is still incomplete. For example, it was difficult to disable the default progress throbber. I had to read the code in ahah.js to see that the #ahah['progress']['type'] could be set to anything else than 'throbber' or 'bar', and it would do nothing. So I set it to 'none', and wrote my own code (by the way, do you like the spinning roulette?)
  • drupal_json function
    Simple and effective. I could write a simple API for Wikirandom in only a few hours starting from this.
  • jQuery 1.2.3 support
    Simply wonderful.

Main customizations:

  • Floating Blocks
    I wanted some of my navigational elements in the primary links ('Embed' and 'Share') to display the nodes not as full pages but as floating boxes under the links. So I created two blocks which load the nodes, inserted them in an absolutely positioned page region named 'Floating', and wrote some javascript to handle the display and positioning of the blocks. It's harder to explain than to see, but the result is that I can put any node in a block and make it appear when the menu item that links to it is clicked.
    Do you think that a module could come out of this?
  • Monobook Theme
    The theme of my site is obviously a copy of the Monobook skin, which is Wikipedia's default appearance. Is anyone interested in a port to a full Drupal theme?

Installed modules:

  • google_analytics
  • i18n
  • pathauto
  • poormanscron
  • service_links
  • token
  • mediawiki (only the parsing functions)
  • wikirandom (my custom stuff)

Modules used in development:

  • devel
  • google_analytics
  • l10n_client
  • potx

Overall, I found that Drupal 6 is an enormous improvement over D5, not only for the new features, but also for the myriad of small improvements that really sum up to a much cleaner and efficient site building. When Views, CCK, Panels and Organic Groups will be upgraded to D6, we will see wonderful things!

Better than I expected

JohnForsythe - March 24, 2008 - 03:44

Nice use of AHAH, the animated logo is very cool.

--
John Forsythe
Need reliable Drupal hosting?
Drupal Modules - Find the module you need for your project!

subscribe

vkr11 - March 24, 2008 - 06:04

subscribe

that is excellent!

zilla - March 24, 2008 - 21:56

well done...and yes, node as block in menu would be a killer module! it would be a great way to pull up contact (or webforms) on sites - but users may want the ability to restrict presence by page just like a typical block (does it inherit those capabilities?)

as for the theme, i like it - very plain, could be great for information intensive sites, may benefit tremendously from a third column option with user defined width (e.g. third column twice width of the one that's on there now on left side) ...could be a cool theme to use to explore the color.module that's a great tool in d6

as for most of the stuff you're doing on the site - you oughta consider looking over the jstools module (on its way to d6, could likely use assistance, etc) at http://drupal.org/project/jstools - and perhaps some of what you've done could be a module that fits into that pack? that would be awesome...

personally, i'd love to see somebody with your kind of skill update the columns module for jstools - it was dropped after 4.7 for some reason, just a drupal implementation of http://www.csscripting.com/wiki/index.php?title=Main_Page (could you imagine using this for display by content type? everybody could have a newspaper site **without** having to dig up or hack multicolumn themes...)

OH - and overall i like the random articles idea! since wikipedia is generally free of porn, you oughta consider passing this around to local libraries, and of course all of those assorted tech blogs (gonna include it in my own upcoming write up on nifty crap to check out at passingnotes.com)

Drupal Monobook theme

samuel lampa@dr... - July 19, 2008 - 19:20

Hi,

Interesting implementation. I have been looking into different aspects of MW-Drupal integration and one of the pieces I need to come up with is a Drupal port of Monobook. I've been thinking of doing it myself, but if you are willing to share yours, I'd be very thankful!

// Samuel

Congratulations

themegarden.org - July 22, 2008 - 08:52

Interesting idea and great implementation.
Congratulations.
---
Drupal Theme Garden

 
 

Drupal is a registered trademark of Dries Buytaert.