Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
Applications /

Compendium /

Fun with Apache

Related linksToday's breaking news
Send to a friendFeedback


Network World Fusion 01/27/03

Starting this week, we're fine-tuning the design of pages and toolbars here on Fusion. The first step came yesterday, when we added breadcrumbs to stories (look above the top headline on this page, for example).

The breadcrumbs are dynamically generated through some Apache variables and if/then statements embedded in an include on each story page. We have three variants of this include, one for each of our three "channels" (Enterprise Networks, Service Provider Networks and SMB Networks). That's where the channel name on the left comes from. But that's boring, because there's nothing dynamic about it - our content-management system puts the link to the appropriate include on the page before it's posted to the site.

Once on the site, though, the include tells Apache to set the main "topic" of the page, based on a meta field created by a human editor in the CMS and then looks up the appropriate topic and topic URL and echoes that into HTML.

Whee! Where it gets more interesting, though, is in deciding just what sort of breadcrumbs to set. Right now, you'll notice the breadcrumbs point to a particular topic, for example, "LANs" or
"storage". However, it might also make sense to have another breadcrumb pointing to a more "horizontal" page, for example, "news" or "reviews." Something to work on this week.

Back to Compendium

Comments

Post a comment

Name:


E-mail address:


URL:


Comments:


Remember info?




NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.
* HOME    * RESEARCH CENTERS     * NEWS     * EVENTS

Contact us | Terms of Service/Privacy | How to Advertise
Reprints and links | Partnerships | Subscribe to NW
About Network World, Inc.

Copyright, 1994-2006 Network World, Inc. All rights reserved.