CUTR-at-USF / bullrunner-gtfs-realtime-generator

Desktop application that retrieves AVL data from the USF Bull Runner's AVL system and produces Trip Updates and Vehicle Positions files in GTFS-realtime format.
Other
2 stars 3 forks source link

Change USF Bull Runner URL in GTFS data #6

Closed barbeau closed 9 years ago

barbeau commented 9 years ago

I noticed this when clicking on the "USF Bull Runner" link in the current OneBusAway staging server: http://app.staging.obahart.org/where/standard/#m(route)route(USF%20BullRunner_C)

Apparently the main USF PATS website changed, since you now see this message before being redirected:

The USF Parking & Transportation Services Department has a brand new Website. You will be redirected to usf.edu/parking in 5 seconds.

The new URL in GTFS agency.txt should be http://usf.edu/parking

@jmfield2 Could you please change this?

jmfield2 commented 9 years ago

Should this be http://usf.edu/parking or http://www.usf.edu/administrative-services/parking/ ?

The former gives a 301* redirect to the latter:

Request URL:http://www.usf.edu/parking Request Method:GET Status Code:301 Moved Permanently

Date:Fri, 16 Jan 2015 02:43:14 GMT Location:http://www.usf.edu/administrative-services/parking

So, I'm assuming it is better to use the latter in case the redirect is removed at some point in the future.

barbeau commented 9 years ago

Yeah, good point, let's use the latter. On Jan 15, 2015 9:46 PM, "jmfield2" notifications@github.com wrote:

Should this be http://usf.edu/parking or http://www.usf.edu/administrative-services/parking/ ?

The former gives a 302 redirect to the latter:

Request URL:http://www.usf.edu/parking Request Method:GET Status Code:301 Moved Permanently

Date:Fri, 16 Jan 2015 02:43:14 GMT Location:http://www.usf.edu/administrative-services/parking

So, I'm assuming it is better to use the latter in case the redirect is removed at some point in the future.

— Reply to this email directly or view it on GitHub https://github.com/CUTR-at-USF/bullrunner-gtfs-realtime-generator/issues/6#issuecomment-70200774 .

jmfield2 commented 9 years ago

Fixed a0df7c437fcd59928f71f10bba5491ab6e5fc00e

barbeau commented 9 years ago

Thanks @jmfield2! On Jan 15, 2015 10:33 PM, "jmfield2" notifications@github.com wrote:

Fixed a0df7c4 https://github.com/CUTR-at-USF/bullrunner-gtfs-realtime-generator/commit/a0df7c437fcd59928f71f10bba5491ab6e5fc00e

— Reply to this email directly or view it on GitHub https://github.com/CUTR-at-USF/bullrunner-gtfs-realtime-generator/issues/6#issuecomment-70203714 .