aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/export.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-27 17:18:59 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-27 17:18:59 +0200
commitadcc7801eaa6a4f24f2c01596e82369cc7375b5e (patch)
tree0190c083ad8f508ff455037e6f632572864300f0 /pyaggr3g470r/export.py
parentUpdated translations. (diff)
downloadnewspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.tar.gz
newspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.tar.bz2
newspipe-adcc7801eaa6a4f24f2c01596e82369cc7375b5e.zip
Updated JSON export.
Diffstat (limited to 'pyaggr3g470r/export.py')
-rw-r--r--pyaggr3g470r/export.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/pyaggr3g470r/export.py b/pyaggr3g470r/export.py
index 214997d0..812739f2 100644
--- a/pyaggr3g470r/export.py
+++ b/pyaggr3g470r/export.py
@@ -212,10 +212,17 @@ def export_json(user):
"description": feed.description,
"link": feed.link,
"site_link": feed.site_link,
+ "email_notification": feed.email_notification,
+ "enabled": feed.enabled,
+ "created_date": feed.created_date,
"articles": [ {
"title": article.title,
"link": article.link,
- "content": article.content
+ "content": article.content,
+ "readed": article.readed,
+ "like": article.like,
+ "date": article.date,
+ "retrieved_date": article.retrieved_date
}
for article in feed.articles
]
bgstack15