roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r381351 - in /incubator/roller/trunk: sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java tools/lib/rome-0.8.jar tools/lib/rome-fetcher-0.8.jar
Date Mon, 27 Feb 2006 14:56:11 GMT
Author: snoopdave
Date: Mon Feb 27 06:56:03 2006
New Revision: 381351

URL: http://svn.apache.org/viewcvs?rev=381351&view=rev
Log:
Bug fixes in ROME and in APP media collection handling

Modified:
    incubator/roller/trunk/sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java
    incubator/roller/trunk/tools/lib/rome-0.8.jar
    incubator/roller/trunk/tools/lib/rome-fetcher-0.8.jar

Modified: incubator/roller/trunk/sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java?rev=381351&r1=381350&r2=381351&view=diff
==============================================================================
--- incubator/roller/trunk/sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java
(original)
+++ incubator/roller/trunk/sandbox/atomprotocol/src/org/roller/presentation/atomapi/RollerAtomHandler.java
Mon Feb 27 06:56:03 2006
@@ -139,17 +139,17 @@
                     PermissionsData perm = (PermissionsData)iter.next();
                     String handle = perm.getWebsite().getHandle();
                     AtomService.Workspace workspace = new AtomService.Workspace();
-                    workspace.setTitle("Workspace: Collections for " + handle);
+                    workspace.setTitle("Weblog: " + handle);
                     service.addWorkspace(workspace);
                     
                     AtomService.Collection entryCol = new AtomService.Collection();
-                    entryCol.setTitle("Collection: Weblog Entries for " + handle);
+                    entryCol.setTitle("Weblog Entries");
                     entryCol.setMemberType("entry");
                     entryCol.setHref(absUrl + "/app/"+handle+"/entries");
                     workspace.addCollection(entryCol);
                                         
                     AtomService.Collection uploadCol = new AtomService.Collection();
-                    uploadCol.setTitle("Collection: Resources for " + handle);
+                    uploadCol.setTitle("Media Files");
                     uploadCol.setMemberType("media");
                     uploadCol.setHref(absUrl + "/app/"+handle+"/resources");
                     workspace.addCollection(uploadCol);
@@ -255,7 +255,7 @@
             List atomEntries = new ArrayList();
             int count = 0;
             if (files != null && start < files.length) {
-                for (int i=start; i<(start + max); i++) {                   
+                for (int i=start; i<(start + max) && i<(files.length); i++)
{                   
                     Entry entry = createAtomResourceEntry(website, files[i]);
                     atomEntries.add(entry);
                     count++;

Modified: incubator/roller/trunk/tools/lib/rome-0.8.jar
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/tools/lib/rome-0.8.jar?rev=381351&r1=381350&r2=381351&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/roller/trunk/tools/lib/rome-fetcher-0.8.jar
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/tools/lib/rome-fetcher-0.8.jar?rev=381351&r1=381350&r2=381351&view=diff
==============================================================================
Binary files - no diff available.



Mime
View raw message