manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1631953 - in /manifoldcf/trunk: CHANGES.txt connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
Date Wed, 15 Oct 2014 06:40:43 GMT
Author: kwright
Date: Wed Oct 15 06:40:43 2014
New Revision: 1631953

URL: http://svn.apache.org/r1631953
Log:
Fix for CONNECTORS-1071.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1631953&r1=1631952&r2=1631953&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Wed Oct 15 06:40:43 2014
@@ -3,6 +3,11 @@ $Id$
 
 ======================= 2.0-dev =====================
 
+CONNECTORS-1071: JCIFS connector should provide date metadata in
+standard ISO8601 format with names that don't conflict with what
+Tika extractor generates.
+(Antonio David Pérez Morales, Karl Wright)
+
 CONNECTORS-1061: More fixes for the Alfresco webscript connector
 UI, and create a UI test.
 (Karl Wright)

Modified: manifoldcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java?rev=1631953&r1=1631952&r2=1631953&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
(original)
+++ manifoldcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
Wed Oct 15 06:40:43 2014
@@ -66,6 +66,7 @@ import org.apache.manifoldcf.core.interf
 import org.apache.manifoldcf.crawler.system.Logging;
 import org.apache.manifoldcf.crawler.system.ManifoldCF;
 import org.apache.manifoldcf.core.extmimemap.ExtensionMimeMap;
+import org.apache.manifoldcf.core.common.DateParser;
 
 /** This is the "repository connector" for a smb/cifs shared drive file system.  It's a relative
of the share crawler, and should have
 * comparable basic functionality.
@@ -822,10 +823,12 @@ public class SharedDriveConnector extend
                 if (contentType != null)
                   rd.setMimeType(contentType);
                 rd.addField("lastModified", lastModifiedDate.toString());
+                rd.addField("fileLastModified",DateParser.formatISO8601Date(lastModifiedDate));
                 rd.setModifiedDate(lastModifiedDate);
                 
                 // Add extra obtainable fields to the field map
                 rd.addField("createdOn", creationDate.toString());
+                rd.addField("fileCreatedOn",DateParser.formatISO8601Date(creationDate));
                 rd.setCreatedDate(creationDate);
 
                 //rd.addField("lastAccess", lastModifiedDate.toString());



Mime
View raw message