Auto Updating XML and Organizing XML

Creating desktop or client-server database solutions?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
CElwell
Posts: 38
Joined: Thu Feb 04, 2016 6:29 pm

Auto Updating XML and Organizing XML

Post by CElwell » Wed Feb 24, 2016 7:21 pm

Hello!

I am using LiveCode for my senior project of creating a phone application and, therefore, I am very new to how this code works. For my app I need to extract a XML file from online and organize the data for individuals to view. For example, the data includes an animal's picture, name, breed, etc and I want to organize this information in a specific layout. I have done research and I see information of RSS feeds, but that is all I have really found which relates with what I need to do. In addition, I cannot use a previously obtained XML file because the data will change constantly online so it needs to be able to update and organize on its own. Does anyone know some sources I could look at to help with this or help me in figuring out how to code this? I apologize if my explanation does not make sense, I will answer any questions necessary to explain my goal properly.

Thank you in advance!!!

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3338
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Auto Updating XML and Organizing XML

Post by bn » Wed Feb 24, 2016 9:54 pm

Hi CEIwell,

here is a utility that converts XML to arrays and arrays to XML

http://livecodeshare.runrev.com/stack/571/XMLAndArrays

look up in the dictionary "xml" how you can handle xml within LC.

Kind regards and good luck

Bernd

CElwell
Posts: 38
Joined: Thu Feb 04, 2016 6:29 pm

Re: Auto Updating XML and Organizing XML

Post by CElwell » Mon Feb 29, 2016 7:15 pm

I apologize for the delayed response as my laptop was broken and therefore I could not access my livecode.

When I download this code nothing is converted. It just pulls up the code and highlights the line which says "breakpoint."

Is there an easy way to quickly learn how to display xml data and organize it? I do not have experience with PHP or XML, only with HTML and CSS for the most part.

MaxV
Posts: 1575
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Auto Updating XML and Organizing XML

Post by MaxV » Thu Apr 14, 2016 3:20 pm

This link could help you: http://livecodeitalia.blogspot.it/search?q=xml
Use the button in the top right of the page to translate in your language. :D
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Databases”