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

  • Cybersecurity

    DHS floats 'collective defense' model for cybersecurity

    Homeland Security Secretary Kirstjen Nielsen wants her department to have a more direct role in defending the private sector and critical infrastructure entities from cyberthreats.

  • Defense
    Defense Secretary James Mattis testifies at an April 12 hearing of the House Armed Services Committee.

    Mattis: Cloud deal not tailored for Amazon

    On Capitol Hill, Defense Secretary Jim Mattis sought to quell "rumors" that the Pentagon's planned single-award cloud acquisition was designed with Amazon Web Services in mind.

  • Census
    shutterstock image

    2020 Census to include citizenship question

    The Department of Commerce is breaking with recent practice and restoring a question about respondent citizenship last used in 1950, despite being urged not to by former Census directors and outside experts.

Stay Connected

FCW Update

Sign up for our newsletter.

I agree to this site's Privacy Policy.