Skip to content

Commit 4dd19b3

Browse files
authored
Merge pull request #927 from ionous/single-feed
deprecating the Pedalpalooza-specific iCal feed - #870
2 parents 7d81e71 + 0db0946 commit 4dd19b3

File tree

6 files changed

+8
-20
lines changed

6 files changed

+8
-20
lines changed

docs/AllEvents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ I've been able to import single events ( and update them ) into MacOS Calendar.a
1818

1919
1. **New endpoints**
2020

21-
It's intended to be able to support `/cal/icalpp.php`, `/cal/pedalpalooza-calendar.php`, and `/api/ics.php` -- might want to reroute old paths to the new ones? but that's maybe some ngnix configuration work i'm not entirely sure about.
21+
It's intended to be able to support `/cal/icalpp.php`, `/cal/shift-calendar.php`, and `/api/ics.php` -- might want to reroute old paths to the new ones? but that's maybe some ngnix configuration work i'm not entirely sure about.
2222

2323
Alt: could have the php files in those locations include and call the new php code?
2424

netlify.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@
8888
## legacy (people have been using it for years) ical feed for pedalpalooza.
8989
[[redirects]]
9090
from = "/cal/icalpp.php"
91-
to = "https://api.shift2bikes.org/api/pedalpalooza-calendar.php"
91+
to = "https://api.shift2bikes.org/api/shift-calendar.php"
9292
status = 200
9393
force = true
9494

9595
## the official pedalpalooza feed
9696
[[redirects]]
9797
from = "/cal/pedalpalooza-calendar.php"
98-
to = "https://api.shift2bikes.org/api/pedalpalooza-calendar.php"
98+
to = "https://api.shift2bikes.org/api/shift-calendar.php"
9999
status = 200
100100
force = true
101101

netlify.toml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
[[redirects]]
8282
from = "/my/specialpath"
83-
to = "https://api.primarydomain.org/api/pedalpalooza-calendar.php"
83+
to = "https://api.primarydomain.org/api/special-back-end-path"
8484
status = 200
8585
force = true
8686

services/nginx/conf.d/shift.conf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ server {
3737
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
3838
}
3939

40-
# webcal endpoint for only pedalpalooza subscriptions:
41-
# ex. webcal://www.shift2bikes.org/cal/pedalpalooza-calendar.php
42-
location = /api/pedalpalooza-calendar.php {
43-
# set to a constant range for this year's pedalp
44-
proxy_pass http://node:3080/api/ical.php?startdate=2025-06-01&enddate=2025-08-31&filename=pedalpalooza-2025.ics;
45-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
46-
}
47-
4840
# webcal endpoint for that includes all shift events:
4941
location = /api/shift-calendar.php {
5042
proxy_pass http://node:3080/api/ical.php;

site/content/pages/calendar-faq.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,11 @@ Email the [Shift calendar crew](mailto:bikecal@shift2bikes.org) if you need help
9999

100100
## Subscribing to the calendar
101101

102-
You can use the following steps to see bike events on your phone or computer's built-in calendar app. As new rides are created, they will show up on your calendar automatically (usually within 24 hours of the ride being posted by the organizer). This is a convenient way to stay up to date, but remember these are community led events: you will see all sorts of rides intended for all different riders.
102+
You can see events using your phone or computer's built-in calendar app. As new rides are created, they will show up on your calendar automatically (usually within 24 hours of the ride being posted by the organizer). Keep in mind, events are posted to the Shift calendar by community members, not by Shift; you will see all sorts of rides.
103103

104-
There are are two calendars you can subscribe to:
104+
[webcal://www.shift2bikes.org/cal/shift-calendar.php](webcal://www.shift2bikes.org/cal/shift-calendar.php)
105105

106-
* **The Pedalpalooza calendar**: This will show only the events happening during the official Pedalpalooza summer festival. [webcal://www.shift2bikes.org/cal/pedalpalooza-calendar.php](webcal://www.shift2bikes.org/cal/pedalpalooza-calendar.php)
107-
108-
* **The Community calendar**: This will show all Pedalpalooza events, but also any other bike rides that might happen over the course of year. [webcal://www.shift2bikes.org/cal/shift-calendar.php](webcal://www.shift2bikes.org/cal/shift-calendar.php)
109-
110-
On many devices, clicking on either of those links will open your calendar app automatically. Your app will then guide you through the steps to subscribe. For Android devices (or for Google Calendar on iOS devices) you will need to follow these instructions.
106+
On many devices, clicking the above link will open your calendar app automatically. It should then guide you through the steps to subscribe. If that doesn't work, you will need to follow these instructions:
111107

112108
### Android and Google Calendar:
113109

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{/* see also shift-feed.html */}}
22
<div id="pp-calendar-feed" class="pp-banner" style="text-align: center; padding-top: 1rem; margin-top: 1rem;">
33
<p>Want to see rides using your computer or phone's calendar app?</p>
4-
<p><button type="button" id="feed-sub" class="btn" data-url="webcal://www.shift2bikes.org/cal/pedalpalooza-calendar.php">Subscribe to the Pedalpalooza festival calendar</button></p>
4+
<p><button type="button" id="feed-sub" class="btn" data-url="webcal://www.shift2bikes.org/cal/shift-calendar.php">Subscribe to the Pedalpalooza festival calendar</button></p>
55
<p>If that doesn't open your calendar app, see <a href="/pages/calendar-faq/#subscribing-to-the-calendar">other ways to subscribe to the calendar</a>.</p>
66
</div>

0 commit comments

Comments
 (0)