Getting your Google mojo back

January 2nd, 2009

Google, why do you hate me so?

When I migrated Enter Content Here off of Blogger, moving the content and comments was really easy - literally just the click of a button. This was a nice surprise because my expectations were based on a typically painful CMS migration. Because I use FeedBurner, my RSS readership experienced little disruption either. I already had moved my Blogger blog to a custom domain and WordPress allows you to format your own permalinks so it was easy to map the old URLs to the new with a simple Apache Rewrite Rule. Within my blog.contenthere.net virtual host of my hosting provider, I created the rule:

RewriteRule .* http://www.contenthere.net%{REQUEST_URI}

The one piece of the move that proved to be an issue was getting Google to update its index and move entries from blog.contenthere.net to www.contenthere.net. This was particularly problematic because I wanted to use the Google Custom Search Plugin for WordPress so I could include product pages and other content in my search results. I submitted a dynamically updated Sitemap (using the Wordpress Sitemap Plugin), Google ignored all of my entries (see image on top).

I learned from the support forum that Google probably thought that these new pages (under www.contenthere.net) were duplicates of the blog.contenthere.net pages and was skipping them. I don’t really understand why that is because there is no way that the rendered pages could be identical. I just had to take it on faith. The only way to get Google to update its index is to configure your rewrite to send down a status code of 301 (permanent redirect). The updated rewrite rule looks like this:

RewriteRule .* http://www.contenthere.net%{REQUEST_URI} [R=301]

While I was at writing rewrite rules, I added a few more to handle the situations where WordPress’s permalink algorithm was different than Blogger’s. The biggest difference is that Blogger omits “The” and “A” from a post title when building a permalink. There were also discrepancies where I changed the title of the post after publishing.

To improve my custom Google search in the short term, I added the site blog.contenthere.net to the list of indexed sites. This way people using the onboard search can still find the pages that have not yet been re-indexed and, when they do, Google should get the 301 code.

As for my old blogger blog (contenthere.blogspot.com), I did everything I could to make it as ugly and unappealing as possible. I wrote messages explaining the move all over the template. What I really wanted to do was have a link from each post to the new URL. However, there is no path variable that would allow me to construct a new link by concatenating the new domain (www.contenthere.net) to the current path. Blogger just has a tag for the full URL (data:post.url) and I couldn’t find syntax for substrings. I could have done it with Javascript but didn’t want to bother. Instead, I inserted a search form for my custom search in each post and preloaded it with the blog post title. This approach has the additional benefits of potentially giving the visitor more recent content and also sending them through Google to give it another chance to update its index. I have a free statcounter collecting traffic statistics on that site. When it gets down to 0, I will probably delete the whole blog.

Since making these changes, my search based traffic is back to its pre-migration levels. Google still doesn’t seem to take an interest in my Sitemap but that doesn’t seem to matter. Through the process, I have learned that originally hosting my blog on Blogger did not lock me into the platform. Instead, it allowed me to focus on the content and quickly establish a voice in the blogosphere without worrying about infrastructure. Blogger’s support of custom URL’s was critical to minimizing lock-in. When I migrated to a custom domain, Blogger helped route traffic from the blogspot URL to the new one. This put me in a good position to move to the blog to any platform I chose.

 


 

Happy New Year!

January 2nd, 2009

Fireworks - First Night Celebration

[Photo of Northampton Massachusetts First Night Celebration by S Pipczynski]

Thank you for helping to make 2008 a great year. Let’s just hope that 2009 is not as bad as everyone expects it to be!

 


 

Evaluating open source and closed source software

December 30th, 2008

Gartner has been saying how the current recession favors open source software. Many people in the open source software business are experiencing the same thing. They are finding themselves included in software selections against commercial players that were once considered out of their class (certainly out of their market). I think this is a great new development. There are some very good open source platforms that have been ignored for the simple reason of being open source and not having the same recognition as their closed source competitors.

That said, using licensing cost as a primary decision factor is a bad idea. Licensing is still a relatively small portion of the overall cost of a software solution. When a company looking to save money on licensing also tries to cut costs in other aspects of the solution (implementation, migration, deployment, and training) project risk balloons. In fact, most of the open source horror stories I have heard can be attributed to this same flawed logic. An open source software implementation project will probably cost the same to execute (not less, not more) than an equally suitable commercial product. I predict that 2009 will see many failures from unrealistic technology investments as companies try to unscrupulously cut costs and suspend their disbelief of a free lunch. But there will be an equal number of successes as companies consider leaner (easier to use) technologies and more agile (and pragmatic approaches) to implement them. This is where a trusted and experienced implementation partner can be invaluable by setting realistic budgetary expectations and efficiently expending resources. If you go with an open source solution, be sure not to skimp on the resources that will make the execution of the project a success.

The primary challenge in evaluating open and closed source software at the same time is that they tend to be represented unevenly. Even commercial open source products (which behave very similarly to traditional commercial software companies) usually cannot afford to field a sales team like a commercially licensed product company can. Without the upside of an all-profit license sale, the risk simply isn’t worth it. Even traditional commercial software companies balk at spending money on sales when the potential license deal is too small. Somebody else needs to represent the solution to level the playing field.

