diff options
Diffstat (limited to 'example_ads.py')
-rw-r--r-- | example_ads.py | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/example_ads.py b/example_ads.py new file mode 100644 index 0000000..147228d --- /dev/null +++ b/example_ads.py @@ -0,0 +1,108 @@ +# -*- coding: utf-8 -*- +# most of this stuff is obvious. +# tier is not currently used +# weight is whatever integer you want, i.e. bogomips, etc + +## note: all images must be named with 'name'.png + +ads = [ + { + 'name': 'internal_name_1', + 'title': 'human title 1', + 'tier': 1, + 'weight': 15, #bogomips + 'url': 'http://www1.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_2', + 'title': 'human title 2', + 'tier': 1, + 'weight': 25, + 'url': 'http://www2.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_3', + 'title': 'human title 3', + 'tier': 1, + 'weight': 5, + 'url': 'http://www3.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_4', + 'title': 'human title 4', + 'tier': 2, + 'weight': 105, + 'url': 'http://www4.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_5', + 'title': 'human title 5', + 'tier': 2, + 'weight': 19, + 'url': 'http://www5.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_6', + 'title': 'human title 6', + 'tier': 3, + 'weight': 150, + 'url': 'http://www6.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_7', + 'title': 'human title 7', + 'tier': 3, + 'weight': 170, + 'url': 'http://www7.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_8', + 'title': 'human title 8', + 'tier': 3, + 'weight': 11, + 'url': 'http://www8.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_9', + 'title': 'human title 9', + 'tier': 3, + 'weight': 1950, + 'url': 'http://www9.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_10', + 'title': 'human title 10', + 'tier': 3, + 'weight': 122, + 'url': 'http://www10.example.com', + 'height': 120, + 'width': 125, + }, + { + 'name': 'internal_name_11', + 'title': 'human title 11', + 'tier': 3, + 'weight': 17, + 'url': 'http://www11.example.com', + 'height': 120, + 'width': 125, + }, +] |