initial method call when app launch

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

theotherbassist
Posts: 114
Joined: Thu Mar 06, 2014 9:29 am
Location: UK

Re: initial method call when app launch

Post by theotherbassist » Wed Apr 27, 2016 2:13 pm

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. :wink:

bbhank
Posts: 116
Joined: Thu Mar 17, 2016 6:04 pm

Re: initial method call when app launch

Post by bbhank » Wed Apr 27, 2016 2:21 pm

And I'm a psychologist with no background in coding.
You are a psychologist, you have THE background for coding. :D :wink:

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: initial method call when app launch

Post by Simon » Wed Apr 27, 2016 9:06 pm

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

theotherbassist
Posts: 114
Joined: Thu Mar 06, 2014 9:29 am
Location: UK

Re: initial method call when app launch

Post by theotherbassist » Wed Apr 27, 2016 9:49 pm

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

bbhank
Posts: 116
Joined: Thu Mar 17, 2016 6:04 pm

Re: initial method call when app launch

Post by bbhank » Wed Apr 27, 2016 10:30 pm

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. :D

These scripts do work. I wound up being able to produce this:
TFinderNews.png
by using these as tutorials:
rss_readers.zip
(17.34 KiB) Downloaded 35 times
.

Gets you the feed from your choice of source, and links you to the article.

Thank you all. (Y'all) 8)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”