Endnu en topartikel om informationsarkitektur er blevet tilgængelig på dansk. Asilomar Institut for Informationsarkitektur i Danmark har denne gang oversat Christina Wodkes personlige beretning om, hvordan en informationsarkitekt arbejder.

CONTENT; /* 2. DESTINATION Where are the passengers headed? Where on the site does the content live? (What category?) ---------------------------------------- */ $section = "news"; // determines the section header and nav if (! isset($section) || $section == "" ) { // if we don't have a section, we'll make the gray header our default $section = "search"; } if (! isset($template) || $template == "" ) { // if we don't have a section, we'll make the gray) header our default $template = "default.php"; } /* 3. TRAIN Now we put the train together. Let's figure what template we need for that destination. ---------------------------------------- */ // Templates are based on directory. // PARSE URL to determine the directory we're in list ($url, $query_string) = explode ('?', $_SERVER ['REQUEST_URI'], 2); $urldir = dirname ($url . 'x'); // SWITCH layout based on URL switch ($urldir) { case "/da/translations": $section = "learn"; $section_title = "Apprendere AI"; $page_title = $entry_title; $template = "learn/default.php"; $col2 = $entry_content; break; case "/en/about": $section = "about"; $section_title = "About us"; $page_title = $entry_title; $template = "about/default.php"; $col2 = $entry_content; break; case "/en/about/people": $section = "about"; $section_title = "About us > People"; $page_title = $entry_title; $template = "about/people.php"; $col2 = $entry_content; break; case "/en/about/annual-report": $section = "about"; $section_title = "About us > Annual Report"; $page_title = $entry_title; $template = "about/annual-report.php"; $col2 = $entry_content; break; case "/en/members": $section = "members"; $section_title = "Member Services"; $page_title = $entry_title; $template = "members/default.php"; $col2 = $entry_content; break; case "/en/members/mentoring": $section = "members"; $section_title = "Member Services > Mentoring Program"; $page_title = $entry_title; $template = "members/mentoring.php"; $col2 = $entry_content; break; case "/en/members/grants": $section = "members"; $section_title = "Member Services > Grant Program"; $page_title = $entry_title; $template = "members/grants.php"; $col2 = $entry_content; break; case "/en/members/lists": $section = "members"; $section_title = "Member Services > Email Lists"; $page_title = $entry_title; $template = "members/lists.php"; $col2 = $entry_content; break; case "/en/network": $section = "network"; $section_title = "IA Network"; $page_title = $entry_title; $template = "network/default.php"; $col2 = $entry_content; break; case "/en/network/find-project": $section = "network"; $section_title = "IA Network > Find a project"; $page_title = $entry_title; $template = "network/find-project.php"; $col2 = $entry_content; break; case "/en/network/find-network": $section = "network"; $section_title = "IA Network > Find IA Networks"; $page_title = $entry_title; $template = "network/find-network.php"; $col2 = $entry_content; break; case "/en/network/localgroups": $section = "network"; $section_title = "IA Network > Local Groups"; $page_title = $entry_title; $template = "network/localgroups.php"; $col2 = $entry_content; break; case "/en/network/community": $section = "network"; $section_title = "IA Network > Community"; $page_title = $entry_title; $template = "network/community.php"; $col2 = $entry_content; break; case "/en/network/community/directory": $section = "network"; $section_title = "IA Network > Community > Directory"; $page_title = $entry_title; $template = "network/community/directory.php"; $col2 = $entry_content; break; case "/en/network/community/localgroups": $section = "network"; $section_title = "IA Network > Community > Local Groups"; $page_title = $entry_title; $template = "network/community/localgroups.php"; $col2 = $entry_content; break; case "/en/network/community/discuss-ia": $section = "network"; $section_title = "IA Network > Community > Discusss IA"; $page_title = $entry_title; $template = "network/community/discuss-ia.php"; $col2 = $entry_content; break; case "/en/network/projects": $section = "network"; $section_title = "IA Network > Projects"; $page_title = $entry_title; $template = "network/projects.php"; $col2 = $entry_content; break; case "/en/network/volunteer": $section = "network"; $section_title = "IA Network > Volunteer"; $page_title = $entry_title; $template = "network/volunteer.php"; $col2 = $entry_content; break; case "/en/learn": $section = "learn"; $section_title = "Learning IA"; $page_title = $entry_title; $template = "learn/default.php"; $col2 = $entry_content; break; case "/en/learn/education": $section = "learn"; $section_title = "Learning IA > Education"; $page_title = $entry_title; $template = "learn/education.php"; $col2 = $entry_content; break; case "/en/learn/resources": $section = "learn"; $section_title = "Learning IA > Resources"; $page_title = $entry_title; $template = "learn/resources.php"; $col2 = $entry_content; break; case "/en/learn/research": $section = "learn"; $section_title = "Learn > Research"; $page_title = $entry_title; $template = "learn/research.php"; $col2 = $entry_content; break; case "/en/site": $section = "search"; $section_title = ""; $page_title = $entry_title; $template = "site/default.php"; $col2 = $entry_content; break; default: // This should only happen if we're missing a layout, etc. $section = $section; $section_title = $entry_title; $template = "article"; $page_title = $entry_title; $col1 = "

"; $col2 = $entry_content; } /* 4. ALL ABOARD! Let's send the train off Put everything together and send it back to the browser ---------------------------------------- */ // INCLUDE the locomotive (header schtuff incl. the dtd, header, and nav) require_once($_SERVER["DOCUMENT_ROOT"]."/da/templates/modules/header-da.php"); // INCLUDE the train cars (appropriate template) require_once($_SERVER["DOCUMENT_ROOT"]."/da/templates/layouts/".$template); // INCLUDE the caboose (global footer) require_once($_SERVER["DOCUMENT_ROOT"]."/da/templates/modules/footer-da.php"); ?>