Ticket #329 (closed enhancement: fixed)

Opened 2 years ago

Last modified 5 months ago

please add subject atom feed to browse by subject pages

Reported by: russ Assigned to: ebrown
Priority: medium Milestone:
Component: ambra Version: 0.8
Keywords: rss, atom, browse, subjects Cc:
Blocking: Blocked By:

Description (Last modified by russ)

we've made some subject area rss feeds.

when user is browsing by subject, please add a feed icon at the bottom of the page linking to feed for that subject. also, please add <rel> link to feed in header.

feeds are same as subject category names with spaces and ' removed.

Computer Science => http://www.plosone.org/rss/ComputerScience.xml
Women's Health => http://www.plosone.org/rss/WomensHealth

Dependency Graph

Change History

04/26/07 15:11:47 changed by russ

  • type changed from defect to enhancement.

04/26/07 15:12:31 changed by russ

  • description changed.

04/27/07 10:46:56 changed by russ

if there's different way to format the rss feed urls that would make life easier, we can do that. however, note that we only get category names (not id numbers) from the rss tool.

05/29/07 17:14:22 changed by amit

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

05/30/07 11:49:39 changed by jsuttor

  • keywords set to rss, atom, browse, subjects.
  • status changed from new to assigned.

good idea, particularly the <rel> link for auto-discovery. implementation details: add a getVar for the derived RSS feed at a "high level" in the browse action so it is available to browse templates. be sure to use W!ebWork URI constructor for actions to create the html links to allow for easier future changes.

06/07/07 11:04:48 changed by amit

  • version changed from 0.7 to 0.8.
  • milestone changed from 0.7 to 0.8.

Will take more time than we have for 0.7. It is a nice to have so we shift to 0.8.

06/14/07 10:23:46 changed by russ

no problem! thank you.

06/21/07 13:25:07 changed by russ

  • summary changed from please add subject rss feed to browse by subject pages to please add subject arom feed to browse by subject pages.

some other things that would be nice WRT subject atom feeds:

-feed icons on the browse by subject pages (both in lhc nav, and at the bottom of the listing)

-dynamic listing of subject area feeds on static/rssFeeds.action page (i could probably figure this one out based on index.ftl...)

07/09/07 15:30:11 changed by russ

  • summary changed from please add subject arom feed to browse by subject pages to please add subject atom feed to browse by subject pages.

08/06/07 14:28:36 changed by ebrown

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

08/08/07 15:39:09 changed by ebrown

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

(In [3365]) fixes #329 Adds subject atom feed to browse by subject pages

NOTE: I'm not making canonical category names by the mechanism indicated in ticket #329 because there is no way to go the other way. And when we start using dynamic feeds in production (after #469 perhaps), we need the real category name to be passed to the feed action. Instead, I'm URL encoding the category name so spaces and single quotes will become + and %27 respectively. If static files are served, apache will have to deal with that. I talked to Russ about this on the phone.

There are four new configuration elements under feed. The defaults are for /article/feed, but plosone.xml is setup to still use the static feeds.

plosone.xml configures static feeds as:

  • /rss/PLoSONE.xml
  • /rss/Genetics+and+Genomics (note it does NOT end with .xml)

If the new settings in plosone.xml are removed, the feeds will default to:

  • /article/feed
  • /article/feed?category=Genetics+and+Genomics

The default for feeds is to show the last 3-months of articles. However, this might not be deisreable for categories (subjects). If the category (subject) feeds want to show all articles since the beginning of time, change <pub><feed><categoryPrefix> to "feed?startDate=&category=". Doing so would change the feed URL for categories to:

  • /article/feed?startDate=&category=Genetics+and+Genomics

(This capability was added in r3363.)

08/08/07 19:47:55 changed by ebrown

(In [3370]) re #329 fix static pages broken by r3365

All pages need access to BaseActionSupport? for global_head.ftl.

Thanks Steve

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

  • milestone deleted.

Milestone 0.8 deleted