XML-Information Display System (IDS)Divyen PatelCMPE 276 : XML for E-BusinessProf. Daniel T. Chang , Spring 2007
XML-IDS Agenda Introduction Tech-Babble (Including Demo) Applications and Advantages of XML-IDS References
IntroductionTech-BabbleApplications and Advantages of XML-IDSReferences
XML-IDS Introduction Today most government, public servicesorganization and/or corporatebusinesses need some sort ofcommunication with people either indooror outdoor. There are lots of ways to publish realtime information to mass of people. Butthe most successful are those, thatpeople always pay attention, arecomputer- generated audiovisuals withphoto realistic graphics, text andanimation.
XML-IDS What is IDS? IDS stand for InformationDisplay System. It is a board or a televisionscreen displaying relevantpublic service information. XML-IDS, is the informationdisplay system using XMLcapabilities.
AirVUE – IDS for Airport using XML and Flash capability
Tech-BabbleIntroductionApplications and Advantages of XML-IDSReferencesTools and TechnologiesArchitectureHow it works?Demo
Tools and Technologies• What we used?• Technologies used• XML• RSS feed• SUN RSS Parser• Flash Active Script• Java• Tools used• Macromedia Flash 4.0• Eclipse IDE
About RSS and Why? RSS stands for Really Simple Syndication. RSS defines an easy way to share and syndicate site content usingXML files which can be automatically updated. RSS provides a method that uses XML to distribute web content tomany other web sites. It’s a way of fast browsing for news and updates.
Yahoo Weather Feed RSS Request It follows the simple HTTP get syntax Request starts with a base URL and then add parameters and values after aquestion mark (?) Base URL http://weather.yahooapis.com/forecastrss Request Parameters P for locations U for degree units (Fahrenheit or Celsius)Examplehttp://weather.yahooapis.com/forecastrss?p=95112 RSS Response RSS response is an XML document that conforms to the RSS 2.0specificationsRSS Feeds Used in XML-IDS
IDS Engine fetches City Name fromtitle tag and temperature fromcondition tagXML document representing weather feed
About SUN RSS Parser The SUN RSS parser is the by-product of the JSP tag library. Although the parser was developed with the tag library in mind, it iscompletely self-contained, and it can be used in Java applications. The RSS object generated by the parser is a Java objectrepresentation of the RSS document found at the provided URL. In addition to RSS Parsing using URL, It can also parse File objectsand InputStream objects.There is no specific reason why we used SUN RSS Parser.We used it just because it provides, what we want.
Application of XML-IDS• Corporate Advertisements onthe busy streets.• Consumer Messaging Applicationsin and outside of retail shopsdisplaying advertising and in-storepromotions
Application of XML-IDS• Other applications• Airport and Airline securityand operations monitoring• Casino• Shopping Center• Concerts• Rental Business• Traffic Information System• Video Wall
Advantages of XML-IDS Consolidates information from various sourcesSave Time! Multiple snippets of information in one display areaRicher information pool! Capture public attention using attractive animated effectsImpact! Ease and convenience
References RSS Tutorialhttp://www.w3schools.com/rss/rss_intro.asphttp://en.wikipedia.org/wiki/RSS_(file_format) SUN RSS Parser tutorialhttp://java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/index.html Flash Tutorialhttp://www.w3schools.com/flash/default.asp