White House contributes to open-source project

Four modules add custom code to Drupal

The White House has released some of the open source code for Whitehouse.gov, according to a posting on the site.

"This code is available for anyone to review, use, or modify," wrote White House blogger Dave Cole. "We're excited to see how developers across the world put our work to good use in their own applications."

Much of the site is already open source as part of the Drupal project, he added. The White House adopted the open-source Drupal content management system for the Web site last year. Today's release adds custom code to Drupal, making the White House a participant in open-source development.

The release adds four modules to enhance three key characteristics: scalability, communication and accessibility.

For scalability, Whitehouse.gov is releasing a module named ContextHTTPHeaders, which allows site builders to add metadata to Web pages that can control them page by page. For example, a site developer can easily create instructions that lead to browsers caching certain types of pages for a longer period of time than others.

Another scalability-related module, called Akami, enables the Web site to integrate with the content-delivery network of that same name.   

The GovDelivery module allows site developers to tailor e-mail messages to the preferences of recipients.

On the accessibility front, a module named NodeEmbed allows developers to manage photo and video content to ensure it complies with accessibility rules, Cole wrote.

About the Author

Connect with the GCN staff on Twitter @GCNtech.

Who's Fed 100-worthy?

Nominations are now open for the 2015 Federal 100 awards. Get the details and submit your picks!

Featured

Reader comments

Please post your comments here. Comments are moderated, so they may not appear immediately after submitting. We will not post comments that we consider abusive or off-topic.

Please type the letters/numbers you see above