You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/11/07 05:26:13 UTC
svn commit: r331196 - in /incubator/roller/trunk: build.xml
src/org/roller/pojos/PlanetEntryData.java
Author: snoopdave
Date: Sun Nov 6 20:26:11 2005
New Revision: 331196
URL: http://svn.apache.org/viewcvs?rev=331196&view=rev
Log:
Atom Pub. Protocol Draft 06 implementation
Modified:
incubator/roller/trunk/build.xml
incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java
Modified: incubator/roller/trunk/build.xml
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/build.xml?rev=331196&r1=331195&r2=331196&view=diff
==============================================================================
--- incubator/roller/trunk/build.xml (original)
+++ incubator/roller/trunk/build.xml Sun Nov 6 20:26:11 2005
@@ -326,7 +326,7 @@
<mkdir dir="${build.compile_web}"/>
<antcall target="prepare.resin" />
<javac debug="${build.debug}" destdir="${build.compile_web}"
- includes="org/roller/presentation/**" >
+ includes="org/roller/presentation/**, org/roller/util/rome/**" >
<src path="./src" />
<src path="${build.generated}/src.presentation"/>
&custom-src-web;
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=331196&r1=331195&r2=331196&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java (original)
+++ incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java Sun Nov 6 20:26:11 2005
@@ -20,9 +20,9 @@
import java.util.Date;
import java.util.Iterator;
import java.util.List;
+import org.roller.util.rome.ContentModule;
import org.roller.util.Utilities;
-import org.roller.util.rome.ContentModule;
import com.sun.syndication.feed.module.DCModule;
import com.sun.syndication.feed.synd.SyndCategory;
@@ -30,6 +30,9 @@
import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed;
+// this will be needed for ROME v0.8
+//import com.sun.syndication.feed.synd.SyndPerson;
+
/**
* A syndication feed entry intended for use in an in-memory or database cache to
* speed the creation of aggregations in Planet Roller implementations.
@@ -76,6 +79,12 @@
private void initFromRomeEntry(SyndFeed romeFeed, SyndEntry romeEntry)
{
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());
+ //}
setTitle(romeEntry.getTitle());
setPermalink(romeEntry.getLink());