Learning Mambo by trial and error

I relaunched my website as well as a new site for my forthcoming book the other day, having moved both to an open-source content management system called Mambo. A year ago, I wrote about my own (ultimately unsuccessful) efforts to install Mambo on a local server. This time I did it the smart way, using the Metropolis service provided by GoDaddy to its hosting account customers. Metropolis offers several free software packages for your server and is a nice resource that I’ll bet few GoDaddy customers even know about.

Mambo installed in just a few minutes and a few clicks. I then spent the next two weeks trying to figure it out. There are a few tutorials on the Web but none that I found prepared me to understand the logical structure used by Mambo. That was trial and error and it took a long time.

I’m a big fan of content management systems. My website was previously built on Microsoft FrontPage. While that gave me plenty of flexibility to play with look and feel, the pages were basically locked in stone once they were created. You couldn’t easily share content between sections of a site, move things around, expose and hide sections or move your site to a new template. Also, your page designs were stored on a local machine, meaning you couldn’t easily access them from another computer.

With a CMS, everything is in a database on the server and the content is stored separately from the page templates. Changing the site design is a snap, and content items can be displayed in a variety of ways on different sections of the site. For example, it’s simple to have an article display on the home page and also an inside page. In FrontPage, you’d need to have two copies of the article to do that, which creates all kinds of problems.

Mambo’s hierarchy uses a concept of sections, categories and content items. This structure made little sense to me when I first encountered it and I’m not sure it even makes sense now. Every content item must belong to a category and a section. You can display all items in a category or a section, which is very powerful. But I’m not sure why you need both containers.

There are basically two types of display: blog and table. A blog shows items in reverse-chron order (you can change that) with a snippet of introductory text and a “read more” link. A table displays an index of content items in rows. It’s nice being able to switch back and forth and try different styles. Mambo gives you lots of options for hiding or displaying titles, icons, navigation devices, ratings systems and other goodies. The problem is just keeping track of it all. Unless you set your global defaults carefully, your pages can all end up looking slightly different from each other.

The content editor that came with my package is MostlyCE Admin, a very nice WYSIWYG editor. The performance frustrated me until I realized you could turn off a bunch of resource-hogging features and improve speed dramatically.

There are a couple of hundred free Mambo templates. Once you set up your site, it’s fun to download a few and applying them to your site. The process is fast and easy and it’s one of the best ways to see the value of a CMS approach.

My sites are still works-in-progress and I’m sure there’s plenty about Mambo I have yet to discover. If I had it to do over again, I’d take the time to buy a book. I also wish I knew more about the PhP scripting language and how cascading style sheets work. I’ve been frustrated, for example, by the size of the headline type on my site but have been unable to figure out how to change it. There’s also a nav bar at the top that appears to be hard-coded into the design but which I can’t seem to modify or delete. I’ll figure this out eventually, but for now it’s just frustrating.

Now I have to figure out what to tinker with during the NEXT holiday season!


Social Media is real in the Inc. 500

Two researchers at the University of Massachusetts has just published an interesting study documenting that small business is far along the learning curve in awareness and usage of social media.

In their summary report, The Hype is Real: Social Media Invades the Inc. 500 Eric Mattson and Nora Ganim Barnes report that 42% of the Inc. 500 companies they interviewed claim to be “very familiar” with tools like social networks, blogs and podcasts. A third of the companies use message boards and one in five blogs.

Perhaps the biggest news is that 26% of the small businesses say social media is “very important” to their business/marketing strategy. With less than 5% of the Fortune 500 blogging, you can assume that small businesses are way out front in this area.

Updates and analysis to the survey of 121 members of the Inc. 500 list will be published as the year goes along.

How ubiquitous media will change our lives

Andrew Gumbel eloquently analyzes the implications of ubiquitous media in this essay in The Independent. Already, citizen media is roiling the law enforcement world as crimes – and police responses to them – are captured on camera phones. From George Allen’s “macaca” comments to Michael Richards’ racist heckler-baiting, indiscretions are no longer secrets and they can change lives. This is still a nascent trend but it will become much bigger as the technology spreads. There’ll be a billion camera phones worldwide in a few years.

