[worldKit-dev] [SPAM] - Re: [SPAM] - Re: Location dot without rss.xml -Email found in subject - Email found in subject
Matt McClelland
matt.mcclelland at qbe.com
Tue Apr 11 17:12:05 PDT 2006
Hi Mikel
Thanks for your reply (and Bruce)
Well I have finaly bit the bullet and started to learn how to program
these silly computers. I have writtern a PHP script that outputs the
geocoded rss XML data based on the URL. (this programming this is not as
hard as I thought). Well I got that bit done, it loads the XML data well
into IE. I was running out of time by this stage I tried to call it
through worldkit, and it displayed the map, but no dot :(
I ran out of time, I think I will get there over the weekend though. When
I get it to work, I will post the code here (there where a couple of
things that got me with this, you need to pass an XML header, and a expiry
date in the past for this to work in IE). If I am still stuck next week I
will give you a yell.
Thanks again
Matt :)
"Mikel Maron" <mikel_maron at yahoo.com>
Sent by: <worldkit-dev-bounces at lists.brainoff.com>
12/04/2006 02:04 AM
Please respond to
"Discussion of worldKit use and development"
<worldkit-dev at lists.brainoff.com>
To
"Discussion of worldKit use and development"
<worldkit-dev at lists.brainoff.com>
cc
Subject
[SPAM] - Re: [worldKit-dev] [SPAM] - Re: Location dot without rss.xml
-Email found in subject - Email found in subject
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
_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
________________________________________________________________________
IMPORTANT NOTICE : The information in this email is confidential and may also be privileged. If you are not the intended recipient, any use or dissemination of the information and any disclosure or copying of this email is unauthorised and strictly prohibited. If you have received this email in error, please promptly inform us by reply email or telephone. You should also delete this email and destroy any hard copies produced.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20060412/558feacf/attachment-0005.htm>
More information about the worldkit-dev
mailing list