Ticket #2461 (assigned defect)

Opened 8 years ago

Last modified 8 years ago

URLs for ics export

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.6
Component: CPSSharedCalendar Version: 3.5.2
Severity: normal Keywords:
Cc:

Description

On each day of the calendar, there is a link to the iCalendar export. The URI is relative to that day, even though that export is most likely to be about the whole calendar.

Since days are about infinite, this is a performance nightmare for public sites if a robot like googlebot finds a calendar.

Change History

comment:1 Changed 8 years ago by gracinet

  • Status changed from new to assigned

Not so obvious to solve : this action is defined by a menuItem. Sadly, those menus "actions" are just plain strings, at least in our Zope version. Only a patch of CMFonFive could allow us to introduce back more expressions : these items are read from Five's menu.py by CMFonFive's fiveactionstool and converted to an ordinary CMF Action with an action expression obtained by prepending string: to the menu action. We could change that to detect first a prefix convention: python: of course, but also maybe tales:

Note: See TracTickets for help on using tickets.