1.0.1 • Published 5 years ago

kirkify v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Kirkify

Installation

$ npm install kirkify

Run

  1. Go to Finder and select the parent folder of your creatives folder.
  2. Open the command-line and run kirkiky.
  3. Once ran, the tool will run through all your creatives and delete all versioning files and code.

Description

Kirkify it's a tool to clean-up banners with versioning files that are built for Double Click Studio dynamic. Creating versioning files and test them locally speeds up the versioning process due to the slow process in Double Click and issues with the preview links.

  • Versioning files should be in a js folder inside your creative and should follow the exact naming convenctions: loadDynamicContent-versioningname.js. e.g.: loadDynamicContent-winter.js loadDynamicContent-spring.js

    The files must start with __loadDynamicContent-__ with the hyphen at the end followed the versioning name.
  • Finally you must also include inside your index.html file the following inline script.

    <!-- Versioning Query String --> <script id="versioningQueryString">var addressBarString = window.location.href; var destination = addressBarString.substring(addressBarString.indexOf('?') + 1);</script>

    This script must have an ID called versioningQueryString as the tool will look for this entire script code and remove.