From ec3972361d95f6f5956df77f7a76105b5ae6af72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 25 Aug 2013 20:10:23 +0200 Subject: poche now uses Full Text RSS to fetch content --- inc/3rdparty/simplepie/SimplePie/Copyright.php | 89 ++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 inc/3rdparty/simplepie/SimplePie/Copyright.php (limited to 'inc/3rdparty/simplepie/SimplePie/Copyright.php') diff --git a/inc/3rdparty/simplepie/SimplePie/Copyright.php b/inc/3rdparty/simplepie/SimplePie/Copyright.php new file mode 100644 index 00000000..cc16f9c4 --- /dev/null +++ b/inc/3rdparty/simplepie/SimplePie/Copyright.php @@ -0,0 +1,89 @@ +url = $url; + $this->label = $label; + } + + public function __toString() + { + // There is no $this->data here + return md5(serialize($this)); + } + + public function get_url() + { + if ($this->url !== null) + { + return $this->url; + } + else + { + return null; + } + } + + public function get_attribution() + { + if ($this->label !== null) + { + return $this->label; + } + else + { + return null; + } + } +} + -- cgit v1.2.3