Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Guten Tag ich möchte per php Script die XML Datei generieren, aber irgenwie erkennt das Flash den input nicht. Folgendes habe ich versucht: ws.addVariable('XMLPath', 'http://pudata.pu-online.ch/deploy/getpicasa.php?userid=kirtapatrik&albumname=wien07'); Das Template habe ich unter dieser Adresse eingebunden. http://pudata.pu-online.ch/deploy/template.html Was könnte ich Falsch machen, beziehungsweisse was könnte ich noch versuchen? Welcher Content/type wird benötigt? Besten Dank für die Antwort Gruss Patrik
  2.  
    ich nochmals. :) aktuell rufe ich die xml/php Datei so auf: ws.addVariable('XMLPath', 'getpicasa.php?userid=kirtapatrik'); dabei habe ich festegestellt, dass dem Input immer folgendes Angehängt wird: 'userid' => 'kirtapatrik?noCache=1240349873093' was könnte der Grund für dieses Verhalten sein? Bringt man das noCache weg? Oder ist das im Code fix verankert? Freundliche Grüsse, Patrik
    •  
      CommentAuthorsectore
    • CommentTimeApr 27th 2009
     
    HI Patrik,

    das "?noCache=1240349873093" bekommst Du mit der FlashVar "cacheXML" weg:


    ws.addVariable("cacheXML", "true");


    Das ist ein "undokumentiertes" Feature, welches ich auch zum Anzeigen der Beispiele in der Pimp it!-Sektion verwende. Sehe dazu einfach den HTML-Code und die Einbindung der SWF bei Pimp it!

    Viele Grüße
    Jens

    www.ws-slideshow.de
  3.  
    Hi Jens

    Besten Dank für den Tip. So weit funktioniert das und das "noCache" Ding wird nicht mehr angehängt. Besten Dank

    So als Hinweis für die nächste Version.
    Es kann nur immer eine GetVariable übergeben werden, jede weiter Varibale wird nicht versendet.
    ws.addVariable('XMLPath', 'http://pudata.pu-online.ch/deploy/getpicasa.php?userid=kirtapatrik&albumname=wien07');
    Mit diesem Codeschnippsel wird nur immer die GetVariable userid übertragen. Die Variable albumname wird nie übertragen.

    Besten Dank für die Hilfe. Werde mich natürlich noch registrieren.
    Ich habe dein Flash in eine Typo3 Extension eingebunden und werde das so der der OpenSourceCommunity zur verfügung stellen.

    Gruss Patrik
    •  
      CommentAuthorsectore
    • CommentTimeApr 27th 2009
     
    Hi Patrik,

    freut mich, dass es klappt! Das Problem mit den mehreren Parametern sehe ich mir bei Gelegenheit noch einmal an.

    Bezueglich der Extension: Kannst Du dazu bitte noch ein paar Infos geben, gerne auch per Email. Denn bei der Veroeffentlichung von Erweiterungen fuer oder mit der WS-Slideshow sind ein paar Punkte zu beachten, die ich gerne vorab mit Dir abstimmen wuerde.

    -Jens
  4.  
    Salü Jens

    werde ich machen sobald es spruchreif ist.

    Gruss Patrik
    •  
      CommentAuthorsectore
    • CommentTimeApr 30th 2009
     
    Super, vielen Dank!

    -Jens
    www.ws-slideshow.de
    • CommentAuthorFloren
    • CommentTimeJul 19th 2010
     
    Hello, I'm also trying to make a dinamic XML with PHP without success.

    I think that the file PHP compose a correct XML:

    http://www.diocesismalaga.es/includes/galeria.php?album=90

    but usign the XML param, the scripts don't runs:

    ws.addVariable("XMLPath", "/includes/galeria.php");

    XMLPath: "/includes/galeria.php?album=90"

    http://www.diocesismalaga.es/index.php?mod=imagenes&secc=galeria2&album=90

    Any suggestion?

    Many thanks,
    •  
      CommentAuthorsectore
    • CommentTimeJul 19th 2010
     
    Hey Floren,

    loading the XML file the WS-Slideshow adds a second parameter called "noCache" as default to avoid caching of XML files. So your request failed, because it is something like this: galeria.php?album=90?noCache=1279535798250. To hide the second parameter ("noCache") just add a cacheXML: "true" using FlashVars:
    For example:var flashvars = {
    XMLPath: "/includes/galeria.php?album=90",
    cacheXML: "true"
    }


    BTW: Is there a reason why you are using SWFObject for embedding WS-Slideshow twice (var ws = new SWFObject ... AND ... swfobject.embedSWF) ?

    -Jens
    www.ws-slideshow.com/
    • CommentAuthorFloren
    • CommentTimeJul 19th 2010
     
    Thanks for your fast anwser. Now runs fine. And the twice times... no idea, I only copy from the index.html example file where it's two times ;-) MANY MANY THANKS!
    •  
      CommentAuthorsectore
    • CommentTimeJul 19th 2010 edited
     
    Ah, I have not seen this before - thanks for pointing me out to this mistake! I will update the index.html at the examples folder within next days, if I update the WS-Slideshow too.

    BTW: The next update of WS-Slideshow will be important, because it includes a small but a very important bug fix for all Windows users. Stay tuned ;)

    -Jens
    www.ws-slideshow.com