从另一个站点获取数据,可能是它的调用webscripting [英] Get Data From Another sites, may be its call webscripting

查看:55
本文介绍了从另一个站点获取数据,可能是它的调用webscripting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



现在写一下我们计划开发一个项目,该项目提供有关不同事物的信息。因此,我们希望从其他网站获取详细信息。

例如..

类似铁路详细信息(列车名称,时间,到达,调度等)

像某些产品(如手机,笔记本电脑,汽车,自行车等),型号名称,价格,规格等......



在,我的网站有一些菜单,用户点击并获得一些产品列表,还有他们搜索的搜索按钮,找到他们想要的产品。



实际上,我有一些研发,但我发现,这可能是HTTP请求和HTTP响应。我不确定。



在研发方面我也找到了一些关于.api的信息,但有些网站没有提供他们的.API(网络服务)。





请告诉我们如何使用它并获取详细信息或有其他任何方法..







提前致谢...

Hello All,

Write now we have planning for develop one project, which project provide information about different-different things. so, we want to get the details from another site.
For Example..
like railway Details("Train Name,Time,Arrived,Dispatch or etc")
Like some Product (such Mobiles, Laptop, Car, Bikes or etc) with Models Name, Price, specification or etc...

In, my site have some menus which user clicked and get some product list and also there search button which they have search and find the product which they want.

actually, i have some R&D for that, But i just find, it's possible by HTTP Request and HTTP Response., i am not sure about that.

In R&D I have also find some information about .api but some website are not provide their .API(webservice).


Please tell the how can we use that and get the details or is there any other method..



Thanks in advance...

推荐答案

如果您想向用户提供任何产品详细信息对于您的网站,您必须保留该信息。您的任务是定期更新并提供有关您所谈论的不同事物的准确,相关和最新信息。从外部站点获取数据不是一个好选择,因为它可能不可靠,可能已经过时,提供商可能会突然关闭门。此外,列车时刻表和到达,出发时间等信息是印度铁路公司的专有信息。您无法在您的网站上使用它。忘掉它。您可以在他们的主页上阅读警告。



是的他们是google之类的其他网站,你可以通过传递查询字符串参数获得搜索结果,但是你也会只获得他们的页面。除非您使用谷歌的自定义搜索或某些第三方API,否则您无法在页面上显示这些结果。



希望你理解。祝你好运。
If you want to present any product details to the user of your site, you will have to maintain that information. It is your task to regularly update and present the accurate, relevant and the latest information about the "different-different" things you are talking about. Getting data from external sites is not a good option as it may not be reliable, it may be outdated, the providers may shut the door suddenly. Also, information like train schedule and arrival, departure time is proprietary of Indian Railways. You can not use it on your site. Forget about it. You may read the warning on their home page.

Yes their are other sites like google where you can get the search result by passing query string parameters but that too you will get only on "their" page. You can not show those result on your page unless you are using google's custom search or some third party API.

Hope you understand. Good luck.


查看这一串

代码项目实用程序(会员贡献)常见问题解答 [ ^ ]


这篇关于从另一个站点获取数据,可能是它的调用webscripting的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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