Ticket #413 (closed clarification: fixed)

Opened 1 year ago

Last modified 5 months ago

what are the defaults for /article/feed

Reported by: russ Assigned to: jsuttor
Priority: medium Milestone:
Component: ambra Version: 0.7
Keywords: rss feeds atom defaults Cc:
Blocking: Blocked By:

Description (Last modified by ebrown)

since article/feed doesn't return all articles ever published on plosone-dev, i'm guessing there's a default value for one of the URL arguments, either startDate or maxResults.

however, wiki:PLoSRESTDevGuide? says there's no default for either of these.

there are some other ways that wiki:PLoSRESTDevGuide? is out of sync with the current tool.

Dependency Graph

Change History

06/20/07 14:04:39 changed by amit

  • owner changed from somebody to jsuttor.
  • version set to 0.7.
  • milestone changed from TBD to 0.7.

06/20/07 14:07:08 changed by russ

ahh, i see in #399 that there's a question about default start date.

3 month start date is a little long (that would result in about 240 entries at current pub rate, which is a little much).

i'd vote for a 2-4 week default.

06/20/07 14:09:30 changed by russ

also, if the feed defaults are coming to plosone.xml common config, i'd be psyched to see a maxResults default as well as a startDate, since that might be a better way to constrain by default.

thanks!

06/20/07 14:13:57 changed by amit

Can this wait till 0.8?

06/20/07 14:14:11 changed by amit

  • owner changed from jsuttor to russ.

06/20/07 14:31:51 changed by jsuttor

  • keywords set to rss feeds atom defaults.
  • owner changed from russ to jsuttor.
  • status changed from new to assigned.
  • component changed from topaz to plos-one.
  • priority changed from unassigned to medium.

current defaults are:

  • startDate = today - 3 months
  • endDate = null
  • category = null
  • author = null
  • maxResults = 30

note that it is easy to override any of them as a URI param. :)

06/20/07 15:13:24 changed by amit

  • milestone changed from 0.7 to 0.8.

In which case having these as options in the configuration is a 0.8 issue. Please override using URI param for now.

07/14/07 11:54:09 changed by amit

  • owner changed from jsuttor to russ.
  • status changed from assigned to new.

I am beginning to think this is not needed in the configuration since it can be controlled via the URI. Putting it in configuration will make the file much more complex and we do have a workaround anyway. Thoughts?

07/19/07 10:59:37 changed by russ

  • owner changed from russ to jsuttor.

i have no problem with hardcoded defaults as long as all can be overridden by URI.

07/28/07 02:27:22 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

I looked at wiki:PLoSRESTDevGuide? and it seems more like a development guide then a spec on how to use /article/feed. So I've created ArticleFeed. The defaults are also specified above. Everything can be overridden via the URI.

07/16/08 11:00:34 changed by

  • milestone deleted.

Milestone 0.8 deleted