The Pugpig Drupal Connector Modules allow you to publish directly from Drupal to your Pugpig Application. The high level features of the modules include:

  • A new content type (Pugpig Edition) is installed into your system. This content type serves as a container for other Drupal nodes. An interface is provided for flat-planning your editions
  • The module provides a Pugpig Atom feed (for continuously published publications) and a Pugpig ZIP feed (for periodicals)
  • Use Drupal categories or taxonomies to dynamically control the sections in your editions
  • Use Drupal page types to control how pages are grouped or split in your app. For example, you could have a two level navigation, hide adverts from the table of contents, or have special pages such as Help/About/FAQ shown in special places
  • The look and feel of your publication is controlled by a Drupal theme, which outputs the responsive HTML required for your app. The module supports theme switching so your existing web site can have a separate theme to your Pugpig app. We do have a Starter Pack for Drupal - mail if you'd like to use that
  • A special module is provided to handle advertising - standalone HTML/JS/CSS zip bundles can be uploaded and the module will handle everything
  • The modules provide numerous hooks to allow you to customise and override the behaviour without having to change the core code, which would make the upgrade path more difficult
  • You can use existing Drupal features and modules to enhance your apps. For example use Image Styles to resize images, and Features modules to version content types
  • Import content from elsewhere using existing Drupal Feed Importers (for example, from RSS feeds)
  • Works with Drupal Multisite, which works well if you wish to have multiple brands with the same structure but different themes
  • Additional modules are included to support integration with iTunes, Amazon, Apple, Blackberry and Windows (both single issue and subscription purchases). Other modules support integration with popular third party subscription systems
  • Modules are also included to integrate with Drupal accelerators (such as Varnish) and CDNs (such as Amazon Cloudfront)

When using Drupal, there are a few things you should keep in mind including:

Content Types

Use one features module per content type This will allow you much more visibility over your features modules - and will make troubleshooting much easier and quicker. Drupal can take it's time reverting or updating a features module, and splitting the content types out into smaller chunks reduce the risk of long waits, and issues.

You will probably also want to create a features module for the text formats - if you have any, and same for image styles.


Available Modules

The Pugpig Drupal Connector Core Module can be downloaded by anyone. There are also additional modules that are useful in a production environment. See the list below:

  • Pugpig Core: Which provides the following features
    1. Ability to place standard content items into Pugpig Editions
    2. Content feeds using the [[api:documenttype:atom]]
    3. Content feeds using the [[api:documenttype:package]]
    4. Protect restricted content - see the [[server:existing:drupal:security]]
  • Pugpig Demo Pack Types: Starter types, containing Article pages, Index page and Cover page
  • Reindeer Module: Simple example customisations to enhance the sample Reindeer template packs. We also have more template packs available please contact us.

The following modules are available on request as part of your Pugpig license:

  • Pugpig Advanced Types - Ad Packages: Adds the ability to upload zip files containing self contained adverts
  • Pugpig Caching - Varnish Cache: Integrates with Varnish for decaching. The varnish module needs to be configured beforehand
  • Pugpig Caching - Cloudfront Cache: Integrates with Cloudfront for decaching
  • Pugpig Subscriptions - iTunes: Supports selling single issues or subscriptions via iTunes
  • Pugpig Subscriptions - Dovetail: Supports selling subscriptions via
  • Pugpig Subscriptions - Palmcoast: Supports selling subscriptions via
  • Pugpig Notifications - Urban Airship: Send push notifications via
  • Related Nodes Export: Can be used to import and export editions between Drupal instances. Useful too for data backup.
  • Pugpig Basic Content Types: A features module that supplies definitions for the Screenshot and Ad Package content types

Module Installing and Uninstalling

Enabling and Disabling modules simply means that Drupal will not load the file when running. Installing and Uninstalling means that Drupal will set up and destroy data structures. Disable any modules you are not using. Uninstall any modules you once installed but are not being used, if you don't need the data.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk