Jump to content

Recommended Posts

Ok I have been assigned a assignment, can someone help me get started on where to begin?

 

 

.

What we would like to see is a KML feed of the RSS feed of the Dutch news website Nu.nl that can be viewed in Google earth.

 

This feed can be found here.

 

This is the feed of Nu.nl

 

All entries include a placename at the beginning. You should parse this name, and query the Google geocoder with the results. You can assume the first result of the geocoder is correct (but please use the dutch geocoder, located at $url=" http://maps.google.nl/maps/geo?q=".urlencode($adress)."&output=csv&key=".$gapikey; The documentation for this is the same as the english one, and can be found in the google maps api.

 

You don't need to build a cache for the geocoding (which a real-world solution would include).

The output of your program has to be a KML file that can be used to show the current RSS feed in Google earth. The items have to be shown in the map, with their title (and possible a picture). The layout is up to you, but it this is not a design assignment: it doesn't need that much design.

 

You don't need to work with networklinks or partial updating, but can just output all the results currently in the feed. We would like to see your code as 1 PHP file, without external libraries.

Link to comment
https://forums.phpfreaks.com/topic/131849-help-with-coding/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.