From: <bra...@us...> - 2007-07-16 23:51:20
|
Revision: 1802 http://archive-access.svn.sourceforge.net/archive-access/?rev=1802&view=rev Author: bradtofel Date: 2007-07-16 16:51:03 -0700 (Mon, 16 Jul 2007) Log Message: ----------- TWEAK: added constants for describing UrlSearchResults and CaptureSearchResults. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-07-16 23:49:43 UTC (rev 1801) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-07-16 23:51:03 UTC (rev 1802) @@ -193,8 +193,24 @@ */ public static final String REQUEST_YES = "yes"; + /** + * Results: type of results: "Capture" or "Url" + */ + public static final String RESULTS_TYPE = "resultstype"; + + /** + * Results: indicates SearchResult objects within the SearchResults are of + * type UrlSearchResults. + */ + public static final String RESULTS_TYPE_URL = "resultstypeurl"; /** + * Results: indicates SearchResult objects within the SearchResults are of + * type CaptureSearchResults. + */ + public static final String RESULTS_TYPE_CAPTURE = "resultstypecapture"; + + /** * Results: int total number of records matching, not all necc. returned. */ public static final String RESULTS_NUM_RESULTS = "numresults"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2007-08-18 00:48:55
|
Revision: 1902 http://archive-access.svn.sourceforge.net/archive-access/?rev=1902&view=rev Author: bradtofel Date: 2007-08-17 17:48:57 -0700 (Fri, 17 Aug 2007) Log Message: ----------- FEATURE: added REQUEST_XML_DATA flag Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-08-18 00:48:14 UTC (rev 1901) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-08-18 00:48:57 UTC (rev 1902) @@ -91,6 +91,11 @@ public static final String REQUEST_TYPE = "type"; /** + * Request: xml data requested + */ + public static final String REQUEST_XML_DATA = "xmldata"; + + /** * Request: urlquery type request */ public static final String REQUEST_URL_QUERY = "urlquery"; @@ -313,5 +318,10 @@ * on each page */ public static final String RESULTS_PER_PAGE_CONFIG_NAME = "resultsperpage"; - + + /** + * HTTP Header for redirection URL + */ + public final static String LOCATION_HTTP_HEADER = "Location"; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2007-11-06 03:44:26
|
Revision: 2072 http://archive-access.svn.sourceforge.net/archive-access/?rev=2072&view=rev Author: bradtofel Date: 2007-11-05 19:44:31 -0800 (Mon, 05 Nov 2007) Log Message: ----------- Added TWO_MONTH resolution and closest indicator constants Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-11-05 23:40:49 UTC (rev 2071) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-11-06 03:44:31 UTC (rev 2072) @@ -140,6 +140,11 @@ * Request: month resolution (TimeLine mode) */ public static final String REQUEST_RESOLUTION_MONTHS = "months"; + + /** + * Request: two-month resolution (TimeLine mode) + */ + public static final String REQUEST_RESOLUTION_TWO_MONTHS = "twomonths"; /** * Request: year resolution (TimeLine mode) @@ -306,6 +311,13 @@ * not redirect */ public static final String RESULT_REDIRECT_URL = "redirecturl"; + + /** + * Result: flag within a SearchResult that indicates this is the closest to + * a particular requested date. + */ + public static final String RESULT_CLOSEST_INDICATOR = "closest"; + public static final String RESULT_CLOSEST_VALUE = "true"; /** * Name of configuration in web.xml for maximum number of results to return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2007-12-12 03:34:08
|
Revision: 2114 http://archive-access.svn.sourceforge.net/archive-access/?rev=2114&view=rev Author: bradtofel Date: 2007-12-11 19:34:13 -0800 (Tue, 11 Dec 2007) Log Message: ----------- FEATURE: added constants for flagging duplicate records extracted from a ResourceIndex, where one or more of a series of records may not have been saved. These flags indicate to the UI that data for a SearchResult has been annotated from another duplicate version of the same document. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-12-12 03:08:58 UTC (rev 2113) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-12-12 03:34:13 UTC (rev 2114) @@ -318,7 +318,29 @@ */ public static final String RESULT_CLOSEST_INDICATOR = "closest"; public static final String RESULT_CLOSEST_VALUE = "true"; + + /** + * Result: this key being present indicates that this particular capture + * was not actually stored, and that other values within this SearchResult + * are actually values from a different record which *should* be identical + * to this capture, had it been stored. + */ + public static final String RESULT_DUPLICATE_ANNOTATION = "duplicate"; + + /** + * flag indicates that this document was downloaded and verified as + * identical to a previous capture by digest. + */ + public static final String RESULT_DUPLICATE_DIGEST = "digest"; + + /** + * flag indicates that this document was NOT downloaded, but that the + * origin server indicated that the document had not changed, based on + * If-Modified HTTP request headers. + */ + public static final String RESULT_DUPLICATE_HTTP = "http"; + /** * Name of configuration in web.xml for maximum number of results to return * in index searches. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2008-01-15 01:38:38
|
Revision: 2125 http://archive-access.svn.sourceforge.net/archive-access/?rev=2125&view=rev Author: bradtofel Date: 2008-01-14 17:38:36 -0800 (Mon, 14 Jan 2008) Log Message: ----------- FEATURE: added new constant for SearchResult value annotation indicating the timestamp that was actually stored for captures that were not actually stored due to deduplication. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2008-01-15 01:36:58 UTC (rev 2124) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2008-01-15 01:38:36 UTC (rev 2125) @@ -328,6 +328,13 @@ public static final String RESULT_DUPLICATE_ANNOTATION = "duplicate"; /** + * Result: this key is present when the RESULT_DUPLICATE_ANNOTATION is also + * present, with the value indicating the last date that was actually + * stored for this duplicate. + */ + public static final String RESULT_DUPLICATE_STORED_DATE = "duplicate-date"; + + /** * flag indicates that this document was downloaded and verified as * identical to a previous capture by digest. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |