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.

Featured

  • Russia prying into state, local networks

    A Russian state-sponsored advanced persistent threat actor targeting state, local, territorial and tribal government networks exfiltrated data from at least two victims.

  • Marines on patrol (US Marines)

    Using AVs to tell friend from foe

    The Defense Advanced Research Projects Agency is looking for ways autonomous vehicles can make it easier for commanders to detect and track threats among civilians in complex urban environments without escalating tensions.

Stay Connected