diff options
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php index 9ddd0301c..6e28b99de 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/github.com.php @@ -1,10 +1,14 @@ <?php return array( - 'test_url' => 'https://github.com/audreyr/favicon-cheat-sheet', - 'body' => array( - '//article[contains(@class, "entry-content")]', - ), - 'strip' => array( - '//h1' + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'https://github.com/audreyr/favicon-cheat-sheet', + 'body' => array( + '//article[contains(@class, "entry-content")]', + ), + 'strip' => array( + '//h1' + ) + ) ) ); |