This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Straw handles data coming from news feeds, gconf, dbus, environment variables, and the user. Data that persists over restarts is stored in the gconf subtree /apps/straw, the pickle file ~/.straw/config, and the BerkeleyDB database ~/.straw/itemstore.db.

1. OPML category subscription

Class: straw.feeds.OPMLCategorySubscription

Persistent fields:

Non-persistent attributes:

2. Feed categories

Class: straw.feeds.FeedCategory

Persistent fields:

Non-persistent attributes:

2.1. Pseudo categories

Class: straw.feeds.PseudoCategory

Persistent fields:

3. News feeds

Class: straw.feeds.Feed

Persistent fields:

Non-persistent slots:

Attributes:

4. News posts

Class: straw.SummaryItem.SummaryItem

Persistent fields:

Of these, the following are searchable:

Non-persistent slots:

5. Database

Classes: straw.ItemStore.ItemStore, straw.ItemStore.MyDB

Schema "key": value:

The BerkeleyDB can be viewed with the command

 db4.2_dump -p ~/.straw/itemstore.db

6. Config options

Class: straw.Config.Config

In GConf:

 $ gconftool-2 -R /apps/straw

In the pickle file:

 >>> import cPickle
 >>> cPickle.load(".straw/config")

Whether ~/.straw exists already:

os.getenv('STRAW_RELOAD_CSS') is not None

7. Proxy configuration

In environment variables:

If a proxy is not available in the environment variables, refer to gconf instead:


2024-10-23 10:59