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

  • Congress
    Rep. Jim Langevin (D-R.I.) at the Hack the Capitol conference Sept. 20, 2018

    Jim Langevin's view from the Hill

    As chairman of of the Intelligence and Emerging Threats and Capabilities subcommittee of the House Armed Services Committe and a member of the House Homeland Security Committee, Rhode Island Democrat Jim Langevin is one of the most influential voices on cybersecurity in Congress.

  • Comment
    Pilot Class. The author and Barbie Flowers are first row third and second from right, respectively.

    How VA is disrupting tech delivery

    A former Digital Service specialist at the Department of Veterans Affairs explains efforts to transition government from a legacy "project" approach to a more user-centered "product" method.

Stay Connected

FCW INSIDER

Sign up for our newsletter.

I agree to this site's Privacy Policy.