~cedric/newspipe

ref: 599a2f74e489c7d9a7cda0078b066e594912ee69 newspipe/docs/schemas/Feed -rw-r--r-- 640 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
.. -*-restructuredtext-*-


Schema for a Feed object
========================

    {
        feed_id: (str),
        type: (int),
        feed_image: (str),
        feed_title: (str),
        feed_link: (str),
        site_link: (str),
        mail: (bool)
    }


Schema description
==================


* feed_id: the id of the feed in hexadecimal digits (SHA1 hash of the feed's URL);
* type: equal to 1 for an article and to 0 for a feed;
* feed_image: URL of the favicon of the feed;
* feed_title: title of the feed;
* feed_link: URL of the feed;
* site_link: URL of the site;
* mail: set to True if sibscribed to the feed, else False.