In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you the meteorological XML data source application example analysis, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!
Brief introduction
1. On Meteorological XML data sources
Weather XML data sources (services) allow third-party applications to request a XML feed access to an available subset of data through a weather.com ®site. Weather Channel Interactive (TWCi) provides this free data for development, and anyone who wants to apply weather data to a single application would like to exchange links with weather.com. This document describes how to use weather data and technically details the request and use of this XML data.
Meteorological data include:
-search for areas by city / state and postal code
-data introduction necessary regional details (such as name and local time)
-current meteorological conditions in the selected area (observation)
-partial forecast of 4-12 hours for two days (at present, it seems to provide a 10-day forecast)
To return, your application must:
-display meteorological data for only one area at a time
-support for data request standards, usage rules, and update speed summary in Chapter 8 of this wizard
-clearly decompose TWCi data from a single visible element data
-make sure your weather data is from TWCi and contains a hyperlink to the weather.com home page described in Chapter 9 of this wizard
-provide a hyperlink to weather.com for additional weather data
-provide it to your end users free of charge
-less than 25000 traffic per month (active users)
two。 Obtain accounts for meteorological XML data sources
In order to use this service, you must first register with weather.com and you must agree to the user's final agreement. Register on the following page:
Www.weather.com/services/oap.html
At the end of the registration process you will receive an email containing your user ID, a unique license key, and you can download it to the software development tool (SDK). User ID and license key request parameters must be included in any weather data request.
3. Application Typ
Weather XML data is available only if the application can send a link to weather.com. This program can be a Web basic application or a desktop application.
3.1. Web basic application
The HTML page of the Web application is submitted to the Web browser and must be able to link directly to weather.com to obtain the weather XML data source through the link. A Web application needs to access the weather XML data source to obtain weather data and present the data to the user through a HTML page in Microsoft's IE browser or Firefox browser. For example, Web services where applications are written in languages such as JSP, PHP, ASP, or CGI.
3.2. Desktop application
Desktop applications run on the user's computer and present weather data to the user's computer's window, such as icons in the menu bar, or drag directly on the desktop. Desktop applications can be run directly or automatically through an external browser, link to the weather.com home page through a weather.com logo and open a new browser window under the weather XML data source. For example, applications can be written in Clippers, Java, Visual Basic, Delphi, or Objective C, and can run in a network connection window, Macintosh, or Linux computer.
3.3. Other applications
If you have an application that is neither a Web application nor a desktop application, such as an application that does not link directly to weather.com on PDAs, mobile phone, radio, print, fax, broadcast television or other platforms, or if you use more than these services, you will need to identify other licensing options that may be appropriate for you. Typically, if your site or program has 500000 unique users in a month, or more than 100000 unique users a month, and it submits 25000 requests to weather.com each month.
The above is all the contents of the article "sample Analysis of Meteorological XML data Source Application". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.