anchor.diff:  -module(mod_scraper_schema).
  --author("Arthur Clemens <arthurclemens@gmail.com>").
   
   -include_lib("include/zotonic.hrl").
   
  
positive.code:                 automatic_scraper_rule,
                  make_itemprop_attr_rule(<<"priceCurrency">>, <<"text">>, <<"price_currency">>)
              },
  
              % example pages
  
  
negative.code:             {fonq_nl_scraper_search_results_page, hasscraperrule, fonq_nl_rule_handle_search_results_links},
  
              {fonq_nl_scraper, hasscraperrule, fonq_nl_rule_search_results_pages},
              {fonq_nl_scraper, hasscraperrule, fonq_nl_rule_detail_pages},
  
              % bijenkorf.nl
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, bijenkorf_nl_rule_title},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, bijenkorf_nl_rule_price},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, rule_itemprop_price_currency_attr},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, rule_itemprop_description_visible},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, bijenkorf_nl_rule_brand},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, bijenkorf_nl_rule_no_price_found},
              {bijenkorf_nl_scraper_detail_page, hasscraperrule, bijenkorf_nl_rule_sold_out},
  
              {bijenkorf_nl_scraper_search_results_page, hasscraperrule, bijenkorf_nl_rule_handle_search_results_links},
  
              {bijenkorf_nl_scraper, hasscraperrule, bijenkorf_nl_rule_search_results_pages},
              {bijenkorf_nl_scraper, hasscraperrule, bijenkorf_nl_rule_detail_pages}
          ]}
      ].
  
  