aboutsummaryrefslogtreecommitdiff
path: root/docs/schemas/Article
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-09-15 08:53:08 +0200
committercedricbonhomme <devnull@localhost>2012-09-15 08:53:08 +0200
commit445fb8376c8cdafa24f088409daa0a207906e506 (patch)
tree09ad460d19fe7ca4a6993ca0cba8a0cab5b8fd1f /docs/schemas/Article
parentUpdated README file. (diff)
downloadnewspipe-445fb8376c8cdafa24f088409daa0a207906e506.tar.gz
newspipe-445fb8376c8cdafa24f088409daa0a207906e506.tar.bz2
newspipe-445fb8376c8cdafa24f088409daa0a207906e506.zip
Renamed /documentation to /docs.
Diffstat (limited to 'docs/schemas/Article')
-rw-r--r--docs/schemas/Article29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/schemas/Article b/docs/schemas/Article
new file mode 100644
index 00000000..45acd3e8
--- /dev/null
+++ b/docs/schemas/Article
@@ -0,0 +1,29 @@
+.. -*-restructuredtext-*-
+
+
+Schema for a Article object
+===========================
+
+ {
+ article_id: (str),
+ type: (int),
+ article_date: (datetime),
+ article_link: (str),
+ article_title: (str),
+ article_content: (str),
+ article_readed: (bool),
+ article_like: (bool)
+ }
+
+
+Schema description
+==================
+
+* article_id: the id of the article in hexadecimal digits (SHA1 hash of the article's URL);
+* type: equal to 1 for an article and to 0 for a feed;
+* article_date: the date of publication of the article;
+* article_link: the URL of the article;
+* article_title: the title of the article;
+* article_content: the content (description) of the article;
+* article_readed: set to True if the article is read, else False;
+* article_like: set to True for liked article, else False. \ No newline at end of file
bgstack15