Working ruby code to prep the alias and title for both content types
Make it more concise and add some self-verification
Check for styles and scripts
Change indentation style to normal for Ruby
Add  logic to determine the page branding and trim title
Some code to get the HTML parts, more validation on the drupal side.
Fix small problems with this