From 11923e0a6de5798c7fbd1e04685f7bbbcec7c8c0 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 22 May 2014 22:47:18 +0200 Subject: [PATCH] Fix python lib code in README Missing 'morss.' added --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7426316..47a3b0c 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,12 @@ import morss url = 'http://newspaper.example/feed.xml' options = morss.Options(['force', 'quiet']) # arguments cache_path = '/tmp/morss-cache' # cache folder, needs write permission -url, cache = Init(url, cache_path, options) +url, cache = morss.Init(url, cache_path, options) -rss = Fetch(url, cache, options) # this only grabs the RSS feed -rss = Gather(rss, url, cache, options) # this fills the feed and cleans it up +rss = morss.Fetch(url, cache, options) # this only grabs the RSS feed +rss = morss.Gather(rss, url, cache, options) # this fills the feed and cleans it up -output = After(rss, options) # formats final feed +output = morss.After(rss, options) # formats final feed ``` ##Cache information