Generic framework for embedding content in Drupal