3 Replies - 555 Views - Last Post: 14 May 2016 - 01:22 AM Rate Topic: -----

#1 dhaneku.b   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 81
  • Joined: 20-March 16

Finding a Website's XML File

Posted 13 May 2016 - 04:06 PM

I am trying to write a simple Python program that tracks the transit activity in my area, and to do this I need to view the XML file of the transit company I chose. Is there a standard way to access this?
Is This A Good Question/Topic? 0
  • +

Replies To: Finding a Website's XML File

#2 Martyr2   User is online

  • Programming Theoretician
  • member icon

Reputation: 5257
  • View blog
  • Posts: 14,073
  • Joined: 18-April 07

Re: Finding a Website's XML File

Posted 13 May 2016 - 05:17 PM

I am afraid not. Each company is going to implement their feeds differently... if they even offer them all. Now of course you might be able to find a list of transit feeds like the one published at the link below...

http://www.transitwi...sportation_data

But how they even organize their data and what data they choose to produce is completely up to them. If they follow the RSS format then you will have some standardization, but again the company would have to follow this specification. They may also choose to publish in ATOM format or some other format.

:)
Was This Post Helpful? 0
  • +
  • -

#3 dhaneku.b   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 81
  • Joined: 20-March 16

Re: Finding a Website's XML File

Posted 13 May 2016 - 05:36 PM

Thank you!

This post has been edited by andrewsw: 14 May 2016 - 01:22 AM
Reason for edit:: Removed previous quote, just press REPLY

Was This Post Helpful? 0
  • +
  • -

#4 andrewsw   User is offline

  • So Smart! S-M-R-T!
  • member icon

Reputation: 6578
  • View blog
  • Posts: 26,722
  • Joined: 12-December 12

Re: Finding a Website's XML File

Posted 14 May 2016 - 01:22 AM

Note that there is no need to quote the previous post in full, there is a Reply button further down the page.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1