[worldKit-dev] Using JRSSComm to feed RSS

Mikel Maron mikel_maron at yahoo.com
Tue Feb 27 00:48:17 PST 2007


Url? I can take a look...

----- Original Message ----
From: Shane Norman <shane.norman at gmail.com>
To: Discussion of worldKit use and development <worldkit-dev at lists.brainoff.com>
Sent: Monday, February 26, 2007 10:52:56 PM
Subject: Re: [worldKit-dev] Using JRSSComm to feed RSS

Hi Mikel

Thanks. But the javascript error still occur. I have deleted the all javascript coding. But it still happening. Even though there is none accessing worldkit it is giving that error. Please advice me.


Cheers
Shane

On 2/26/07, Mikel Maron <mikel_maron at yahoo.com> wrote:
You'd be getting an error in javascript on "
document.worldkit.SetVariable", since the DOM position of worldKit has changed. 
You might try "document.formname.worldkit.SetVariable" where formname is the name of your form, 
or document.getElementById
("worldkit").SetVariable.

-Mikel


----- Original Message ----
From: Shane Norman <
shane.norman at gmail.com>
To: Discussion of worldKit use and development <
worldkit-dev at lists.brainoff.com>
Sent: Monday, February 26, 2007 7:10:13 AM
Subject: Re: [worldKit-dev] Using JRSSComm to feed RSS

HI Mikel

I am using ASP .Net to build my site. When I put the flash in side form object I am getting an error "worldkit is undefined". But when I put before form it doesn't give any javascript error. Please advice me.


Cheers
Shane

On 2/23/07, Shane Norman <
shane.norman at gmail.com> wrote:
Hi Mikel 

Thanks. Correction. I used <script type='text/javascript> . So It did't work. I changed that to <script language="javascript">. Now it is working. And I call the function like

window.setTimeout("sendrss()", 1000);

Cheers
Shane

On 2/22/07, 
Mikel Maron <
mikel_maron at yahoo.com
> wrote:



Hi Shane

The Javascript is executing before worldKit has loaded into the page, so it never receives that JRSSComm. 
The following sends the RSS after clicking a link .. it will work.


<script type='text/javascript'>
function sendrss() {
    document.worldkit.SetVariable
('JRSSComm','<?xml version="1.0"?><rss version="2.0" xmlns:georss="



http://www.georss.org/georss"><channel><title>Geo Location</title><item><title>SHARK BAY</title><georss:point>-25.9330005645752 113.541999816895</georss:point></item></channel></rss>');

</script>
<a href="javascript:sendrss();">Send RSS</a>


Also, in your GeoRSS Point, there's a space between "-" and "25.93...", which should be removed.


-Mikel

----- Original Message ----
From: Shane Norman <



shane.norman at gmail.com>
To: worldkit-dev at lists.brainoff.com
Sent: Wednesday, February 21, 2007 11:23:25 PM

Subject: [worldKit-dev] Using JRSSComm to feed RSS

Hi Guys

I am trying to feed RSS string into worldkit. So
 far I am unsuccessfull. Please give me some advice. I only have limited knowledge in Javascript. And I use vb .net. This is my coding.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0
" WIDTH="800" HEIGHT="400" id="worldkit">

<PARAM NAME=movie VALUE="worldkit.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000000>

<EMBED src="worldkit.swf" swLiveConnect="true" 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>

<script type='text/javascript'>
document.worldkit.SetVariable
('JRSSComm','<?xml version="1.0"?><rss version="2.0" xmlns:georss="



http://www.georss.org/georss"><channel><title>Geo Location</title><item><title>SHARK BAY</title><georss:point>-
25.9330005645752 113.541999816895</georss:point></item></channel></rss>');</script>


Thanks in advcance

Cheers
Shane


_______________________________________________
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





_______________________________________________
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/20070227/164d3c31/attachment-0005.htm>


More information about the worldkit-dev mailing list