From 83020b993c9dc18093cbe213ef40afa03f33c124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 25 Oct 2013 15:50:16 +0200 Subject: parse dilbert.com --- inc/3rdparty/simplepie/SimplePie/Misc.php | 1 + inc/3rdparty/site_config/custom/dilbert.com.txt | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 inc/3rdparty/site_config/custom/dilbert.com.txt (limited to 'inc/3rdparty') diff --git a/inc/3rdparty/simplepie/SimplePie/Misc.php b/inc/3rdparty/simplepie/SimplePie/Misc.php index eabf2738..17dbf963 100644 --- a/inc/3rdparty/simplepie/SimplePie/Misc.php +++ b/inc/3rdparty/simplepie/SimplePie/Misc.php @@ -1613,6 +1613,7 @@ class SimplePie_Misc case 'utf7': return 'UTF-7'; + case 'utf8lias': case 'utf8': return 'UTF-8'; diff --git a/inc/3rdparty/site_config/custom/dilbert.com.txt b/inc/3rdparty/site_config/custom/dilbert.com.txt new file mode 100644 index 00000000..6c8d95a2 --- /dev/null +++ b/inc/3rdparty/site_config/custom/dilbert.com.txt @@ -0,0 +1,4 @@ +title: //div[contains(@class, 'SB_Title')]//a +body: //div[contains(@class, 'STR_Content')] + +test_url: http://dilbert.com/strips/comic/2013-10-22 \ No newline at end of file -- cgit v1.2.3