Blogs
Patching files using DIFF/PATCH in windows
If you are maintaining any application, especially the pervasive opensource applications that are constantly changing, you need to periodically patch your application. Int he Linux/Unix world, it is second nature to make changes generate a DIFF file, and apply a patch. But when you are using Windows,and are chronically used to a GUI for everything, this can be a stumbling block. I will admit that for a long time, I either ignored patches and just turned off unnecessary features to avoid security compromises, or manually sifted through the patch.file and applied the patch by hand.
Sending a PHP redirect header (301,302,303 etc) with an embedded variable
As explained in a related document and in many other reviews of processes and code on he website, you can create a redirect or send a Header from PHP with any-one of the 301, 302, 303, etc redirect headers. I will not go into the uses of these kinds of redirects (handled in a different document). The purpose of this document is to add to the already described code for generating these headers.
Inconsistent behaviour of the $base_path variable in themes
When developing a Drupal site in a sub-folder, of for deployment on a different directory structure, it is always advisable not to user hard-coded root directory paths. It is best and strongly recommended to use the
<?php print $base_path ?> variable to ensure that the URL with always use the correct root folder based on the $base_url setting in settings.php configuration file.
PHP/Drupal code to generate CMS content as XML
- Trigger the alternative theme that writes XML
- Write the theme that renders XML
1)
In your page.tpl.php, add this code at the top
<?php
if (($_GET["format"])==("xml")) {
include 'xml.page.tpl.php'; /*call the alternative template file */
return; }
?>
How to generate valid XML from Drupal CMS nodes
There have been many discussions and requests for how to generate Drupal CMS content/nodes. In this document is a review of the reasoning and the steps that facilitate generating XML dat from a Drupal CMS.
Well formed-ness/validity
XML trees must be well formed and valid to a DTD. DTD declaration is optional and in this situation, we will not need one as the tree we ae generating is relatively simple. However, if we are to share the generated XML data with others, it will be necessary to have a DTD to enable others to know the schema of the XML data
Drupal 6: installing, testing, troubleshooting and configuring the new version of the powerful CMS
Installing Drupal 6 from scratch
The next major version of the ever-popular CMS framework (yes, that is Drupal) is in your hands to install for testing or production deployment (depending on how many modules you want to use in your production environment).
Overview of the main steps to good Search Engine Optimization
Content
- Content is King, write good, unique, and valuable content that will generate reputable back-links, spur forum discussions linking back to you, and return visitors as opposed to writing or doing SEO just for SEO (narrow focused and for the wrong ends)
- Think about the focus of each document before hand and consider keywords, related documents, and a call to actions.
Roles and Skills - Building teams to implement an effective go-to-web strategy
- Designer
- Front-End Developer (also representing backend development)
- Content Writer
- Web Marketer
- SEO/SEM
- Support/Metrics
1) Designer
- Creates visual concepts of brainstormed and agreed UI strategies with input from the other team members to properly integrate knowledge and stakes of others
- Integrates the stable branding priorities of the organization into the design choices for an individual piece while using the uniqueness and differences in the piece to evolve the overall brand of the organization of branded prod
Avoiding duplicate content paths in using the Global Redirect Drupal module
Search Engines, and Google in particular penalize sites that present similar, or identical content using more than one unique path. This is the case whether the duplicate content is hosted on the same domain, but more so when the content is on different domains.
Search Engine optimization (SEO) - Ideas to consistently dominate search engine results
How to maintain and increase your google pagerank, magic of Search Engine Ranking, overnight SEO, guaranteed SEO tactics... you have heard them all,many promises from many who claim to have mastered or discovered secrets that can get your site to the top of every search term result you want. Obviously, search result ranking being based on many variables makes it impossible for anyone (event he search engine) to assure anyone a certain ranking position.
This collection of documents and ideas provides information relevant to the task of Search Engine optimisation.


