Pages: [1]
  Print  
Author Topic: loading php generated xml  (Read 423 times)
arne
Gaia User
**
Posts: 34



« on: February 14, 2011, 08:00:00 AM »

hi all

i'm trying to load a php generated XML file via the assets in site.xml

<page id="realisations" title="Réalisations" src="realisations.swf" menu="true" seo="true" depth="middle">
          <asset id="xmlProjets" src="http://www.mysite.com/spip.php?page=backend_flash"/>
            </page>


but getting this error
Error: Unknown asset type  | php?page=backend_flash
   at com.gaiaframework.assets::AssetCreator$/create()
   at com.gaiaframework.core::SiteModel/parseAssets()
   at com.gaiaframework.core::SiteModel/parsePage()
   at com.gaiaframework.core::SiteModel/parseChildren()
   at com.gaiaframework.core::SiteModel/parsePage()
   at com.gaiaframework.core::SiteModel/parseChildren()
   at com.gaiaframework.core::SiteModel/parsePage()
   at com.gaiaframework.core::SiteModel/parseTree()
   at com.gaiaframework.core::SiteModel/onLoadComplete()
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at flash.net::URLLoader/onComplete()


do you know how can i bypass this?

loading it directly in the page works fine..



// my first post in this forum - THANX to the Gaia team - this framework is the bomb
Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #1 on: February 14, 2011, 10:08:42 AM »

http://www.gaiaflashframework.com/wiki/index.php?title=Site_XML#type
Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
arne
Gaia User
**
Posts: 34



« Reply #2 on: February 14, 2011, 10:16:40 AM »

thanks a lot steven
Logged
cabouabdo
Gaia Novice
*
Posts: 6


« Reply #3 on: July 05, 2011, 04:29:13 PM »

I've been having trouble with this recently in Chrome and IE.

<asset id="data" src="includes/wall.php" type="xml" />

I have added this asset on to a page and Firefox and Safari load it in without problems, but Chrome and IE both throw errors and show a blank page. Am I missing something?
Logged
Nemo
Moderator
Gaia Addict
*****
Posts: 594


Freelancer for hire


WWW
« Reply #4 on: July 08, 2011, 12:44:22 AM »

What do you mean show blank page?
Logged

!
viaria
Gaia Fan
***
Posts: 112


viaria
WWW
« Reply #5 on: July 15, 2011, 05:28:08 AM »

I've been having trouble with this recently in Chrome and IE.

<asset id="data" src="includes/wall.php" type="xml" />

I have added this asset on to a page and Firefox and Safari load it in without problems, but Chrome and IE both throw errors and show a blank page. Am I missing something?

it can be cache
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc