110 likes | 284 Views
Best Coding Practices for Template 4. October 27, 2010. EPA.gov Restructure. Goals for EPA.gov New Web Areas and Redesigns Outside the MRS Structure Reflect user-centric content; Improve the writing of relevant content to specific audiences; and
E N D
Best Coding Practices for Template 4 October 27, 2010
EPA.gov Restructure • Goals for EPA.gov New Web Areas and Redesigns Outside the MRS Structure • Reflect user-centric content; • Improve the writing of relevant content to specific audiences; and • Reduce redundant, outdated and trivial content.
Can’t “just” move to template 4 • As content is moved into template 4, we expect: • a thorough clean up of content; • a review of existing content to identify value for identified audiences; and • a rewriting of content for the web following coding/writing best practices.
Process for Updating Existing & Creating New Sites • Website development process (new and redesign) http://www.epa.gov/productreview/guide/pdev.html#web • Write for the Webhttp://www.epa.gov/productreview/writing/writing_handout.html
Template 4 – New and improved • What’s different between template 3.2.1 and template 4? • Fixed width white space Pg #
Template 4 • Limit special coding to the central white space • Do not strip out the template .js • Or other template code • Do not overwrite the Agency style sheet
Edited by WebArea • Title • Page Title | Web Area | US EPA • AreaName • Area Footer • DC.creator • <meta name="DC.creator" content="US EPA, Office, Real org responsible for content spelled out" />
Edited by Page • Title • Page Title | Web Area | US EPA • Breadcrumbs • Metadata • Content
Metadata Fields • Fill in HTML Metadata for • http://yosemite.epa.gov/OEI/webguide.nsf/content/metadatafaqs • Title (dc.title) • Description • Keywords • Content Type (choose 1, copy and paste) • Channel (choose all that apply, copy and paste) • Creator - US EPA, OAR, Office of Atmospheric Programs • Leave other fields empty. Used only in content published from WebCMS.
Metadata Fields Example • <title>Sunwise Homepage | Sunwise | US EPA</title> • <meta name="DC.description" content="Sunwise is an environmental and health education program that aims to teach children and their caregivers how to protect themselves from overexposure to the sun." /> • <meta name="keywords" content="education, ozone, sunburn, cancer, melanoma, uv index" /> • <meta name="DC.title" content="Sunwise Homepage" /> • <meta name="DC.type" content="Overview & Factsheets," /> • <meta name="DC.Subject.epachannel" content="Learn the Issues," /> • … • <meta name="DC.creator" content="US EPA, OAR, Office of Atmospheric Programs" />
Contact: Judy Dew dew.judy@epa.gov 919-541-2987 Michael Hessling Hessling.michael@epa.gov