drupal-module authorized_digital_sellers
An ads.txt management tool for Drupal >=8.5
sphdd/authorized_digital_sellers
An ads.txt management tool for Drupal >=8.5
- Wednesday, May 9, 2018
- by ProFire
- Repository
- 3 Watchers
- 2 Stars
- 50 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 2 % Grown
, (*1)
, (*2)
ADS.TXT manager for Drupal 8 is a module to manage the ads.txt configuration. This is particularly useful if you have to maintain multiple ads.txt file across all your websites., (*3)
Installing ADS.TXT manager via Composer
You can install ADS.TXT manager using Composer by running the following:, (*4)
bash
$ composer require SPHDD/authorized_digital_sellers:"^1"
, (*5)
Features
- Able to act as Master-Slave. If you're managing multiple websites with the same ads.txt file everywhere, this will improve your productivity.
- Serve a cached but outdated ads.txt if the Master fails to respond.
- Fallback to Self-Managed ads.txt if there is no cached version and Master fails to respond.
- Ability to set HTTP Cache-Control. Useful if you have HTTP accelerators and CDNs that respect the cache-control setting.
- Enable "Authorized Digital Sellers Manager" in Drupal 8
- Delete the physical ads.txt on your root, if any
- Go to configure the Authorized Digital Sellers settings (/admin/config/services/authorized_digital_sellers)
- External File Management or Self-Managed:
- Self-Managed: If you want to manage the content independently, or act as the master ads.txt copy
- External File Management: If you are relying on external ads.txt copy
- External ADS file
- Input the absolute URL of the external ads.txt copy, if you selected "External File Management"
- External ADS file refresh rate
- The period of time to get a fresh copy of ads.txt from External ADS File
- The values must be parsable with strtotime()
- It must be a figure set in the future (duh!)
- Leave blank if you want to hit the external ads.txt every time
- Fallback to Self-Managed
- Life ain't a bed of roses. If the external ads.txt fails to return, would you like to fallback to the self-managed ADS text file?
- Self Managed ADS text file
- If you selected "Self-Managed", then you must input the ads information here
- HTTP Cache Control
- Set the period of cache via HTTP
- The values must be parsable with strtotime()
- It must be a figure set in the future (duh!)
- Leave blank for no-store
Proposed Future Features
- Detection of ads.txt file and deletion from admin console
- Automatic purging of Varnish ads.txt on fresh copy from Master
- Automatic purging of CDN ads.txt on fresh copy from Master