Integration with asp

  • 2 posts
  1. hiya.. i want know if you can update the content in CU3ER through language asp .. and its possible u show me some example.. thanks a millon . regards.

  2. gnossos

    1 year ago

    I have integrated with database and linked the xml to it but it was a little bit of a chore.
    I changed the config.xml to config.xml.asp and then put my data connection string and source in top.
    To produce the correct xml you need the asp page to write the xml:
    <%
    response.ContentType="text/xml"
    response.Write("<?xml version='1.0' encoding='utf'?>")
    response.Write("<cu3er>")
    response.Write("<settings>")
    response.Write("<prev_button>")
    response.Write("<defaults round_corners=""5,5,5,5""/>")
    response.Write("<tweenOver tint=""0xFFFFFF"" scaleX=""1.1"" scaleY=""1.1""/>")
    response.Write("<tweenOut tint=""0x000000"" />")
    response.Write("</prev_button>")
    response.Write("<prev_symbol>")
    response.Write("<tweenOver tint=""0x000000"" />")
    response.Write("<tweenOut tint=""0x000000"" /> ")
    response.Write("</prev_symbol>")
    response.Write("<next_button>")
    response.Write("<defaults round_corners=""5,5,5,5""/>")
    response.Write("<tweenOver tint=""0xFFFFFF"" scaleX=""1.1"" scaleY=""1.1""/>")
    response.Write("<tweenOut tint=""0x000000"" />")
    response.Write("</next_button>")
    response.Write("<next_symbol>")
    response.Write("<tweenOver tint=""0x000000"" />")
    response.Write("</next_symbol>")
    response.Write("<auto_play>")
    response.Write("<defaults symbol=""circular"" time=""7"" />")
    response.Write("<tweenIn x=""25"" y=""50"" width=""35"" height=""35"" tint=""0xFFFFFF"" />")
    response.Write("</auto_play>")
    response.Write("</settings>")
    response.Write("<slides>")
    %>
    and you put the rest in using same technique, with data inserted. Hope that helps