forked from I2P_Developers/i2p.i2p
News:
- Fix retrieval of entry links from feed - Linkify entry headers
This commit is contained in:
@@ -269,6 +269,7 @@ public class NewsManager implements RouterApp {
|
||||
return rv;
|
||||
}
|
||||
|
||||
/****
|
||||
public static void main(String[] args) {
|
||||
if (args.length != 0) {
|
||||
System.err.println("Usage: NewsManager");
|
||||
@@ -281,7 +282,9 @@ public class NewsManager implements RouterApp {
|
||||
System.out.println("Loaded " + entries.size() + " news entries");
|
||||
for (int i = 0; i < entries.size(); i++) {
|
||||
NewsEntry e = entries.get(i);
|
||||
System.out.println("\n****** News #" + (i+1) + ": " + e.title + ' ' + new Date(e.updated) + '\n' + e.content);
|
||||
System.out.println("\n****** News #" + (i+1) + ": " + e.title + ' ' + new Date(e.updated) +
|
||||
"\nLink: " + e.link + '\n' + e.content);
|
||||
}
|
||||
}
|
||||
****/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user