| 1 | from Products.Archetypes.public import DisplayList |
|---|
| 2 | |
|---|
| 3 | PROJECTNAME = "SimpleBlog" |
|---|
| 4 | SKINS_DIR = 'skins' |
|---|
| 5 | |
|---|
| 6 | GLOBALS = globals() |
|---|
| 7 | ENABLE_ADSENSE = 1 |
|---|
| 8 | |
|---|
| 9 | # deprecated, just here for compatability |
|---|
| 10 | DISPLAY_MODE = DisplayList(( |
|---|
| 11 | ('full', 'Full'), ('descriptionOnly', 'Description only'), ('titleOnly', 'Title only') )) |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | # set to 0 if you don't want entries to be folderish |
|---|
| 15 | # use at your own risk. this is not fully tested |
|---|
| 16 | ENTRY_IS_FOLDERISH = 1 |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | DIGG_TOPICS = DisplayList(( \ |
|---|
| 20 | ('apple', 'Technology:Apple') \ |
|---|
| 21 | ,('design', 'Technology:Design') \ |
|---|
| 22 | ,('gadgets', 'Technology:Gadgets') \ |
|---|
| 23 | ,('hardware', 'Technology:Hardware') \ |
|---|
| 24 | ,('tech_news', 'Technology:Industry News') \ |
|---|
| 25 | ,('linux_unix', 'Technology:Linux/Unix') \ |
|---|
| 26 | ,('mods', 'Technology:Mods') \ |
|---|
| 27 | ,('programming', 'Technology:Programming') \ |
|---|
| 28 | ,('security', 'Technology:Security') \ |
|---|
| 29 | ,('software', 'Technology:Software') \ |
|---|
| 30 | ,('tech_deals', 'Technology:Tech Deals') \ |
|---|
| 31 | ,('space', 'Science:Space') \ |
|---|
| 32 | ,('environment', 'Science:Environment') \ |
|---|
| 33 | ,('health', 'Science:Health') \ |
|---|
| 34 | ,('general_sciences', 'Science:General Sciences') \ |
|---|
| 35 | ,('business_finance', 'World & Business:Business Finance') \ |
|---|
| 36 | ,('politics', 'World & Business:Political News') \ |
|---|
| 37 | ,('political_opinion', 'World & Business:Political Opinion') \ |
|---|
| 38 | ,('world_news', 'World & Business:World News') \ |
|---|
| 39 | ,('offbeat_news', 'World & Business:Offbeat News') \ |
|---|
| 40 | ,('baseball', 'Sports:Baseball') \ |
|---|
| 41 | ,('basketball', 'Sports:Basketball') \ |
|---|
| 42 | ,('extreme_sports', 'Sports:Extreme Sports') \ |
|---|
| 43 | ,('football', 'Sports:Football - US/Canada') \ |
|---|
| 44 | ,('golf', 'Sports:Golf') \ |
|---|
| 45 | ,('hockey', 'Sports:Hockey') \ |
|---|
| 46 | ,('motorsport', 'Sports:Motorsport') \ |
|---|
| 47 | ,('soccer', 'Sports:Soccer') \ |
|---|
| 48 | ,('tennis', 'Sports:Tennis') \ |
|---|
| 49 | ,('other_sports', 'Sports:Other Sports') \ |
|---|
| 50 | ,('videos_animation', 'Videos:Animation') \ |
|---|
| 51 | ,('videos_comedy', 'Videos:Comedy') \ |
|---|
| 52 | ,('videos_educational', 'Videos:Educational') \ |
|---|
| 53 | ,('videos_gaming', 'Videos:Gaming') \ |
|---|
| 54 | ,('videos_music', 'Videos:Music') \ |
|---|
| 55 | ,('videos_people', 'Videos:People') \ |
|---|
| 56 | ,('videos_sports', 'Videos:Sports') \ |
|---|
| 57 | ,('celebrity', 'Entertainment:Celebrity') \ |
|---|
| 58 | ,('movies', 'Entertainment:Movies') \ |
|---|
| 59 | ,('music', 'Entertainment:Music') \ |
|---|
| 60 | ,('television', 'Entertainment:Television') \ |
|---|
| 61 | ,('gaming_news', 'Gaming:Gaming News') \ |
|---|
| 62 | ,('playable_web_games', 'Gaming:Playable Web Games') \ |
|---|
| 63 | )).sortedByValue() |
|---|