• Resolved derekelcreativecom

    (@derekelcreativecom)


    Hi. I am attempting to integrate WordPress with Tiltviewer ( https://www.simpleviewer.net/tiltviewer/ ) – more specifically, to use wordpress template tags to generate the xml date (I’m not using NextGen). The way the system works, you fill in options and the photo information in an xml file like so:

    <tiltviewergallery>
    	<photos>
    		<photo imageurl="imgs/img.jpg" linkurl="https://www.google.com">
    			<title>Image 1</title>
    			<description>This is a regular text description.</description>
    		</photo>
    	</photos>
    </tiltviewergallery>

    I have no problem getting a gallery to work with my template…my issue is that i want the xml data to be created from my wordpress template tags, so i can make them correspond with my posts rather than filling it in manually. I just need to know if i need to put anything extra in the xml file or link it differently so that my template tags actually mean something to the xml file. If i can make that happen, then creating the gallery will be a simple matter of creating the appropriate loop and filling in template tags and custom fields in the above xml format. any help is very much appreciated.

    So my question isn’t really Tiltviewer specific, but rather how to parse wordpress template tags in an external xml file.

Viewing 1 replies (of 1 total)
  • Thread Starter derekelcreativecom

    (@derekelcreativecom)

    all right, i figured out a way to do this, though not necessarily the best way possible – so if anyone needs to know, give me a shout.

Viewing 1 replies (of 1 total)
  • The topic ‘XML and WordPress’ is closed to new replies.