roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r349598 - /incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java
Date Tue, 29 Nov 2005 02:53:22 GMT
Author: snoopdave
Date: Mon Nov 28 18:53:18 2005
New Revision: 349598

URL: http://svn.apache.org/viewcvs?rev=349598&view=rev
Log:
Oops, backing out Atom protocol related change

Modified:
    incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java

Modified: incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java?rev=349598&r1=349597&r2=349598&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java (original)
+++ incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java Mon Nov 28 18:53:18 2005
@@ -33,7 +33,8 @@
 import com.sun.syndication.feed.synd.SyndFeed;
 
 // this will be needed for ROME v0.8
-import com.sun.syndication.feed.synd.SyndPerson;
+//import com.sun.syndication.feed.synd.SyndPerson;
+
 import java.util.Map;
 import org.roller.RollerException;
 import org.roller.model.PagePluginManager;
@@ -97,13 +98,13 @@
      */
     private void initFromRomeEntry(SyndFeed romeFeed, SyndEntry romeEntry)
     {
-        //setAuthor(romeEntry.getAuthor());
+        setAuthor(romeEntry.getAuthor());
         // this will be needed (instead of the previous line) for ROME v0.8
-        List authors = romeEntry.getAuthors();
-        if (authors!=null && authors.size() > 0) {
-            SyndPerson person = (SyndPerson)authors.get(0);
-            setAuthor(person.getName());
-        }
+        //List authors = romeEntry.getAuthors();
+        //if (authors!=null && authors.size() > 0) {
+            //SyndPerson person = (SyndPerson)authors.get(0);
+            //setAuthor(person.getName());
+        //}
         setTitle(romeEntry.getTitle());
         setPermalink(romeEntry.getLink());
         



Mime
View raw message