Package net.i2p.router.news
Classes to parse the I2P news format, which follows the Atom standard with additional metadata for the I2P update notification feature.
In the standard router package, this is a router console function, but these classes are in their own package so they may also be easily bundled in Android.
Since 0.9.17.
-
Class Summary Class Description BlocklistEntries One Blocklist.CommandLine Simple command line access to various utilities.CRLEntry One CRL.NewsEntry One news item.NewsManager Manage current news.NewsMetadata The update metadata.NewsMetadata.Release NewsMetadata.Update NewsXMLParser Parse out the news.xml file which is in Atom format (RFC4287).PersistNews Store and retrieve news entries from disk.RFC3339Date Adapted from net.i2p.router.util.RFC822Date.XMLParser Override so that XHTML is parsed correctly. -
Enum Summary Enum Description NewsXMLParser.XHTMLMode The action taken when encountering a non-whitelisted XHTML element or blacklisted attribute in the feed content.