The open source product advocate could be your own internal I.T. or it could be a systems integrator that presents a complete solution. Both options come with complications. If it is your internal I.T. organization, things can get emotional and political. They will get attached to their solution. In fact if they don’t feel a personal connection to what they are selling (like a commission-dependent external salesperson is), they won’t be a good advocate. If their solution is not selected, there are bound to be hurt feelings and the last thing you want is someone on the team hoping for an “I told you so” moment when their victorious competitor runs into problems. Another potential issue is that I.T. may not have the resources to support their solution if it is selected. Presumably they have other responsibilities that won’t go away if they “get this deal.” Of course, this is less of a risk with commercial open source software that comes with a support contract that is similar to the other commercial solutions you are considering.

The primary problem with using an external systems integrator is knowing which one to use. Because every open source project is offered by many consultancies, the systems integrator market is even more chaotic and confusing than the software market; and there are fewer resources available to help you figure it out. Furthermore these companies are in constant flux as their staffs turn-over. The secondary issue is that there are big stylistic differences between a consulting sale and a product sale. A consultant sells by consulting. He wants to learn about the problem and work with you to solve it. He is less comfortable just quoting specifications and prices of a pre-defined like a software salesman may. His quote will be appear high because he is unable to ignore or trivialize the implementation effort like commercial software salespeople tend to do. And, because consulting carries a lower margin than software licensing, he is probably less willing to invest as much in a customized demo. The last thing he wants to do is build a big part of the system for you and then have you turn around and have someone else finish it.

Still, I do think that using external systems integrators is the way to go. In fact, I spend a lot of time talking to consultancies to keep track of who is good at what so I can refer my clients to the right integration partner. The best way to normalize the software vs. consulting stylistic differences when you are considering an open solution is to have all the solutions presented by integration partners. This will give you a more realistic comparison of the true cost and scope of the solution. A consultant is less likely to exaggerate “out of the box” capabilities than the software vendor because he will be around when the box is opened. This will also level the playing field on the investment that each candidate is able to make. If you take this approach, you will come out of your selection with a trusted partner that knows your business and is personally invested in your success. With that, how can you go wrong?

 


 

Plone vs. MOSS

December 29th, 2008

Francesco Ciriaci has started a series comparing Plone and MOSS in response to a trend of companies choosing between these two platforms. This first article focuses on general features and licensing. Key differences are the obvious Microsoft dependency of MOSS (which could be a good or bad thing depending on your technology strategy), licensing costs, and the availability of modules.

Another usual suspect in a selection for an Intranet collaboration platform with some web publishing capabilities is Alfresco. The Alfresco marketing and engineering department have been beating on Microsoft’s door with their Share product. Alfresco also integrates with SharePoint by supporting the SharePoint Protocols.

While there is considerable functional overlap between these solutions, the pricing systems of these products are very different. Alfresco is sold through a per-CPU commercial licensing scheme (customers are advised not to use the free open source Community Edition). Typically this will work out to roughly 40K per year for a medium size company that actively uses the system. MOSS is sold on a per user basis. This is good for small to medium size companies but gets very expensive when MOSS spreads virally across very large companies (as it typically does). Plone is totally GPL licensed and has no recurring support fees (it can be somewhat difficult to find a commercial-style support program for Plone. Email me if you are looking for one. I know some people).

 


 

When the Drupal Developer Comes Around

December 29th, 2008

Apologies for the totally misused Johnny Cash reference but Austin Smith has an excellent post on how he came around from being a Drupal hater to a Drupal lover. Austin works on Observer.com and Politicker.com - two early, high profile Drupal sites. Austin’s background is primarily Java and PHP (written in the style of Java). He was at first put off by the object disoriented-ness of the Drupal programming model and the chaos that Drupal customization tends to attract. What brought him around was the huge Drupal community and the realization that you could write clean code in Drupal. He also has some great advice for developers having difficulty coming to terms with Drupal.

 


 

If you were trying to email me…

December 28th, 2008

and it bounced back, please try again.  When I downgraded my Yahoo! hosting to from the Merchant plan to just domain hosting, it blew away my MX Records.  Everything is back in order now. Sorry for the inconvenience.

 


 

Re-platforming www.contenthere.net

December 26th, 2008

If you have been playing close attention, you might have noticed that www.contenthere.net is now running on WordPress. Prior to the migration, the site was hosted on a combination of Blogger, Yahoo Store, and some hand coded HTML (managed in Subversion of course). That arrangement was fine but I ran into limitations with the integration between Yahoo Store and the rest of the architecture. There were no big show stoppers, just little inconveniences that I was getting tired of working around. Besides, I was itching to tinker - we techies get like that sometimes.

Selecting a new platform was fun because I got to be the client in a process in which I am normally the consultant. I was quite different from a typical Content Here client. First of all, I had no budget. Second, the president of the company (i.e. me) wanted the technology to be fun to program in. Third, I didn’t want to choose a platform that I would recommend to my typical clients because I do not want to appear biased. Incidentally, the last point is a main reason why I have held off implementation of a content management solution for so long.

