Jump to content

Show data from XML to CMS page


SVKpneux

Recommended Posts

Hi

 

Can U help me please?

I want to show data from XML file to CMS page.

 

Sample of XML: (update on web every 6 hours)

<?xml version="1.0" encoding="UTF-8"?>
<reviews>
<review>
<rating_id>155</rating_id>
<name>
<![CDATA[Mathew]]>
</name>
<unix_timestamp>2522593248</unix_timestamp>
<total_rating>5</total_rating> //i want to show 5 stars in cms (1=1 star, 2=2 stars etc.)
<recommends>1</recommends> //i want to set 1=yes 2=no
<delivery_time>5</delivery_time> //i want to show 5 stars in cms
<web_usability>5</web_usability> //i want to show 5 stars in cms
<communication>5</communication> //i want to show 5 stars in cms
<pros>
<![CDATA[Good shop.]]>
</pros>
<summary>
<![CDATA[Recommended :)]]>
</summary>
<reaction>
<![CDATA[Thanx for your comment.]]>
</reaction>
<order_id>21113</order_id>
</review>

<reviews>

 

How can I do it?

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...