mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Update: Partial implementation of su3 news with atom feed.
No spec yet, just followed str4d's testnews.atom.xml proposal. Atom parsing is tested, su3 part is incomplete and untested. Todo: add spec to http://i2p-projekt.i2p/en/docs/spec/updates, finish su3 and test.
This commit is contained in:
@@ -71,6 +71,8 @@ public class SU3File {
|
||||
public static final int TYPE_XML = 1;
|
||||
/** @since 0.9.15 */
|
||||
public static final int TYPE_HTML = 2;
|
||||
/** @since 0.9.17 */
|
||||
public static final int TYPE_XML_GZ = 3;
|
||||
|
||||
public static final int CONTENT_UNKNOWN = 0;
|
||||
public static final int CONTENT_ROUTER = 1;
|
||||
|
||||
@@ -25,5 +25,7 @@ public enum UpdateType {
|
||||
/** @since 0.9.9 */
|
||||
ROUTER_SIGNED_SU3,
|
||||
/** @since 0.9.15 */
|
||||
NEWS_SU3
|
||||
NEWS_SU3,
|
||||
/** @since 0.9.17 */
|
||||
ROUTER_DEV_SU3
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user