My calendar views are creating RSS links that include both of the arguments that I am providing to their calendar pages.
For example, here are a couple of calendar pages on my site:
- http://www.nysenate.gov/senator/joseph-p-addabbo-jr/events
- http://www.nysenate.gov/senator/joseph-p-addabbo-jr/events/rss/2010-04
- http://www.nysenate.gov/senator/joseph-p-addabbo-jr/events/rss/2010-W18
In both URLs, "joseph-p-addabbo-jr" is the first argument, which specifies the name of the senator whose calendar is being viewed. The first URL above points to the default (current month) view of Addabbo's calendar, so it is functionally equivalent to http://www.nysenate.gov/senator/joseph-p-addabbo-jr/events/2010-04. Thus, "2010-04" and "2010-W18" are the "date" arguments for the two calendar pages above.
The RSS links my view generates for the two above calendar pages are therefore:
In practice, however, both of these RSS feeds are functionally equivalent. When someone subscribes to an RSS feed on our site, it gives them the next 10 upcoming events for that calendar, which is as it should be. (There's not much point in someone subscribing to an RSS feed for a fixed date range. Most people expect RSS feeds to give them regularly-updated information, not fixed information.)
I would therefore prefer it if both of the two calendars above would suppress the date argument so the RSS link would be simply http://www.nysenate.gov/senator/joseph-p-addabbo-jr/events/rss on both pages. I can't find a way to configure calendar views to do this.
Comments
Comment #1
SyneX CreditAttribution: SyneX commentedThis bug still exists in 7.x. When I remove all arguments in the iCal view then the argument is appended to the end of url. The iCal looks like ".../calendar.ics/2012-12" (I set the path to "calendar.ics")
Maybe in 7.x it's a problem of the module "date_ical".
Comment #2
SyneX CreditAttribution: SyneX commentedMh, I found the reason why the arguments are appended.
In 7.x the module "date_ical" calls the function "attach_to" which calls the function "get_url" of views. This function replaces the "%" with the arguments and if arguments are remaining then they will be added to the url.
This is a views "bug" - maybe also in 6.x. Either we implement an own function for creating the url, creating an option (maybe also a new function) or file this as a bug in the module "views".
Comment #3
apadernoComment #4
Neslee Canil PintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Close this as Outdated.