mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
* Implemented in briar-core as a `ScheduledExecutorService` that gets started when the app starts * The briar-api has a `FeedManager` interface that the UI can use to register and unregister feeds * In this first iteration, feeds are fetched via HTTP(S), not Tor Closes #484
22 lines
572 B
Java
22 lines
572 B
Java
package org.briarproject.api.feed;
|
|
|
|
public interface FeedConstants {
|
|
|
|
/* delay after start before fetching feed, in minutes */
|
|
int FETCH_DELAY_INITIAL = 1;
|
|
|
|
/* the interval the feed should be fetched, in minutes */
|
|
int FETCH_INTERVAL = 30;
|
|
|
|
// group metadata keys
|
|
String KEY_FEEDS = "feeds";
|
|
String KEY_FEED_URL = "feedURL";
|
|
String KEY_BLOG_GROUP_ID = "blogGroupId";
|
|
String KEY_FEED_TITLE = "feedTitle";
|
|
String KEY_FEED_DESC = "feedDesc";
|
|
String KEY_FEED_AUTHOR = "feedAuthor";
|
|
String KEY_FEED_ADDED = "feedAdded";
|
|
String KEY_FEED_UPDATED = "feedUpdated";
|
|
|
|
}
|