SlideShare ist ein Scribd-Unternehmen logo
1 von 30
XML-Information Display System (IDS)
Divyen Patel
CMPE 276 : XML for E-Business
Prof. Daniel T. Chang , Spring 2007
XML-IDS
 Agenda
 Introduction
 Tech-Babble (Including Demo)
 Applications and Advantages of XML-
IDS
 References
Introduction
Tech-Babble
Applications and Advantages of XML-IDS
References
XML-IDS
 Introduction
 Today most government, public services
organization and/or corporate
businesses need some sort of
communication with people either indoor
or outdoor.
 There are lots of ways to publish real
time information to mass of people. But
the most successful are those, that
people always pay attention, are
computer- generated audiovisuals with
photo realistic graphics, text and
animation.
XML-IDS
 What is IDS?
 IDS stand for Information
Display System.
 It is a board or a television
screen displaying relevant
public service information.
 XML-IDS, is the information
display system using XML
capabilities.
AirVUE – IDS for Airport using XML and Flash capability
Tech-Babble
Introduction
Applications and Advantages of XML-IDS
References
Tools and Technologies
Architecture
How 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 using
XML files which can be automatically updated.
 RSS provides a method that uses XML to distribute web content to
many 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 a
question mark (?)
 Base URL
 http://weather.yahooapis.com/forecastrss
 Request Parameters
 P for locations
 U for degree units (Fahrenheit or Celsius)
Example
http://weather.yahooapis.com/forecastrss?p=95112
 RSS Response
 RSS response is an XML document that conforms to the RSS 2.0
specifications
RSS Feeds Used in XML-IDS
IDS Engine fetches City Name from
title tag and temperature from
condition tag
XML document representing weather feed
XML document representing news feed
XML document representing stock quotes
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 is
completely self-contained, and it can be used in Java applications.
 The RSS object generated by the parser is a Java object
representation of the RSS document found at the provided URL.
 In addition to RSS Parsing using URL, It can also parse File objects
