Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Aug 2009 at 19:57 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alex_b commentedRight. Subscribing.
Comment #2
mustafau commentedComment #4
mustafau commentedAPI clean-up
Comment #5
alex_b commentedDoes #2 need to be applied together with #402280-6: Parser should not update aggregator_feed record ?
Comment #6
mustafau commentedNo. Tests were ok when I submitted this patch.
Comment #7
mustafau commentedComment #8
mustafau commentedComment #9
dries commentedSmall indentation issue -- two spaces too many.
Comment #10
alex_b commentedPatch looks good.
I fixed the indentation issue.
RTBC
Comment #11
alex_b commentedTaking another look, I see this patch is creating a soft expectation that the fetcher uses HTTP (http_response) - we should avoid assumptions about the fetching method aggregator.module .
A simple TRUE or FALSE as return value of the fetching stage would be sufficient feedback for making aggregator invoke the parsing stage or not.
Will take a stab at this.
Comment #12
alex_b commented- Adds a TRUE/FALSE return value to fetching stage (consistent with parsing stage)
- Renders check for http_response obsolete, thus removes the HTTP assumption in aggregator.module that #10 would have introduced.
Further:
- Removes duplicate computation of md5 hash
- Removes some minimal white space from api.php.
Comment #15
dries commentedCommitted to CVS HEAD. Thanks!