commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject svn commit: r149214 - in jakarta/commons/sandbox/feedparser/trunk: ./ src/java/org/apache/commons/feedparser/ src/java/org/apache/commons/feedparser/locate/ src/java/org/apache/commons/feedparser/network/
Date Mon, 31 Jan 2005 04:20:06 GMT
Author: burton
Date: Sun Jan 30 20:20:05 2005
New Revision: 149214

URL: http://svn.apache.org/viewcvs?view=rev&rev=149214
Log:
...

Modified:
    jakarta/commons/sandbox/feedparser/trunk/project.xml
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/DOCUMENTATION
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/URLResourceRequest.java

Modified: jakarta/commons/sandbox/feedparser/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/project.xml?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/project.xml (original)
+++ jakarta/commons/sandbox/feedparser/trunk/project.xml Sun Jan 30 20:20:05 2005
@@ -57,6 +57,16 @@
         </developer>
 
     </developers>
+
+    <contributors>
+
+        <contributor>
+
+            <name>Nick Lothian</name>
+
+        </contributor>
+
+    </contributors>
     
     <dependencies>
         

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
Sun Jan 30 20:20:05 2005
@@ -33,6 +33,8 @@
 import org.jaxen.jdom.*;
 
 /**
+ * http://www.intertwingly.net/wiki/pie/FrontPage
+ *  
  * http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-05.txt
  * 
  * http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-04.txt

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
Sun Jan 30 20:20:05 2005
@@ -159,7 +159,7 @@
             }
 
             //Handle ATOM
-            if ("feed".equals(root)) {
+            if ( "feed".equals( root ) ) {
                 AtomFeedParser.parse(listener, doc);
                 return;
             }

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/locate/DiscoveryLocator.java
Sun Jan 30 20:20:05 2005
@@ -24,7 +24,7 @@
 
 /**
  *
- * http://xml.coverpages.org/draft-ietf-atompub-autodiscovery-00.txt
+ * http://www.ietf.org/internet-drafts/draft-ietf-atompub-autodiscovery-00.txt
  * 
  * @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
  */

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/DOCUMENTATION
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/DOCUMENTATION?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/DOCUMENTATION
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/DOCUMENTATION
Sun Jan 30 20:20:05 2005
@@ -1,12 +1,6 @@
 
 ** FIXME **
 
-    - What are we going to call this package?
-
-        - Jakarta Netto ?
-
-        - httplib?
-
     - What about the transparent HTCache work?
 
     - Look at all the imports and make SURE its isolated

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/URLResourceRequest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/URLResourceRequest.java?view=diff&r1=149213&r2=149214
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/URLResourceRequest.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/network/URLResourceRequest.java
Sun Jan 30 20:20:05 2005
@@ -128,14 +128,7 @@
 
         //set the user agent if it hasn't ALREADY been set by the caller.
         if ( getRequestHeaderField( USER_AGENT_HEADER ) == null ) {
-
-            if ( resource.startsWith( "http://diveintomark.org" ) ) {
-                //We can play that game too Mark.  Nice try...
-                _urlConnection.setRequestProperty( USER_AGENT_HEADER, USER_AGENT_MOZILLA
);
-            } else {
-                _urlConnection.setRequestProperty( USER_AGENT_HEADER, USER_AGENT );
-            }
-
+            _urlConnection.setRequestProperty( USER_AGENT_HEADER, USER_AGENT );
         } 
 
         _urlConnection.setRequestProperty( ACCEPT_ENCODING_HEADER, GZIP_ENCODING );



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message