SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Destaque

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 2012hscf
 
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 ...WHO Regional Office for Europe
 
Project management information system
Project management information systemProject management information system
Project management information systemPradeep Patel, PMP®
 
Types of PUMP
Types of PUMPTypes of PUMP
Types of PUMPAzlan
 
Basic Mechanical Engineering drawing
Basic Mechanical Engineering drawingBasic Mechanical Engineering drawing
Basic Mechanical Engineering drawingsamchowdhury
 

Destaque (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
 

Semelhante a XML - Information Display System

Overview of RESTful web services
Overview of RESTful web servicesOverview of RESTful web services
Overview of RESTful web servicesnbuddharaju
 
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 JoseHao Chen
 
Visualizing Big Data in Realtime
Visualizing Big Data in RealtimeVisualizing Big Data in Realtime
Visualizing Big Data in RealtimeDataWorks Summit
 
Introduction to apex
Introduction to apexIntroduction to apex
Introduction to apexRinku Saini
 
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 ManagementAndreas Schreiber
 
Data Seeding via Parameterized API Requests
Data Seeding via Parameterized API RequestsData Seeding via Parameterized API Requests
Data Seeding via Parameterized API RequestsRapidValue
 
IOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoTIOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoTAmazon Web Services
 
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 2017Amazon Web Services
 
Organizing the Data Chaos of Scientists
Organizing the Data Chaos of ScientistsOrganizing the Data Chaos of Scientists
Organizing the Data Chaos of ScientistsAndreas Schreiber
 
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 SeattleJim Dowling
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Igor Moochnick
 
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...Amazon Web Services
 
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 ...Appear
 
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)David McCarter
 
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
 
Agile Data Science 2.0
Agile Data Science 2.0Agile Data Science 2.0
Agile Data Science 2.0Russell Jurney
 
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 Servicesukdpe
 

Semelhante a 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
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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 WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

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