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/07/29 01:42:18 UTC
cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate DiscoveryLocator.java FeedLocator.java
burton 2004/07/28 16:42:18
Modified: feedparser/src/java/org/apache/commons/feedparser/locate
DiscoveryLocator.java FeedLocator.java
Added: feedparser TODO_RELEASE
Log:
message update
Revision Changes Path
1.1 jakarta-commons-sandbox/feedparser/TODO_RELEASE
Index: TODO_RELEASE
===================================================================
- better documentation
- javadoc
- examples
- unit tests
- conformance
1.9 +3 -6 jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java
Index: DiscoveryLocator.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DiscoveryLocator.java 24 May 2004 22:46:50 -0000 1.8
+++ DiscoveryLocator.java 28 Jul 2004 23:42:18 -0000 1.9
@@ -53,7 +53,9 @@
*
* @author <a href="mailto:burton@peerfear.org">Kevin A. Burton</a>
*/
- public static final List locate( String resource, String content, FeedList list )
+ public static final List locate( String resource,
+ String content,
+ FeedList list )
throws Exception {
//this mechanism is easier but it isn't efficient. I should just parse
@@ -82,11 +84,6 @@
if ( type.equals( RSS_MEDIA_TYPE ) )
list.setAdRSSFeed( feedReference );
- //FIXME: we SHOULD add XML_MEDIA_TYPE discovery here but we have
- //no real idea what to do with it since it might be any document
- //type. text/xml is very generic.
-
- return list;
}
}
1.7 +1 -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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- FeedLocator.java 29 Apr 2004 09:36:25 -0000 1.6
+++ FeedLocator.java 28 Jul 2004 23:42:18 -0000 1.7
@@ -86,7 +86,7 @@
public static void main( String[] args ) throws Exception {
- String resource = "http://diveintomark.org";
+ String resource = "http://www.corante.com/strange/";
//String resource = "http://peerfear.org";
List l = locate( resource );
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org