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/Author.php | 103 ++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 inc/3rdparty/simplepie/SimplePie/Author.php (limited to 'inc/3rdparty/simplepie/SimplePie/Author.php') diff --git a/inc/3rdparty/simplepie/SimplePie/Author.php b/inc/3rdparty/simplepie/SimplePie/Author.php new file mode 100644 index 00000000..77e5dc58 --- /dev/null +++ b/inc/3rdparty/simplepie/SimplePie/Author.php @@ -0,0 +1,103 @@ +name = $name; + $this->link = $link; + $this->email = $email; + } + + public function __toString() + { + // There is no $this->data here + return md5(serialize($this)); + } + + public function get_name() + { + if ($this->name !== null) + { + return $this->name; + } + else + { + return null; + } + } + + public function get_link() + { + if ($this->link !== null) + { + return $this->link; + } + else + { + return null; + } + } + + public function get_email() + { + if ($this->email !== null) + { + return $this->email; + } + else + { + return null; + } + } +} + -- cgit v1.2.3