Be sure to scroll to the end of Gumbel’s essay for a nice list of viral phenomena from 2006.

The New Journalism: customized reporting

Andy Abramson, a PR guy who is also one of the most widely read journalists blogging about VOIP, has posted an interesing essay about Creative Video Blogging and The New “Instant Journalism.” His thinking mirrors my own in many respects: in the future journalism will be an amalgam of input from a variety of linked sources. The consumer will have the option of drilling down for more information on almost anything.

A YouTube Kodak Moment

A viral video has made its way out of Kodak and become one of the hottest clips on the Web. In it, a dignified, white-haired speaker starts by extolling Kodak’s contributions to photography and our culture but then morphs into a ranting maniac, raving about the great work the company is doing in digital photography.

It’s funny, but also remarkable for its self-deprecating humor. The clip includes several references to Kodak’s early failures to get into digital photography and the opportunities it squandered. Its honesty reflects favorably on the company. Kodak says the video was prepared for internal use and was never meant to be seen by the public. The company has gotten an inadvertent image boost, though, by admitting to its past mistakes and making fun of itself. Good show.

My holiday open-source odyssey

I typically spend some time during the down week following Christmas each year to indulge my inner geek and learn some new technology. I have no programming background apart from an eight-week college tutorial in BASIC, so it’s always an adventure. I learn by diving in and doing.

This year I focused on learning Mambo, an open-source content management system, and Samba, the widely respected file-sharing utility. I found both packages impressive in their power and scope but frustratingly difficult to learn and use. I think this accessibility issue continues to be open source’s weak point because the audience of SMB and home users who are the best candidates for low-cost open-source solutions are too inclined to just throw up their hands and walk away rather than deal with all the complexity.

A good example is Samba. My goal this holiday was to set up a simple Linux-based file server to host my business documents. Only two people needed to access the server and both needed universal read/write permission, since we frequently alter each other’s files. A directory created by one user needed to inherit the open permissions of its parent.

In Windows, the process of setting up a share like this takes about 30 seconds. In Samba on Linux, it took me the better part of two weeks, involved two complete re-installs of the operating system and probably a dozen hours of tinkering. I think it works now, but I’m still not 100% sure.

The Linux portion was a snap. Ubuntu Linux is a fantastic distribution. It installed easily and includes a nice suite of office applications and utilities. This distro has totally changed my thinking about desktop Linux. However, you can’t host a Windows directory on Linux. Samba is a great technology that runs on just about every operating system ever invented and allows file exchange with Windows.

The problem for me was that Samba takes a much more disciplined approach to security than Windows. It’s as if the developers couldn’t comprehend why anyone would ever want two users to have unfettered access to the same directory. I found a widely cited tutorial online by a blogger who set up a Samba/Ubuntu file server for $80. His instructions worked great until I got to the PhP administration section, at which time the console either didn’t launch or wouldn’t let me in. I got the share to work, but the permissions were still locked down.

Then I found this tutorial by none other than John Terpstra, the inventor of Samba, detailing how to set up a simple anonymous read/write share. Eureka! This tutorial eventually solved my problem, but it was no simple task.

Setup involved typing in a lot of Linux commands, editing Samba configuration files and setting up each PC that needed to access the directory. One problem is that different Linux distros use slightly different commands. Terpstra was using SUSE Linux and I was on Ubuntu. A couple of the commands in the tutorial simply elicited error messages from Ubuntu. Also, a command to create multiple directories bombed in Ubuntu, which wouldn’t give the needed permissions. At one point, Ubuntu refused to let me modify the critical smb.conf file. That required me to dive down another hole looking for a command that would bypass that restriction.

It seemed that in each case, I would get three-quarters of the way through the tutorial and then something would fail. Because I’m not good enough to undo my mistakes, I had to reinstall Ubuntu twice to clean up the mess.

The happy ending is that I now have an 833MHz Compaq Deskpro with a 320GB hard disk happily purring away and quickly serving files over the network. The whole setup cost about $250. Ubuntu’s reliability has been fantastic and Samba is impressive in its power and the range of options it provides.

