WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 6 months ago

#1405 closed enhancement (fixed)

Restrict Tagregator to specific date range

Reported by: iandunn Owned by: coreymckrill
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: good-first-bug has-patch commit
Cc:

Description

Usually WordCamps only want Tagregator to run leading up to the event, and for a few days or weeks after it. Otherwise, you end up with a bunch of unrelated hashtags cluttering the page (example).

We should add an option to let organizers specify a date range, and it should only pull in new posts during that range.

Attachments (2)

1405-tggr.diff (1.8 KB) - added by coreymckrill 19 months ago.
Patch for Tagregator plugin
1405-wcorg.diff (1.2 KB) - added by coreymckrill 19 months ago.
Patch for WordCamp.org

Download all attachments as: .zip

Change History (12)

#1 @iandunn
3 years ago

  • Owner set to iandunn
  • Status changed from new to accepted

This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.


2 years ago

#3 @iandunn
22 months ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

#4 @coreymckrill
19 months ago

  • Keywords has-patch reporter-feedback added; needs-patch removed
  • Owner set to iandunn
  • Status changed from assigned to reviewing

1405-tggr.diff adds optional filters in the Tagregator plugin that can be used to set a start date and an end date for importing new items.

This could be expanded later with option fields in the Tagregator settings UI.

1405-wcorg.diff adds a WordCamp.org-specific mu-plugin function that sets an end date for a particular WordCamp site to two weeks after the camp has occurred.

@coreymckrill
19 months ago

Patch for Tagregator plugin

@coreymckrill
19 months ago

Patch for WordCamp.org

#5 @coreymckrill
19 months ago

Updated the patches to remove the unnecessary $blog_id filter parameter.

#6 @iandunn
18 months ago

  • Keywords reporter-feedback removed
  • Owner changed from iandunn to coreymckrill

LGTM.

Committed 1405-tggr.diff in [plugins1836693].

1405-wcorg.diff still needs to be tested and committed. Feel free to do that whenever you have time.

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.


10 months ago

#8 @iandunn
10 months ago

  • Keywords commit added

This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.


6 months ago

#10 @coreymckrill
6 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 8307:

WordCamp: Stop importing Tagregator items 2 weeks after a camp has occurred

Fixes #1405
Props coreymckrill

Note: See TracTickets for help on using tickets.