如何访问航空公司的RSS字段 [英] How to access RSS field of airlines

查看:110
本文介绍了如何访问航空公司的RSS字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想显示所有航空公司的航班时刻表,例如 http://www.yatra.com/ [ ^ ].当用户指定出发地&时,我想显示航班的时间表目的地和航班日期.如何显示航班信息?请给我一些入门指南.

谢谢

I want to display a timetable of flights of all airlines, like http://www.yatra.com/[^]. I want to show flights'' timetable when user specifies origin & destination & date of flight. How do I display flight information? Please give me some pointers to get started.

Thanks

推荐答案

拥有航空公司Web服务是一种简便的方法.如果由于某种原因您无法执行此操作,那么也有一种困难的方法:
整理来自所有航空公司的所有数据,并将其维护在您的数据库中.然后在需要时使用此数据库返回搜索结果.在这种情况下,您需要跟踪任何更改并相应地更新您的数据存储库.
Having airline company webservice is an easy way out. If for some reason, you are not able to do that then there is a hard way too:
Collate all the data from all the airlines and maintain them in your database. Then use this database to return the search result when needed. In this case, you need to keep track of any change and update your data-repository accordingly.


我想您需要航空公司的Web服务指向.
不知道您是否可以使用Web服务来获取该信息.
I guess you would need a webservice from the airline company to point at.
Don''t know if you can consume a webservice to get that info.


这篇关于如何访问航空公司的RSS字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