Still, I was frustrated by the hours of work that it took to get there. My techie readers will say that I’m a fool for not learning more about Samba before starting the project. They’re right, but I suspect most advanced amateurs like me prefer to just start tinkering. In any case, I found the Samba documentation to be dauntingly complex. The online tutorials were much easier to navigate.

Windows still holds the edge when it comes to ease-of-use. This is the Achilles heel of most open source programs that I’ve used. I think open source programmers have a hard time giving up flexibility for the sake of usability. Microsoft got comfortable with that tradeoff many years ago and that’s why it’s so popular with small businesses.

Next, I’ll talk about my Mambo odyssey, which was fulfilling and frustrating for a whole different set of reasons.

One view from inside the newspaper industry

I’ve had quite a few e-mails from people about my theory that newspapers are entering a death spiral, but none as compelling as this one, which just arrived. The sender is anonymous, so I have no way of verifying who he says he is. Read it, though, and judge for yourself.

“Hi Paul……I’m a Delivery Foreman for the NYTimes, union, of course. I make 90k a year without overtime. My drivers make 60k+ a year. The Times signed a new contract with us (NMDU) this spring that’s “guaranteed” through 2016. With diesel fuel approaching 3 bucks a gallon, newsprint costs, warehouse rent, insurance, pension, workers comp costs, etc. etc. etc. how long is this a viable model? Answer….not too effing long, that’s for sure. I tell my drivers, “We’re like the dinosaurs after the first meteor hit………we stick our heads up above the weeds, and think, ‘hey, it’s getting cold out…’…….and they don’t want to hear it. I’m really curious about what Sulzberger could have been thinking when he forced us to re-open our contracts and gave us the guarantee. Does he know something that the rest of us don’t? Anyway, I retire soon. I’m more than ready for a buyout, but the younger guys ….well, good luck with that ‘guarantee’. If one lawyer can write a contract, another one can break it……………. “

By the way, you can now download my article, “How the coming newspaper industry collapse will reinvigorate journalism” as a PDF.

New Influencers site is live

The New Influencers promotional/informational website is up and running. Well, maybe not so much running as toddling, since there’s a lot of work still to be done. I’ll eventually have links to ever blogger/podcaster who was interviewed or mentioned in the book, along with what I’m calling “online footnotes.” Those are commented links to important and interesting information from the book.

It’s a work-in-progress, so I’d be pleased to hear your comments and suggestions.

Time's Person of the Year choice is on the money

The best line I’ve read about Time magazine’s choice of all of us as the Person of the Year comes from Pop Sugar:

Who are these people? Seriously, who actually sits down after a long day at work and says, I’m not going to watch Lost tonight. I’m going to turn on my computer and make a movie starring my pet iguana? I’m going to mash up 50 Cent’s vocals with Queen’s instrumentals? I’m going to blog about my state of mind or the state of the nation or the steak-frites at the new bistro down the street? Who has that time and that energy and that passion?

Fortunately, a very large number of people do, and that’s why Time‘s recognition is apropos. New media has given millions of people a voice to share that energy and passion with others. Maybe not a lot of others, but even if only a few people listen to what they say, that’s enough.

Critics are trashing Time‘s choice as a wimp cop-out, a pander to advertisers. I think it’s a master stroke. What other story was this big this year? The quagmire in Iraq? The Democrats’ victory in the election? The earthquake in Hawaii? Fifty years from now, no one will remember these things, but 50 years from now the world will be a very different place because of what happened on YouTube, MySpace and thousands of other online meeting places that barely existed a year ago.

It was 25 years ago that Time named the personal computer Machine of the Year. That was a pretty prophetic choice. This is no less visionary.

In a recent Tech Nation interview, author Steven Levy told host Moira Gunn that he was fortunate to be covering the Internet because it’s the biggest story of our generation. I think he made a good point. The global revolution in information discovery and dissemination will change our future fundamentally. It will touch every institution in our society. And now each of us can play a part in it. What bigger story is there than that?