thehindu.com.php 697 B

12345678910111213141516171819
  1. <?php
  2. return array(
  3. 'grabber' => array(
  4. '%.*%' => array(
  5. 'test_url' => 'http://www.thehindu.com/sci-tech/science/why-is-the-shape-of-cells-in-a-honeycomb-always-hexagonal/article7692306.ece?utm_source=RSS_Feed&utm_medium=RSS&utm_campaign=RSS_Syndication',
  6. 'body' => array(
  7. '//div/img[@class="main-image"]',
  8. '//div[@class="photo-caption"]',
  9. '//div[@class="articleLead"]',
  10. '//p',
  11. '//span[@class="upper"]',
  12. ),
  13. 'strip' => array(
  14. '//div[@id="articleKeywords"]',
  15. '//div[@class="photo-source"]',
  16. ),
  17. ),
  18. ),
  19. );