[worldKit-dev] [SPAM] - Re: Location dot without rss.xml - Email found in subject

Mikel Maron mikel_maron at yahoo.com
Tue Apr 11 09:04:56 PDT 2006


Hi Matt

Yes, I see it may be overkill to build a seperate RSS feed for every page. 

My first thought was that you could use javascript to pass in a bit of GeoRSS to worldKit, with the JRSSComm variable http://worldkit.org/doc/javascript.php#to .. However, since it's not possible to know when worldKit has completed loading and can respond to JRSSComm , this won't necessarily work. What worldKit should do is trigger a javascript event when it's completed loading .. but that would take a little coding.

I think your idea of using a small php script is the most simple without doing any coding in worldKit .. a bit convoluted but simple.  Set dataurl to "georss.php?lat=#&long=#". The php code would be pretty simple, just echoing those two arguments within a RSS block.

Mikel

----- Original Message ----
From: Matt McClelland <matt at wildcolour.com>
To: Discussion of worldKit use and development <worldkit-dev at lists.brainoff.com>
Sent: Tuesday, April 11, 2006 1:44:20 AM
Subject: Re: [worldKit-dev] [SPAM] - Re: Location dot without rss.xml - Email found in subject

HI Mikel
  
 Thanks for you reply.
  
 My last e-mail was not very clear - sorry about that.
  
 I was wanting to have a different location map for each page of my website.  A map of the world, with one single dot marking the location of the current article (campsite, bushwalk, national park etc)  there will be many hundreds of these pages. 
  
 I note that you can call worldkit with a URL to get data from a query, "dataurl=".  I was wanting a similar function but to be able to enter the data directly.  eg "geodata=" 
  
 So I could do something like this.
  
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 " WIDTH="800" HEIGHT="400" id="worldkit">
<param NAME=movie VALUE="worldkit.swf?geodata=lat-32.01501&long100.5220">
<param NAME=quality VALUE="high"> 
<param NAME=bgcolor VALUE="#000000">

<embed src="worldkit.swf?geodata=lat-32.01501&long100.5220" quality="high" bgcolor="#000000" WIDTH="800" HEIGHT="400" NAME="worldkit" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE=" http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
 

 I guess one one to do this is for me to learn a bit of PHP and create a PHP file that creates a xml file when I pass a similar URL to it.  but I guess I am been lazy  :)
  
 Matt  :)
 (a new fan of worldkit)

 
 On 4/10/06, Mikel Maron <mikel_maron at yahoo.com> wrote:     Hi Matt,

Thanks for your compliments. The bushwalking website sounds cool. 

You should only have to create one RSS feed for the entire map, rather than one for each location.

I'm not sure if that's your question or not. Please explain more if this isn't what you're after. 

Cheers
Mikel

----- Original Message ----
From: Matt McClelland <matt at wildcolour.com> 
To: worldkit-dev at lists.brainoff.com
Sent: Sunday, April 9, 2006 6:39:40 AM
Subject: [worldKit-dev] Location dot without  rss.xml

 Hi
  
 I love worldkit - I have been playing with it for the last few days and I am very impressed - good work.
  
 I am building a bushwalking website (trail notes, location of campsite and weather information etc) and this tool will be very handy.
  
 One thing I was hopeing to do was to have a picture of the world with a dot on it for each article, to give it's location.  I was hopeing to do this without having to create an xml document for each site.
  
 Is it possible to call worldkit with a url containing the GEO:lat/geo:long and title info.  I am not a programmer but can hack my way around a bit of PHP code.
  
 Does anyone have an example or know how to do this??
  
 Thanks 
  
 Matt  :)
 _______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com 
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com 
 





_______________________________________________
worldkit-dev mailing list
 worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com 




 _______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20060411/551ab76c/attachment-0005.htm>


More information about the worldkit-dev mailing list