and InputStream objects.
There is no specific reason why we used SUN RSS Parser.
We used it just because it provides, what we want.
XML-IDS Architecture
Sample Code – IDS Engine
IDS_Engine() {
try {
URL_News=new URL("http://rss.cnn.com/rss/cnn_us.rss");
. . . . .
Timer timer1=new Timer();
newsReader nr=new newsReader();
timer1.schedule(nr,1000,1000);
. . . . .
}
catch(MalformedURLException ex) {
ex.printStackTrace();
}
}
Scheduled to
retrieve news updates after
each second
Sample Code – IDS Engine
public class newsReader extends TimerTask {
public void run() {
try {
RssParser parser = RssParserFactory.createDefault();
Rss rss = parser.parse(URL_News);
StringBuffer documentText=new StringBuffer("<?xml version="1.0" encoding="UTF-8" ?>");
documentText.append(newline);
documentText.append("<NewsDataSet>");
documentText.append(newline);
Collection items = rss.getChannel().getItems();
if (items!=null || items.isEmpty()==false) {
for(Iterator i = items.iterator();i.hasNext();) {
documentText.append("<News>");
documentText.append(newline);
documentText.append("<NewsTitle>");
Item item = (Item)i.next();
documentText.append(item.getTitle());
System.out.println("News Read from CNN: " + item.getTitle());
documentText.append("</NewsTitle>");
documentText.append(newline);
documentText.append("</News>");
documentText.append(newline);
}
} . . . . . . . . .
URL is parsed in to the
Java Object Representing
RSS channels
XML-IDS
Demo
Applications and Advantages of XML-IDS
Introduction
Tech-Babble
References
Example: FIDS
Network
Transport
Network
Transport
Airline Data
Center
Airport
Flight Information
Display System
-------------------------------------------------------------------------------------
Existing
Internet
Transport
Internet
Transport
Schema
Generator
Security
(Firewall)
Security
(Firewall)
XML
Parser
Test Facility
FIDSXML
Message
FTP
HTTPS
SOAP
New
Application of XML-IDS
• Real time flight IDS that displays the different arrivals or departures
occurring over a specific period of time.
Application of XML-IDS
• Public service information display board found in the transit center.
Application of XML-IDS
• Media rich IDS found in the lobbies of hotel and companies
Reliance Office in Mumbai
Application of XML-IDS
• Corporate Advertisements on
the busy streets.
• Consumer Messaging Applications
in and outside of retail shops
displaying advertising and in-store
promotions
Application of XML-IDS
• Other applications
• Airport and Airline security
and operations monitoring
• Casino
• Shopping Center
• Concerts
• Rental Business
• Traffic Information System
• Video Wall
Advantages of XML-IDS
 Consolidates information from various sources
Save Time!
 Multiple snippets of information in one display area
Richer information pool!
 Capture public attention using attractive animated effects
Impact!
 Ease and convenience
References
 RSS Tutorial
http://www.w3schools.com/rss/rss_intro.asp
http://en.wikipedia.org/wiki/RSS_(file_format)
 SUN RSS Parser tutorial
http://java.sun.com/developer/technicalArticles/javaserverpages/rss_uti
lities/index.html
 Flash Tutorial
http://www.w3schools.com/flash/default.asp
Questions
XML - Information Display System

Weitere ähnliche Inhalte

Andere mochten auch

Welfare reform for hscf mental health sig july 2012
Welfare reform for hscf mental health sig july 2012Welfare reform for hscf mental health sig july 2012
Welfare reform for hscf mental health sig july 2012
hscf
 
Types of PUMP
Types of PUMPTypes of PUMP
Types of PUMP
Azlan
 

Andere mochten auch (12)

Vertical sump pumps
Vertical sump pumpsVertical sump pumps
Vertical sump pumps
 
Welfare reform for hscf mental health sig july 2012
Welfare reform for hscf mental health sig july 2012Welfare reform for hscf mental health sig july 2012
Welfare reform for hscf mental health sig july 2012
 
H.s.c.f. pumps
H.s.c.f. pumpsH.s.c.f. pumps
H.s.c.f. pumps
 
Sewage pump
Sewage pumpSewage pump
Sewage pump
 
Domestic pump
Domestic pumpDomestic pump
Domestic pump
 
Reflections on the impact of the financial and economic crisis on health and ...
Reflections on the impact of the financial and economic crisis on health and ...Reflections on the impact of the financial and economic crisis on health and ...
Reflections on the impact of the financial and economic crisis on health and ...
 
Project management information system
Project management information systemProject management information system
Project management information system
 
Pumps and types of pumps
Pumps and types of pumpsPumps and types of pumps
Pumps and types of pumps
 
Types of PUMP
Types of PUMPTypes of PUMP
Types of PUMP
 
Basics of pump
Basics of pump Basics of pump
Basics of pump
 
Basic Mechanical Engineering drawing
Basic Mechanical Engineering drawingBasic Mechanical Engineering drawing
Basic Mechanical Engineering drawing
 
project management information system
project management information systemproject management information system
project management information system
 

Ähnlich wie XML - Information Display System

Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
Igor Moochnick
 
DataFinder concepts and example: General (20100503)
DataFinder concepts and example: General (20100503)DataFinder concepts and example: General (20100503)
DataFinder concepts and example: General (20100503)
Data Finder
 

Ähnlich wie XML - Information Display System (20)

Agile Data Science
Agile Data ScienceAgile Data Science
Agile Data Science
 
Overview of RESTful web services
Overview of RESTful web servicesOverview of RESTful web services
Overview of RESTful web services
 
Apache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real TimeApache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real Time
 
Apache Eagle at Hadoop Summit 2016 San Jose
Apache Eagle at Hadoop Summit 2016 San JoseApache Eagle at Hadoop Summit 2016 San Jose
Apache Eagle at Hadoop Summit 2016 San Jose
 
Visualizing Big Data in Realtime
Visualizing Big Data in RealtimeVisualizing Big Data in Realtime
Visualizing Big Data in Realtime
 
Introduction to apex
Introduction to apexIntroduction to apex
Introduction to apex
 
DataFinder: A Python Application for Scientific Data Management
DataFinder: A Python Application for Scientific Data ManagementDataFinder: A Python Application for Scientific Data Management
DataFinder: A Python Application for Scientific Data Management
 
Data Seeding via Parameterized API Requests
Data Seeding via Parameterized API RequestsData Seeding via Parameterized API Requests
Data Seeding via Parameterized API Requests
 
IOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoTIOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoT
 
Getting Started with AWS IoT - IOT203 - re:Invent 2017
Getting Started with AWS IoT - IOT203 - re:Invent 2017Getting Started with AWS IoT - IOT203 - re:Invent 2017
Getting Started with AWS IoT - IOT203 - re:Invent 2017
 
Organizing the Data Chaos of Scientists
Organizing the Data Chaos of ScientistsOrganizing the Data Chaos of Scientists
Organizing the Data Chaos of Scientists
 
Serverless ML Workshop with Hopsworks at PyData Seattle
Serverless ML Workshop with Hopsworks at PyData SeattleServerless ML Workshop with Hopsworks at PyData Seattle
Serverless ML Workshop with Hopsworks at PyData Seattle
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
 
AWS November Webinar Series - Advanced Analytics with Amazon Redshift and the...
AWS November Webinar Series - Advanced Analytics with Amazon Redshift and the...AWS November Webinar Series - Advanced Analytics with Amazon Redshift and the...
AWS November Webinar Series - Advanced Analytics with Amazon Redshift and the...
 
How to build integrated, professional enterprise-grade cross-platform mobile ...
How to build integrated, professional enterprise-grade cross-platform mobile ...How to build integrated, professional enterprise-grade cross-platform mobile ...
How to build integrated, professional enterprise-grade cross-platform mobile ...
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)
 
Data Science on Google Cloud Platform
Data Science on Google Cloud PlatformData Science on Google Cloud Platform
Data Science on Google Cloud Platform
 
DataFinder concepts and example: General (20100503)
DataFinder concepts and example: General (20100503)DataFinder concepts and example: General (20100503)
DataFinder concepts and example: General (20100503)
 
Agile Data Science 2.0
Agile Data Science 2.0Agile Data Science 2.0
Agile Data Science 2.0
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 

XML - Information Display System

  • 1. XML-Information Display System (IDS) Divyen Patel CMPE 276 : XML for E-Business Prof. Daniel T. Chang , Spring 2007
  • 2. XML-IDS  Agenda  Introduction  Tech-Babble (Including Demo)  Applications and Advantages of XML- IDS  References
  • 4. XML-IDS  Introduction  Today most government, public services organization and/or corporate businesses need some sort of communication with people either indoor or outdoor.  There are lots of ways to publish real time information to mass of people. But the most successful are those, that people always pay attention, are computer- generated audiovisuals with photo realistic graphics, text and animation.
  • 5. XML-IDS  What is IDS?  IDS stand for Information Display System.  It is a board or a television screen displaying relevant public service information.  XML-IDS, is the information display system using XML capabilities.
  • 6. AirVUE – IDS for Airport using XML and Flash capability
  • 7. Tech-Babble Introduction Applications and Advantages of XML-IDS References Tools and Technologies Architecture How it works? Demo
  • 8. 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
  • 9. About RSS and Why?  RSS stands for Really Simple Syndication.  RSS defines an easy way to share and syndicate site content using XML files which can be automatically updated.  RSS provides a method that uses XML to distribute web content to many other web sites.  It’s a way of fast browsing for news and updates.
  • 10.  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 a question mark (?)  Base URL  http://weather.yahooapis.com/forecastrss  Request Parameters  P for locations  U for degree units (Fahrenheit or Celsius) Example http://weather.yahooapis.com/forecastrss?p=95112  RSS Response  RSS response is an XML document that conforms to the RSS 2.0 specifications RSS Feeds Used in XML-IDS
  • 11. IDS Engine fetches City Name from title tag and temperature from condition tag XML document representing weather feed
  • 14. 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 is completely self-contained, and it can be used in Java applications.  The RSS object generated by the parser is a Java object representation of the RSS document found at the provided URL.  In addition to RSS Parsing using URL, It can also parse File objects and InputStream objects. There is no specific reason why we used SUN RSS Parser. We used it just because it provides, what we want.
  • 16. Sample Code – IDS Engine IDS_Engine() { try { URL_News=new URL("http://rss.cnn.com/rss/cnn_us.rss"); . . . . . Timer timer1=new Timer(); newsReader nr=new newsReader(); timer1.schedule(nr,1000,1000); . . . . . } catch(MalformedURLException ex) { ex.printStackTrace(); } } Scheduled to retrieve news updates after each second
  • 17. Sample Code – IDS Engine public class newsReader extends TimerTask { public void run() { try { RssParser parser = RssParserFactory.createDefault(); Rss rss = parser.parse(URL_News); StringBuffer documentText=new StringBuffer("<?xml version="1.0" encoding="UTF-8" ?>"); documentText.append(newline); documentText.append("<NewsDataSet>"); documentText.append(newline); Collection items = rss.getChannel().getItems(); if (items!=null || items.isEmpty()==false) { for(Iterator i = items.iterator();i.hasNext();) { documentText.append("<News>"); documentText.append(newline); documentText.append("<NewsTitle>"); Item item = (Item)i.next(); documentText.append(item.getTitle()); System.out.println("News Read from CNN: " + item.getTitle()); documentText.append("</NewsTitle>"); documentText.append(newline); documentText.append("</News>"); documentText.append(newline); } } . . . . . . . . . URL is parsed in to the Java Object Representing RSS channels
  • 19. Applications and Advantages of XML-IDS Introduction Tech-Babble References
  • 20. Example: FIDS Network Transport Network Transport Airline Data Center Airport Flight Information Display System ------------------------------------------------------------------------------------- Existing Internet Transport Internet Transport Schema Generator Security (Firewall) Security (Firewall) XML Parser Test Facility FIDSXML Message FTP HTTPS SOAP New
  • 21. Application of XML-IDS • Real time flight IDS that displays the different arrivals or departures occurring over a specific period of time.
  • 22. Application of XML-IDS • Public service information display board found in the transit center.
  • 23. Application of XML-IDS • Media rich IDS found in the lobbies of hotel and companies
  • 25. Application of XML-IDS • Corporate Advertisements on the busy streets. • Consumer Messaging Applications in and outside of retail shops displaying advertising and in-store promotions
  • 26. Application of XML-IDS • Other applications • Airport and Airline security and operations monitoring • Casino • Shopping Center • Concerts • Rental Business • Traffic Information System • Video Wall
  • 27. Advantages of XML-IDS  Consolidates information from various sources Save Time!  Multiple snippets of information in one display area Richer information pool!  Capture public attention using attractive animated effects Impact!  Ease and convenience
  • 28. References  RSS Tutorial http://www.w3schools.com/rss/rss_intro.asp http://en.wikipedia.org/wiki/RSS_(file_format)  SUN RSS Parser tutorial http://java.sun.com/developer/technicalArticles/javaserverpages/rss_uti lities/index.html  Flash Tutorial http://www.w3schools.com/flash/default.asp