Question

Using Yahoo! Maps, Google Maps or similar available Web services, create an rssGEO2.0.xml document that will...

Using Yahoo! Maps, Google Maps or similar available Web services, create an rssGEO2.0.xml document that will group and display at least five different geographical locations. The theme of the locations is up to you, but include your favorite vacation destinations, restaurants, nightclubs, or places you used to live. Post your XML file on a server and use an http GET query to display the results. Submit for grading the XML file along with the http GET query and a description of the process you used for this portion of the project. Also submit a screen shot that clearly demonstrates the final product of this option. Also submit a screen shot demonstrating your work.

I have no idea where to start with this. I made a .xml file but even then I have no idea where to go from there. I will include my .xml and hopefully someone can give me some further guidance for this assignment.

<rss version="2.0"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:georss="http://www.georss.org/georss"
xmlns:ymaps="http://www.google.com/Maps/V1">
  
<channel>
<title>A little taste of me</title>

<item>
<title>Tripler Army Medical Center, Honolulu, HI</title>
<description> The hospital I was born in. </description>
<geo:lat>21.3607128</geo:lat>
<geo:long>-157.8887953</geo:long>
</item>

<item>
<title>Wenden Dr, Arizona City, AZ</title>
<description> The area I was raised in since I was 3 years of age. </description>
<geo:lat>32.877422</geo:lat>
<geo:long>-117.133420</geo:long>
</item>

<item>
<title>Recruit Training Command, North Chicago, IL</title>
<description> The place I trained for 8 weeks to become part of the US Navy. </description>
<geo:lat>42.3054991</geo:lat>
<geo:long>-87.8477526</geo:long>
</item>

<item>
<title>Corry Station, Pensacola, FL</title>
<description> The training command I attended for 24 weeks after boot camp. </description>
<geo:lat>30.4058321</geo:lat>
<geo:long>-87.2915066</geo:long>
</item>

<item>
<title>Naval Station Norfolk, Norfolk, VA</title>
<description> My first duty station after I finished my military training. </description>
<geo:lat>36.9449984</geo:lat>
<geo:long>-76.3133944</geo:long>
</item>
</channel>
</rss>

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Once the xml file is created fulfilling the requirement mentioned in the question, that can be saved in server in specific location..

For that, we can create any service listening on HTTP for example WCF.

Once the service is started and ready, we can open a open socket to the host of the server on port 80 oy any port explicitly mentioned in URL where the Xml file resides.

Once the connection established, we can send the HTTP request through the socket as below

GET <URL of XML file, leaving the host part> HTTP/1.0

Here, HTTP/1.0 is the http version.

Once that executed, raw response will be coming from the server.So, that need to be parsed to extract the results.Basically, the header parts need to be removed.

[Note: The client can be created using script where using telnet the connection can be extablished and then the GET need to be executed.Offcourse, the response need to be parsed.

Or,

The same can be implemented using C# apis such WebRequest, which internally make HTTP get request and then we can get the response back using GetResponse api.That can be in the form of stream. We can parse and print the results.

]

Add a comment
Know the answer?
Add Answer to:
Using Yahoo! Maps, Google Maps or similar available Web services, create an rssGEO2.0.xml document that will...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create your own grid-based page using the sample HTML. Generate a Grid ( Experiment with Different...

    Create your own grid-based page using the sample HTML. Generate a Grid ( Experiment with Different Tools ) http://gridcalculator.dk/ Implement grid on the sample html file using pixels Convert to a percentage-based grid HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Out with the old...</title> <link rel="stylesheet" href="path-to-style.css"> <meta name="description" content="We are going to refine this document down to a good starting point for all html5 projects moving forward."> <meta name="author" content="ABC"> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body> <div...

  • And there was a buy-sell arrangement which laid out the conditions under which either shareholder could...

    And there was a buy-sell arrangement which laid out the conditions under which either shareholder could buy out the other. Paul knew that this offer would strengthen his financial picture…but did he really want a partner?It was going to be a long night. read the case study above and answer this question what would you do if you were Paul with regards to financing, and why? ntroductloh Paul McTaggart sat at his desk. Behind him, the computer screen flickered with...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT