Author: nextgens
Date: 2007-11-28 15:30:50 +0000 (Wed, 28 Nov 2007)
New Revision: 16018

Modified:
   trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java
Log:
BookmarkManager: add a description to the default bookmark set

Modified: trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java        
2007-11-28 15:30:24 UTC (rev 16017)
+++ trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java        
2007-11-28 15:30:50 UTC (rev 16018)
@@ -45,37 +45,37 @@
         try {
             BookmarkCategory indexes = (BookmarkCategory) 
PROTECTED_CATEGORY.addBookmark(new BookmarkCategory("Indexes"));
             indexes.addBookmark(new BookmarkItem(new FreenetURI("USK at 
zQyF2O1o8B4y40w7Twz8y2I9haW3d2DTlxjTHPu7zc8,h2mhQNNE9aQvF~2yKAmKV1uorr7141-QOroBf5hrlbw,AQACAAE/AnotherIndex/33/"),
-                    "Another Index (large categorised index, many sites have 
no description)", false,
+                    "Another Index", "A large categorised index, many sites 
have no description", false,
                     node.alerts));

             indexes.addBookmark(new BookmarkItem(new FreenetURI("USK at 
RJnh1EnvOSPwOWVRS2nyhC4eIQkKoNE5hcTv7~yY-sM,pOloLxnKWM~AL24iDMHOAvTvCqMlB-p2BO9zK96TOZA,AQACAAE/index_fr/21/"),
-                    "Index des sites Fran?ais (small French index with 
descriptions)", false,
+                    "Index des sites Fran?ais", "A small French index with 
descriptions", false,
                     node.alerts));

             indexes.addBookmark(new BookmarkItem(new FreenetURI("USK at 
cvZEZFWynx~4hmakaimts4Ruusl9mEUpU6mSvNvZ9p8,K2Xopc6GWPkKrs27EDuqzTcca2bE5H2YAXw0qKnkON4,AQACAAE/TSOF/2/"),
-                    "The Start Of Freenet (another human-maintained index, so 
far relatively small)", true,
+                    "The Start Of Freenet", "Another human-maintained index, 
so far relatively small", true,
                     node.alerts));

             indexes.addBookmark(new BookmarkItem(new FreenetURI("USK at 
7H66rhYmxIFgMyw5Dl11JazXGHPhp7dSN7WMa1pbtEo,jQHUQUPTkeRcjmjgrc7t5cDRdDkK3uKkrSzuw5CO9uk,AQACAAE/ENTRY.POINT/36/"),
-                    "Entry point (old, large index, hasn't been updated for a 
while)", true,
+                    "Entry point", "An old, large index, wich hasn't been 
updated for a while", true,
                     node.alerts));

             indexes.addBookmark(new BookmarkItem(new FreenetURI("USK at 
0I8gctpUE32CM0iQhXaYpCMvtPPGfT4pjXm01oid5Zc,3dAcn4fX2LyxO6uCnWFTx-2HKZ89uruurcKwLSCxbZ4,AQACAAE/Ultimate-Freenet-Index/1/"),
-                    "The Ultimate FreeNet Index (new one page index)", false,
+                    "The Ultimate FreeNet Index", "A new one; page index", 
false,
                     node.alerts));


             BookmarkCategory flog = (BookmarkCategory) 
PROTECTED_CATEGORY.addBookmark(new BookmarkCategory("Freenet devel's flogs"));
             flog.addBookmark(new BookmarkItem(new FreenetURI("USK at 
yGvITGZzrY1vUZK-4AaYLgcjZ7ysRqNTMfdcO8gS-LY,-ab5bJVD3Lp-LXEQqBAhJpMKrKJ19RnNaZMIkusU79s,AQACAAE/toad/7/"),
-                    "Toad", true, node.alerts));
+                    "Toad", "Toad's blog", true, node.alerts));
             flog.addBookmark(new BookmarkItem(new FreenetURI("USK at 
hM9XRwjXIzU8xTSBXNZvTn2KuvTSRFnVn4EER9FQnpM,gsth24O7ud4gL4NwNuYJDUqfaWASOG2zxZY~ChtgPxc,AQACAAE/Flog/7/"),
-                    "Nextgen$", true, node.alerts));
+                    "Nextgen$", "NextGen$' blog", true, node.alerts));
             flog.addBookmark(new BookmarkItem(new FreenetURI("USK at 
e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/bombe/10/"),
-                       "Bombe", true, node.alerts));
+                       "Bombe", "Bombe's blog", true, node.alerts));

             BookmarkCategory apps = (BookmarkCategory) 
PROTECTED_CATEGORY.addBookmark(new BookmarkCategory("Freenet related 
software"));
             apps.addBookmark(new BookmarkItem(new FreenetURI("USK at 
QRZAI1nSm~dAY2hTdzVWXmEhkaI~dso0OadnppBR7kE,wq5rHGBI7kpChBe4yRmgBChIGDug7Xa5SG9vYGXdxR0,AQACAAE/frost/4"),
-                    "Frost", true, node.alerts));
+                    "Frost", "The official freesite of Frost", true, 
node.alerts));

             //TODO: remove
             String[] oldBookmarks = null;
@@ -141,7 +141,7 @@
                        title = title.substring(0, title.length()-1);
                     }
                     addBookmark(matcher.group(1), new BookmarkItem(key,
-                            title, hasAnActiveLink, node.alerts));
+                            title, "", hasAnActiveLink, node.alerts));
                 }
             } catch (MalformedURLException e) {
             }


Reply via email to