My first choice was the Django web application framework. I had done some prototyping on the platform and was really impressed with the cleanness of the architecture and how quickly you could build applications. It is a little like Ruby on Rails but in Python. Furthermore, Django has a popular e-commerce application called Satchmo. I installed Satchmo and was able to understand the code and make some quick customizations on it. What really killed Django for me was the lack of a good blogging platform. There are a number of simple django blogging applications out there but nothing seemed to fit the bill. The closest was Banjo but it didn’t seem to be that well supported. There is actually a long standing discussion in the Django community about the framework’s lack of mature blogging applications.

The next two finalists were Drupal and WordPress. I have built sites on Drupal and like the framework a lot. However, the commerce module always seems to be far behind the current release of the core. I also think that Drupal is a little bit more than I need for my simple site (a blog with a shopping cart).

My decision to go with WordPress started as a simple prototype. I was amazed at how quickly I could create a theme to match my old design. The commerce module WP e-Commerce looked pretty solid and I was able to quickly get it working with PayPal as my payment gateway. I also found some useful plugins to provide me the features I was missing in Blogger (like related posts, etc.). The thing that sealed the deal for me was the ease with which WordPress imported all my blogger posts and comments. I was even able to make the permalinks match the same structure as Blogger’s for easier URL re-mapping (just a simple rewrite rule). Wordpress surely has its warts (there are plenty of places where the code gets pretty sketchy) but for a simple, reliable blogging platform with e-commerce capabilities, I am quite pleased.

 


 

Packt Publishing’s 2009 Road Map

December 15th, 2008

Packt Publishing is looking to expand their already extensive library of open source books. Their recently published road map for 2009 includes eZ Publish Templates, Customizing Zope Sites, Apache Jackrabbit, Apache CXF, Openbravo, OpenEMM, Django e-commerce, Bazaar VCS, and Groovy dsl.

If you know these technologies and are interested in writing a book, you should email Packt at authors@packtpub.com. From what I hear from the authors that I know, Packt is a good company to work with and their royalties (roughly 11.25% of the cover price) are generous. Packt also contributes a significant amount of money to the projects themselves through their royalty scheme and their annual Open Source CMS Award.

 


 

Review: Alfresco Developer Guide

December 12th, 2008

I just finished reading Jeff Pott’s new book Alfresco Developer Guide. If you have been looking for a technical book on how to develop applications on top of the Alfresco platform, this is it. Jeff wastes little time introducing abstract content management concepts or explaining the user interface, he digs right into setting up your local development environment. I like this approach but it assumes a solid foundation in both ECM and Java - if you don’t have one, there are plenty of other books to start with. The expectation of some baseline knowledge saves the book from getting bogged down with introducing Spring, jBPM, and many of the other popular Java frameworks and components that make up Alfresco.

The book is written with a bias toward the document management end of the ECM spectrum but that makes sense for a book about Alfresco. Only one chapter (out of 9) is devoted to Alfresco’s WCM component. The core strength of book is how it teaches developer to build dynamic web applications and services that access documents from the Alfresco repository (which may be the core strength of Alfresco too). There is great coverage on Alfresco’s Web Scripts framework with plenty of interesting examples that showcase the flexibility of the platform. For example, there is a nice description of how to create an AJAX document rating widget you could put on another website.

Jeff’s writing style is both thorough and readable. He has a nice technique of pulling up and explaining details in “What Just Happened?” sections. This allows him to run cleanly through a topic and then summarize and discuss some of the nuances of the steps.

Unfortunately for Jeff, his book (which covers 2.2 of the Enterprise Edition) came out right around the time version 3.0 was released. However, since he writes mainly about the API level, the book will stay relevant and accurate longer (Luckily API’s can’t change as fast as user interfaces). So, if you are a Java developer and are considering using Alfresco for building a “document centric web application,” this book will help.

 


 

Oxite, Microsoft’s open source web content management system

December 9th, 2008

Janus Boye has blog post describing a new web content management system from Microsoft. Janus reports that the intent is to make a simple web publishing platform which is more suitable for external websites than its flagship MOSS2007 offering. The most notable aspect of the Oxite is not its functionality or its positioning, it is its license. Oxite is distributed under an OSI certified license: the Microsoft Public License.

From poking around a bit, Oxite seems to be a project introduced by some MSDN developers who needed a platform on which to build MIX Online (Microsoft’s big developer conference. Here is their description of Oxite). We all know that Microsoft’s mainstream content management offerings would not be up to the task for this kind of open community site. I am guessing that the code was first released under the auspices of developer network education and code sharing. I am not sure if Microsoft has any business model behind the project other than to keep .NET developers happily buying Visual Studio. Still, the Microsoft developer community is huge and I could see them hungry to participate in a community project that would be an answer PHP projects like Drupal and WordPress. The code is hosted on CodePlex (Microsoft’s version of Source Forge) and there are already 2,324 downloads since its December 5 release.

 


 

 Page 1 of 44  1  2  3  4  5 » ...  Last »