diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-25 15:50:16 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-25 15:50:16 +0200 |
commit | 83020b993c9dc18093cbe213ef40afa03f33c124 (patch) | |
tree | a5034330e2904b383f2d295ed9ef805cb2d52b15 | |
parent | 985ce3ec53a71174b30b1872813cb69cab8d7081 (diff) | |
download | wallabag-83020b993c9dc18093cbe213ef40afa03f33c124.tar.gz wallabag-83020b993c9dc18093cbe213ef40afa03f33c124.tar.zst wallabag-83020b993c9dc18093cbe213ef40afa03f33c124.zip |
parse dilbert.com
-rw-r--r-- | inc/3rdparty/simplepie/SimplePie/Misc.php | 1 | ||||
-rw-r--r-- | inc/3rdparty/site_config/custom/dilbert.com.txt | 4 |
2 files changed, 5 insertions, 0 deletions
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 | |||
1613 | case 'utf7': | 1613 | case 'utf7': |
1614 | return 'UTF-7'; | 1614 | return 'UTF-7'; |
1615 | 1615 | ||
1616 | case 'utf8lias': | ||
1616 | case 'utf8': | 1617 | case 'utf8': |
1617 | return 'UTF-8'; | 1618 | return 'UTF-8'; |
1618 | 1619 | ||
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 @@ | |||
1 | title: //div[contains(@class, 'SB_Title')]//a | ||
2 | body: //div[contains(@class, 'STR_Content')] | ||
3 | |||
4 | test_url: http://dilbert.com/strips/comic/2013-10-22 \ No newline at end of file | ||