/[drupal]/contributions/modules/aggregator2/aggregator2.module
ViewVC logotype

Log of /contributions/modules/aggregator2/aggregator2.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.31.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 11:48:18 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: DRUPAL-4-6
Changes since 1.31.2.3: +16 -9 lines
Diff to previous 1.31.2.3 , to branch point 1.31 , to next main 1.43
Aggregator2:
- make javascript redirection optional (but default).

Revision 1.31.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 11:16:44 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: DRUPAL-4-6
Changes since 1.31.2.2: +272 -44 lines
Diff to previous 1.31.2.2 , to branch point 1.31
Aggregator2:
- backporting changes from 4.7
- additional changes and workarounds

Update database with following SQL queries:
ALTER TABLE `aggregator2_feed` ADD `enable_block` int(4) NOT NULL
default '0';
ALTER TABLE `aggregator2_item` ADD `source_xml` varchar(255) NOT NULL
default '';

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 10:52:04 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
CVS Tags: HEAD
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Aggregator2:
- don't set feed->image to empty string if it's already set to some
value.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 10:46:58 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
Aggregator2:
- fix drupal_set_message call so it won't create millions of locale
entires.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 10:39:53 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40
Aggregator2:
- fix: If number of promoted items is set to "none" don't change any
promotion of any items.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 19 17:49:03 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.39: +4 -1 lines
Diff to previous 1.39
Aggregator2:
- set image fild to empty string if no image info was found in feed
data.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 19 17:44:37 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.38: +20 -8 lines
Diff to previous 1.38
Aggregator2:
- theme control over "original article" and "visit site" links

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 19 17:10:36 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
Aggregator2:
- change "full article" to "original article"

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 19 17:06:13 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.36: +15 -4 lines
Diff to previous 1.36
Aggregator2:
- Handle errno set by cURL

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 18 18:23:42 2006 UTC (3 years, 4 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.35: +123 -10 lines
Diff to previous 1.35
Aggregator2:
- new feature - blacklisting URLs
- improved handling of "original source"

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 26 01:29:04 2006 UTC (3 years, 7 months ago) by robroy
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
Fixing bug http://drupal.org/node/60397 where feed name drop down list was reversed.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 3 22:46:54 2006 UTC (3 years, 7 months ago) by budda
Branch: MAIN
Changes since 1.33: +15 -15 lines
Diff to previous 1.33
Fixed blocks not appearing. http://drupal.org/node/53534
variable_get() was getting a variable name that was never set in the hook_settings()

Revision 1.31.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 3 10:02:15 2006 UTC (3 years, 9 months ago) by ahwayakchih
Branch: DRUPAL-4-6
Changes since 1.31.2.1: +151 -34 lines
Diff to previous 1.31.2.1 , to branch point 1.31
Updating 4.6 version

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 3 00:10:25 2006 UTC (3 years, 9 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
aggregator2:
  - fix empty date error reported on drupal.org

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 2 23:47:07 2006 UTC (3 years, 9 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.31: +759 -441 lines
Diff to previous 1.31
aggregator2:
  - Bring it up to 4.7 API.
  - Change nodes type to use underscore instead of minus sign.
  - other changes? :)

WARNING: After updating to 4.7 run following SQL to update Your data

UPDATE node SET type = 'aggregator2_feed' WHERE type = 'aggregator2-feed';
UPDATE node SET type = 'aggregator2_item' WHERE type = 'aggregator2-item';

Revision 1.31.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 15 10:43:31 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: DRUPAL-4-6
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
aggregator2:
  - removed valid_input_data call as it was silently removed from 4.6.5

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 13 22:43:40 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Branch point for: DRUPAL-4-6
Changes since 1.30: +79 -47 lines
Diff to previous 1.30
More optimizations and changes. Last before tagging for 4.6.x and moving
to 4.7 API.
New feature - allow admin to setup sleep period of time between changing
each item node. That may help on often visited servers, but also may
start timouts, etc.. So be sure to first test it, and setup it properly!

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 00:37:43 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.29: +10 -5 lines
Diff to previous 1.29
aggregator2:
  - fixed compatibility with old drupal_http_request.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 00:30:26 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.28: +126 -17 lines
Diff to previous 1.28
aggregator2:
  - Fix help texts so they show proper links in case of missing
    'clean urls' feture.
  - First part of moving to cURL instead of drupal_http_request (which
    uses fsockopen).

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 9 17:59:22 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.27: +38 -30 lines
Diff to previous 1.27
aggregator2:
  - item promotion is back in  parse_items function, and now should take
    less time.
aggregator2_autotaxonomy:
  - fixes and speedup.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 5 23:06:13 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.26: +4 -7 lines
Diff to previous 1.26
Fixed deleting items at cron run. Minor code cleanup inside function
deleting items.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 4 23:12:52 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.25: +6 -11 lines
Diff to previous 1.25
Fix bug i made and cleanup promoting function a bit (i still don't like
it though ;(.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 4 17:29:39 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.24: +46 -23 lines
Diff to previous 1.24
Reordered tasks in aggregator2 so deletes go last (after all inserts).
That may speedup whole thing, if OPTIMIZE TABLE is run after each cron.
Fixed bug in aggregator2_autotaxonomy.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 27 11:45:27 2005 UTC (3 years, 11 months ago) by ahwayakchih
Branch: MAIN
Changes since 1.23: +11 -5 lines
Diff to previous 1.23
Add option to auto-create GUIDs for items, so in case where links are
not unique and there are no GUIDS, items will not be overwritten and
seen as one item with many updates.
Database update:
ALTER TABLE `aggregator2_feed` ADD `guid_items` INT( 4 ) DEFAULT '0' NOT
NULL AFTER `update_items`;
ALTER TABLE `aggregator2_item` ADD INDEX ( `guid` );

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 14 12:39:05 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Allow to setup description and input format when ading new node. Thanks
to John Bransford for spotting this :).

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 1 23:37:41 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
Wrap CDATA also around media:text tag, to prevent it's content from
parsing (it may contain unescaped html like other such tags :(

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 30 08:58:30 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20
When creating item unset "parent_node" field from feed to avoid messing
up relativity module's data.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 21:00:52 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.19: +26 -8 lines
Diff to previous 1.19
Summary/Description go to body field, unless there is
content/content:encoded which is longer (has more text) in which case
they go to teaser and content goes to body.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 18:18:18 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.18: +26 -11 lines
Diff to previous 1.18
Added "author" field to aggregator2-feed nodes.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 17:49:15 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.17: +7 -3 lines
Diff to previous 1.17
Added "view items" link to links section of feed node.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 21:20:24 2005 UTC (4 years ago) by ahwayakchih
Branch: MAIN
Changes since 1.16: +15 -3 lines
Diff to previous 1.16
PHP5 compatibility fixes.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 24 17:46:03 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.15: +73 -45 lines
Diff to previous 1.15
Style cleanup.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 20 10:14:17 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.14: +25 -6 lines
Diff to previous 1.14
Try to use GUID/ID for identifing items. Only if it's not possible (no
unique identifier found in aggregated data) use item's link.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 18 11:08:47 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.13: +29 -24 lines
Diff to previous 1.13
- Now "apply changes to existing items" option is for adminitrators
only, and it's default value can be set in admin/content/configure. Also
now it includes updating filter format of items.
- Fixed stupid bug in syntax.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 17 13:07:42 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.12: +5 -0 lines
Diff to previous 1.12
Now also aggregator2-feed nodes will add source tag to generated RSS.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 17 12:39:40 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
One more query changed :).

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 17 12:15:53 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.10: +4 -8 lines
Diff to previous 1.10
Removed node type checking in queries where it shouldn't be needed.
Maybe it will speedup queries a bit (after all each such check is
comparing strings, unless it's somehow optimized internally by
database).

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 16:53:44 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.9: +6 -3 lines
Diff to previous 1.9
Use drupal_access_denied() instead of own messages.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 16:19:13 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8
ATOM's title for feed image is now shortened to max 250 bytes if it's
longer than 250 bytes :).

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 16:10:50 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.7: +6 -23 lines
Diff to previous 1.7
Now new url from "moved permanently" (HTTP 301 code) response
is saved in database (feed's url is updated).

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 13:43:51 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.6: +9 -5 lines
Diff to previous 1.6
Code style fixed to conform to Drupal's coding standards.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 10:13:22 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.5: +63 -8 lines
Diff to previous 1.5
- Fixed bug in parsing ATOM item's link
- Added "sources" page and "latest sources" block
- Now "source" link for item points to aggregator2/sources/{fid}

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 15 14:05:01 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.4: +201 -175 lines
Diff to previous 1.4
- fix bugs.
- more work on permissions. added new permission "refresh own feed items"
- separated CHANGES into CHANGES.txt file
- separated TODO into TODO.txt file (it's very outdated anyway)

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 19:10:12 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3
Fix loading item from database.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 18:55:15 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.2: +73 -21 lines
Diff to previous 1.2
autotaxonomy:
  - fixes and added support for ATOM and DublinCore category tags.
aggregator2:
  - extended list of lifetimes for items.
  - update body of feed only if it is empty.
    This allows user to setup own description of feed.
  - added rss_item_data property to aggregator2-item node, which is a
    pointer to item's aggregated data. It's temporary just like rss_data,
    so it's not saved to database.
  - Added simple caching for blocks. Unfortunetly it removes support for
    node access rules. Should it be made only for anonymous users?
  - Changed SQL commands used for promoting items. Now it should be
    work also on PostgreSQL and older MySQL.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 30 08:29:42 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Changes since 1.1: +96 -6 lines
Diff to previous 1.1
More fixes to get better compatibility with various feeds. Decode named entities to UTF-8 characters, strip tags from title, trim whole data before parsing (in case there is some white space before xml declaration).

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 29 20:32:39 2005 UTC (4 years, 1 month ago) by ahwayakchih
Branch: MAIN
Initial commit to CVS :)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2