Introduction

Pugpig is an external service that provide a news app and kindle integrations.

In the API there are 10 separate modules that go together to provide all the different functionality that they need.

The core idea behind pugpig is that we provide them a group of pugpig articles called an edition.

Pugpig articles are not the same as web articles, they have a different entity type called FlowsCollection entities.

The Collection entities have 6 bundles, 1 is the container, this is the pugpig_container that we attach all the other types to, to make an edition.

The other bundles are all different types of page that can be attached to the container as below:

pugpig_article
pugpig_custom
pugpig_file
pugpig_section_page
pugpig_single_image

Exports

As well as providing the edition to Pugpig we also convert this edition in to various different formats at different times and these get FTP'd to external clients

The front end converts the pages to PDF and XML files

Feeds

There are also feeds using today's edition that are distributed to Kindle and some others

https://indy-api-prod.brightsites.co.uk/api/pugpig-premium/independent.co.uk

https://indy-api-prod.brightsites.co.uk/api/pugpig-premium-timeline/independent.co.uk

https://indy-api-prod.brightsites.co.uk/api/kindle/manifest

The subsequent pages in this section will go into more detail about Pugpig