def content_xxx_scanner(website): """Check if website has xxx related content""" key = 'has_content_xxx' topic = [ 'xxx', 'p**n', 'erotic', 'sex', 'naked', 'nude', u'nøgen', u'fræk' ] return create_binary_attribute(key, has_topic(website, topic))
def content_shop_scanner(website): """Check if website has shop related content""" key = 'has_content_shop' topic = [ 'shop', 'butik', u'køb', 'buy', 'bestil', 'order', 'basket', 'kurv', 'cart', 'sell', u'sælg' ] return create_binary_attribute(key, has_topic(website, topic))
def content_food_scanner(website): """Check if website has food related content""" key = 'has_content_food' topic = [ 'food', 'mad', 'opskrift', 'recipe', 'frokost', 'brunch', 'restaurant', 'cafe' ] return create_binary_attribute(key, has_topic(website, topic))
def content_health_scanner(website): """Check if website has health related content""" key = 'has_content_health' topic = [ 'sundhed', 'health', 'motion', 'diet', 'kur', 'slank', u'vægt', 'weight', u'træning', 'workout' ] return create_binary_attribute(key, has_topic(website, topic))
def content_film_scanner(website): """Check if website has film related content""" key = 'has_content_film' topic = [ 'film', 'movie', 'biograf', 'cinema', 'dvd', 'bluray', u'skærm', 'screen', 'tv', 'fjernsyn' ] return create_binary_attribute(key, has_topic(website, topic))
def content_business_scanner(website): """Check if website has business related content""" key = 'has_content_business' topic = [ 'business', 'arbejde', u'økonomi', 'economi', 'work', 'money', 'penge', 'finance', 'finans', 'aktie', 'stock' ] return create_binary_attribute(key, has_topic(website, topic))
def content_sport_scanner(website): """Check if website has sport related content""" key = 'has_content_sport' topic = [ 'sport', 'bold', 'ball', 'spiller', 'tennis', 'cykling', 'boksning', 'gold', 'motion' ] return create_binary_attribute(key, has_topic(website, topic))
def content_technology_scanner(website): """Check if website has technology related content""" key = 'has_content_technology' topic = [ 'computer', 'pc', 'mac', 'phone', 'tablet', 'hardware', 'software', u'bærbar', 'laptop', 'notebook' ] return create_binary_attribute(key, has_topic(website, topic))
def content_transport_scanner(website): """Check if website has transport related content""" key = 'has_content_transport' topic = [ 'transport', 'bus', 'bil', 'car', 'bike', 'bicycle', 'cykel', 'vej', 'road', 'tog', 'train', 'metro' ] return create_binary_attribute(key, has_topic(website, topic))
def backbone_scanner(website): key = 'has_js_backbone' filename = 'backbone' return create_binary_attribute(key, has_script(website, filename))
def angular_scanner(website): key = 'has_js_angular' filename = 'angular' return create_binary_attribute(key, has_script(website, filename))
def ember_scanner(website): key = 'has_js_ember' filename = 'ember' return create_binary_attribute(key, has_script(website, filename))
def knockout_scanner(website): key = 'has_js_knockout' filename = 'knockout' return create_binary_attribute(key, has_script(website, filename))
def content_business_scanner(website): """Check if website has business related content""" key = 'has_content_business' topic = ['business', 'arbejde', u'økonomi', 'economi', 'work', 'money', 'penge', 'finance', 'finans', 'aktie', 'stock'] return create_binary_attribute(key, has_topic(website, topic))
def content_sport_scanner(website): """Check if website has sport related content""" key = 'has_content_sport' topic = ['sport', 'bold', 'ball', 'spiller', 'tennis', 'cykling', 'boksning', 'gold', 'motion'] return create_binary_attribute(key, has_topic(website, topic))
def content_transport_scanner(website): """Check if website has transport related content""" key = 'has_content_transport' topic = ['transport', 'bus', 'bil', 'car', 'bike', 'bicycle', 'cykel', 'vej', 'road', 'tog', 'train', 'metro'] return create_binary_attribute(key, has_topic(website, topic))
def jquery_scanner(website): key = 'has_js_jquery' filename = 'jquery' return create_binary_attribute(key, has_script(website, filename))
def content_shop_scanner(website): """Check if website has shop related content""" key = 'has_content_shop' topic = ['shop', 'butik', u'køb', 'buy', 'bestil', 'order', 'basket', 'kurv', 'cart', 'sell', u'sælg'] return create_binary_attribute(key, has_topic(website, topic))
def content_music_scanner(website): """Check if website has music related content""" key = 'has_content_music' topic = ['music', 'musik', 'lyd', 'audio', 'song', 'sang', 'pop', 'rock'] return create_binary_attribute(key, has_topic(website, topic))
def content_xxx_scanner(website): """Check if website has xxx related content""" key = 'has_content_xxx' topic = ['xxx', 'p**n', 'erotic', 'sex', 'naked', 'nude', u'nøgen', u'fræk'] return create_binary_attribute(key, has_topic(website, topic))
def content_technology_scanner(website): """Check if website has technology related content""" key = 'has_content_technology' topic = ['computer', 'pc', 'mac', 'phone', 'tablet', 'hardware', 'software', u'bærbar', 'laptop', 'notebook'] return create_binary_attribute(key, has_topic(website, topic))
def content_games_scanner(website): """Check if website has games related content""" key = 'has_content_games' topic = ['game', 'spil', 'xbox', 'playstation', 'wii'] return create_binary_attribute(key, has_topic(website, topic))
def prototype_scanner(website): key = 'has_js_prototype' filename = 'prototype' return create_binary_attribute(key, has_script(website, filename))
def content_news_scanner(website): """Check if website has news related content""" key = 'has_content_news' topic = ['nyheder', 'news', 'avis', ''] return create_binary_attribute(key, has_topic(website, topic))
def dojo_scanner(website): key = 'has_js_dojo' filename = 'dojo' return create_binary_attribute(key, has_script(website, filename))
def modernizr_scanner(website): key = 'has_js_modernizr' filename = 'modernizr' return create_binary_attribute(key, has_script(website, filename))
def content_film_scanner(website): """Check if website has film related content""" key = 'has_content_film' topic = ['film', 'movie', 'biograf', 'cinema', 'dvd', 'bluray', u'skærm', 'screen', 'tv', 'fjernsyn'] return create_binary_attribute(key, has_topic(website, topic))
def underscore_scanner(website): key = 'has_js_underscore' filename = 'underscore' return create_binary_attribute(key, has_script(website, filename))
def content_health_scanner(website): """Check if website has health related content""" key = 'has_content_health' topic = ['sundhed', 'health', 'motion', 'diet', 'kur', 'slank', u'vægt', 'weight', u'træning', 'workout'] return create_binary_attribute(key, has_topic(website, topic))
def handlebars_scanner(website): key = 'has_js_handlebars' filename = 'handlebars' return create_binary_attribute(key, has_script(website, filename))
def content_food_scanner(website): """Check if website has food related content""" key = 'has_content_food' topic = ['food', 'mad', 'opskrift', 'recipe', 'frokost', 'brunch', 'restaurant', 'cafe'] return create_binary_attribute(key, has_topic(website, topic))