...

View Full Version : Passing parameters between php and xml



luckydog2011
11-25-2011, 07:08 PM
First off, I admit I am very much a novice, I probably shouldn't try dabbling here yet but because of a necessity I really need to.

I am building a wordpress theme and I want to be able to pass the featured image on a slideshow parameter to this xml file.


<Image Filename="image1.jpg">
<Text>
<headline>Description Text</headline>
<break>Ӂ</break>
<paragraph>Here you can add a description text for every single slide.</paragraph>
<break>Ӂ</break>
<inline>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eu quam dolor, a venenatis nisl. Praesent scelerisque iaculis fringilla. Sed congue placerat eleifend.</inline>
Ӂ<a href="http://themes.5-squared.com/sansation/?style=cool_blue" target="_blank">hyperlinks</a>
</Text>
</Image>

<Image Filename="image2.jpg">
<Text>
<headline>Description Text</headline>
<break>Ӂ</break>
<paragraph>Here you can add a description text for every single slide.</paragraph>
<break>Ӂ</break>
<inline>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eu quam dolor, a venenatis nisl. Praesent scelerisque iaculis fringilla. Sed congue placerat eleifend.</inline>
Ӂ<a href="http://themes.5-squared.com/sansation/?style=cool_blue" target="_blank">hyperlinks</a>
</Text>
</Image>

<Image Filename="image3.jpg">
<Text>
<headline>Description Text</headline>
<break>Ӂ</break>
<paragraph>Here you can add a description text for every single slide.</paragraph>
<break>Ӂ</break>
<inline>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eu quam dolor, a venenatis nisl. Praesent scelerisque iaculis fringilla. Sed congue placerat eleifend.</inline>
Ӂ<a href="http://themes.5-squared.com/sansation/?style=cool_blue" target="_blank">hyperlinks</a>
</Text>
</Image>

<Image Filename="image4.jpg">
<Text>
<headline>Description Text</headline>
<break>Ӂ</break>
<paragraph>Here you can add a description text for every single slide.</paragraph>
<break>Ӂ</break>
<inline>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eu quam dolor, a venenatis nisl. Praesent scelerisque iaculis fringilla. Sed congue placerat eleifend.</inline>
Ӂ<a href="http://themes.5-squared.com/sansation/?style=cool_blue" target="_blank">hyperlinks</a>
</Text>
</Image>
</Piecemaker>';
?>

This all comes from this tutorial (http://net.tutsplus.com/tutorials/wordpress/integrating-the-piecemaker-3d-gallery-into-your-wordpress-theme/) for integrating the peacemaker into wordpress. I know this isn't a wordpress forum but I am not sure if this is a general php action I can learn or not. I am so new at this it is pitiful but I really need to start wrapping my mind around this and a few other concepts soon.

Thanks for your patience with me. Oh yeah and does anyone know what this Ӂ is for?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum