From c55df61e214c0275b31ddbd830511e849d2be6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 16 Mar 2014 22:17:44 -0400 Subject: [PATCH] Update of PicoFeed --- README.markdown | 2 +- vendor/PicoFeed/Parsers/Rss10.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 60e2472..74e53f5 100644 --- a/README.markdown +++ b/README.markdown @@ -20,7 +20,7 @@ Features - Keyboard shortcuts (pressing '?' displays a pop-up listing the shortcuts; pressing 'q' closes it) - Basic bookmarks - Translated in English, French, German, Italian, Czech, Spanish, Portuguese and Simplified Chinese -- RTL language support +- RTL languages support - Themes support - Alternative login with a Google Account or Mozilla Persona - **Full article download for feeds that display only a summary** (website scraper based on Xpath rules) diff --git a/vendor/PicoFeed/Parsers/Rss10.php b/vendor/PicoFeed/Parsers/Rss10.php index d4b6ccf..c106ee3 100644 --- a/vendor/PicoFeed/Parsers/Rss10.php +++ b/vendor/PicoFeed/Parsers/Rss10.php @@ -22,6 +22,7 @@ class Rss10 extends \PicoFeed\Parser $this->title = $this->stripWhiteSpace((string) $xml->channel->title) ?: $this->url; $this->url = (string) $xml->channel->link; $this->id = $this->url; + $this->language = ''; \PicoFeed\Logging::log(\get_called_class().': Title => '.$this->title); \PicoFeed\Logging::log(\get_called_class().': Url => '.$this->url); @@ -42,6 +43,7 @@ class Rss10 extends \PicoFeed\Parser $item->author= ''; $item->updated = ''; $item->content = ''; + $item->language = ''; foreach ($namespaces as $name => $url) {