Page 2 of 2
Re: initial method call when app launch
Posted: Wed Apr 27, 2016 2:13 pm
by theotherbassist
You are right there is little to no good documentation on LC7, especially for beginners.
I only meant LC7 lessons on XML were lacking... not lessons for the whole platform.
I concede,
Here is a very basic example:
http://forums.livecode.com/viewtopic.php?f=7&t=27137
Keep in mind, though, that I only figured this stuff out via the dictionary... And I'm a psychologist with no background in coding.

Re: initial method call when app launch
Posted: Wed Apr 27, 2016 2:21 pm
by bbhank
And I'm a psychologist with no background in coding.
You are a psychologist, you have THE background for coding.

Re: initial method call when app launch
Posted: Wed Apr 27, 2016 9:06 pm
by Simon
bbhank wrote:And yes, Simon I am using LC 7.1.3 and that is one of the stacks I have. I don't get any errors with it though.
OK I upgraded to 7.1.3 but I still can't get it to work.
Line 46 of the card script;
Code: Select all
put revCreateXMLTree(tWebPage, false, true, false) into tTreeID
The dictionary has no entry for "revCreateXMLTree", not even in LC v6 (where it does work for me), I wonder if it's a super secret left over.
Has "tob" answered your RSS problem?
Simon
Re: initial method call when app launch
Posted: Wed Apr 27, 2016 9:49 pm
by theotherbassist
Simon wrote:
The dictionary has no entry for "revCreateXMLTree", not even in LC v6 (where it does work for me), I wonder if it's a super secret left over.
Simon
Don't want to give away too much, but I tried to warn bbhank about that example being a particularly convoluted one... turns out it makes up its own syntax too
https://livecode.com/resources/api/#liv ... createtree
Re: initial method call when app launch
Posted: Wed Apr 27, 2016 10:30 pm
by bbhank
Answered Plus.
My epiphany was W3 Schools -
http://www.w3schools.com/xml/xml_whatis.asp.
That helped in understanding what's in a feed. Crucial. They explain exactly what XML is. Had to read it again and again.
These scripts do work. I wound up being able to produce this:
by using these as tutorials:
.
Gets you the feed from your choice of source, and links you to the article.
Thank you all. (Y'all)
