Solutions

Multipage formatting of static content using php's output buffer and DomDocument

Problem: Country profile pages on FamilyEducation's reference site http://www.infoplease.com needed to be reformatted using multiple pages and an index for each of the countries. The data for these pages is currently in flat files containing all of the html to generate these pages. There are some rudimentary templates using php to dynamically generate pages on infoplease.

Here is an example of the reformatted country profile page - I apologize in advance for the bombardment of roadblocks and pop-up ads:

http://www.infoplease.com/ipa/A0107264.html

Providing commenting capability to legacy PHP websites.

Problem: FamilyEducation Network is a series of websites for Parents and Teachers. They include these and several more sites:

http://life.familyeducation.com
http://fun.familyeducation.com
http://school.familyeducation.com

They wanted to give users of the site the ability to comment on articles on these sites. To do this it was decided that we would use Drupal as wrapper for comments. These comments are hosted on http://comments.familyeducation.com.

Creating a site wide Twitter presence

Problem: Although there are existing Twitter modules for Drupal 5.x (Twitter and Tweet) they do not work as desired for the blog site: http://blogs.familyeducation.com/parenting. The blogging on this site takes place by professional writers, members of the site may only comment and not contribute their own blog content. They wanted to have a Twitter presence that represented all of the bloggers on this site and so that all of the articles would be "tweeted" in one Twitter stream: http://twitter.com/familyeducation

Unique sitemap.xml files for Drupal Multi-site setup

Problem: We have 3 Drupal sites that are set up as a multi-site installation. The advantage of this is that we can share user tables, which are in turn replicated on the main FEN authentication server. The down side to this is that the existing Sitemaps module will not work with this multi-site config because the sitemap.xml has to be in the root directory for each of the sites i.e.

http://blogs.familyeducation.com/sitemap.xml
http://comments.familyeducation.com/sitemap.xml
http://forums.familyeducation.com/sitemap.xml

SEO solution using autopath and tokens

Problem: In order to improve SEO for our blogs site, http://blogs.familyeducation.com/parenting, it was decided that content should include the gender of the blogger, in the form of moms or dads.

http://blogs.familyeducation.com/parenting

Solution: I decided to extend pathauto by adding a new token [blogger-type] I also created two new roles "moms" and "dads" by assigning the appropriate role to each of our bloggers I could then configure pathauto to add the appropriate path to each bloggers posts for example:

Before:

Syndicate content