aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-04-15 15:03:05 +0200
committercedricbonhomme <devnull@localhost>2012-04-15 15:03:05 +0200
commitad0ba7793806d213ee3e12efb33529379b4761c4 (patch)
tree36da041a9bd9b4958237b18f4216ff84f28cc9b7
parentBugfix: sqlite2mongo.py wasn't using datetime to store article's date in the ... (diff)
downloadnewspipe-ad0ba7793806d213ee3e12efb33529379b4761c4.tar.gz
newspipe-ad0ba7793806d213ee3e12efb33529379b4761c4.tar.bz2
newspipe-ad0ba7793806d213ee3e12efb33529379b4761c4.zip
Added database schema for Article and Feed object.
-rw-r--r--documentation/schemas/Article20
-rw-r--r--documentation/schemas/Feed19
2 files changed, 39 insertions, 0 deletions
diff --git a/documentation/schemas/Article b/documentation/schemas/Article
new file mode 100644
index 00000000..150f244d
--- /dev/null
+++ b/documentation/schemas/Article
@@ -0,0 +1,20 @@
+.. -*-restructuredtext-*-
+
+
+Schema for a Article object
+===========================
+
+ {
+ article_id: (str),
+ type: (str),
+ article_date: (datetime),
+ article_link: (str),
+ article_title: (str),
+ article_content: (str),
+ article_readed: (bool),
+ article_like: (bool)
+ }
+
+
+Schema description
+==================
diff --git a/documentation/schemas/Feed b/documentation/schemas/Feed
new file mode 100644
index 00000000..a67bc407
--- /dev/null
+++ b/documentation/schemas/Feed
@@ -0,0 +1,19 @@
+.. -*-restructuredtext-*-
+
+
+Schema for a Feed object
+===========================
+
+ {
+ feed_id: (str),
+ type: (int),
+ feed_image: (datetime),
+ feed_title: (str),
+ feed_link: (str),
+ site_link: (str),
+ mail: (bool),
+ }
+
+
+Schema description
+==================
bgstack15