Last active
August 8, 2019 06:37
-
-
Save perry-mitchell/1e9a1ef6bd54b7eb8a7a32878583a04c to your computer and use it in GitHub Desktop.
RFC: Ads.txt chaining
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample publisher ads.txt | |
somenetwork.com, 1234, DIRECT | |
another.org, 4455abc, RESELLER | |
# !include https://managednetwork.com/managed.ads.txt.php?id=123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Included ads.txt from initial site | |
advertiser.com, 9999, RESELLER | |
network.co.uk, 123400, RESELLER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dec5e Good point! Graceful fallback. It'd still fail of course as the new lines wouldn't be read on older fetchers, but at least parsing wouldn't fail. The only problem with that approach is that regular comments could include the "include" word as part of a regular comment, and then fail. Eg:
So for cases like that it'd be tricky. Maybe best to still have it prefixed inside the comment?