You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/08/11 22:48:09 UTC
cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate FeedLocator.java FeedReference.java ProbeLocator.java
burton 2004/08/11 13:48:09
Modified: feedparser/src/java/org/apache/commons/feedparser/locate
FeedLocator.java FeedReference.java
ProbeLocator.java
Log:
...
Revision Changes Path
1.12 +5 -1 jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/FeedLocator.java
Index: FeedLocator.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/FeedLocator.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- FeedLocator.java 6 Aug 2004 01:22:12 -0000 1.11
+++ FeedLocator.java 11 Aug 2004 20:48:09 -0000 1.12
@@ -82,9 +82,13 @@
//String resource = "http://brendonwilson.com/";
//String resource = "file:///projects/feedparser/tests/locate4.html";
- String resource = "file:///projects/feedparser/tests/locate5.html";
+ //String resource = "file:///projects/feedparser/tests/locate5.html";
//String resource = "http://blogs.sun.com/roller/page/gonzo";
+
+ //String resource = "http://gonze.com/weblog/";
+
+ String resource = "http://carolinascl.blogspot.com/";
//String resource = "http://www.corante.com/strange/";
//String resource = "http://peerfear.org";
1.8 +6 -1 jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/FeedReference.java
Index: FeedReference.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/FeedReference.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- FeedReference.java 4 Aug 2004 22:17:01 -0000 1.7
+++ FeedReference.java 11 Aug 2004 20:48:09 -0000 1.8
@@ -29,7 +29,9 @@
public static final String RSS_MEDIA_TYPE = "application/rss+xml";
public static final String XML_MEDIA_TYPE = "text/xml";
- public static int METHOD_AUTODISCOVERY;
+ public static int METHOD_AUTO_DISCOVERY = 1;
+ public static int METHOD_PROBE_DISCOVERY = 2;
+ public static int METHOD_LINK_DISCOVERY = 4;
/**
* The network addressable resource forfor this feed.
@@ -47,6 +49,9 @@
*/
public String title = null;
+ /**
+ * The method of discovery...
+ */
public int method = 0;
public FeedReference( String resource, String type ) {
1.7 +7 -7 jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/ProbeLocator.java
Index: ProbeLocator.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/ProbeLocator.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ProbeLocator.java 6 Aug 2004 01:22:12 -0000 1.6
+++ ProbeLocator.java 11 Aug 2004 20:48:09 -0000 1.7
@@ -48,14 +48,14 @@
probeMapping.put( "blogspot.com", "/atom.xml" );
probeMapping.put( "livejournal.com", "/data/atom" );
- // http://blogs.sun.com/gonzo
- //
- // maps to
- //
- // http://blogs.sun.com/roller/rss/gonzo
- //
- // but we can't support it JUST yet.
+ // FIXME:
+
+ // http://www.xanga.com/rss.aspx?user=username
+ // http://www.xanga.com/home.aspx?user=speedysonic
+
+ // which turns out to be RSS 0.91
+
//probeMapping.put( "livejournal.com", "/data/atom" );
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org