~cedric/newspipe

ref: 599a2f74e489c7d9a7cda0078b066e594912ee69 newspipe/docs/schemas/Article -rw-r--r-- 843 bytes
599a2f74 — Cédric Bonhomme It is now possible to set the user-agent used by the feed parser. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.