Closed (fixed)
Project:
Drupal core
Version:
4.6.3
Component:
aggregator.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 May 2005 at 02:38 UTC
Updated:
20 Sep 2005 at 07:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
Prometheus6 commentedDoesn't seem to be much interest...
Comment #2
Uwe Hermann commentedThis would be nice IMHO. Your patch seems broken, can you please re-submit a working one?
Comment #3
Prometheus6 commentedI've taken a different approach. I wrote a module for my site pretty specific to my needs.
http://www.niggerati.net/sitelist
Since I know you're working on Planet Drupal, I'd be willing to ship you a not-for-distribution copy to check out. Hit me via the contact page if you're interested.
Comment #4
Uwe Hermann commentedThat wouldn't help much. The Planet will run on drupal.org, so we need patches for aggregator.module. Can you merge your changes into aggregator module?
Comment #5
Prometheus6 commentedAll of them, no. But I did fix a problem with the initial patch. All the callbacks will be created properly.
Comment #6
Prometheus6 commentedComment #7
Uwe Hermann commentedThere's a
***** CVS exited normally with code 1 *****at the bottom of your patch. I guess it won't apply.Comment #8
Prometheus6 commentedReally? Why?
Comment #9
Uwe Hermann commentedOK, my bad. The patch does apply, but that line is some error message (a quick Google lookup tells me that "code 0" is ok, "code 1" means error). It seems the line is added by WinCVS, do you use that? Are you sure the patch contains all lines it should contain? The error might mean that some lines are missing from the patch (?) Not sure...
Comment #10
Prometheus6 commentedGuilty. But the patches it produces seem fine. It may be a return code from the macros that run the CVS commands. I've never needed to know what that code meant.
Comment #11
dries commentedThat code is insecure (SQL injection) and does not work with table prefixing.
Plus, the callback can be removed. Additional parameters are automatically passed to
aggregator_page_opml.Comment #12
Prometheus6 commentedSorry, I just uploaded what was there...like I said, I'm using a seperate module for this.
Anyway, here's a correct one.
Comment #13
dries commentedStill insecure. Use the %d-directive in db_query().
Also, cat_title does not seem to be used. If cat_title isn't used, why is the category table joined?
Finally, "} else {" should be on two lines.
Comment #14
Prometheus6 commentedAn implicit check that the variable is numeric. Okay.
Truth, I didn't think I'd be finishing this. I had a reason for that, I just don't remember what it was. YOu're right, it's not necessary so it's gone.
Comment #15
dries commentedCommitted to HEAD.
Comment #16
(not verified) commentedComment #17
(not verified) commentedComment #18
Prometheus6 commented