Is it possible to change the revlet embed html?
andre at andregarzia.com
Fri Dec 4 09:35:02 EST 2009
Create your own html after the revlet is built is the best option. If I were
you, I would not bother changing the html that rev generates, I would
instead build new htmls from the scratch. I think rev sends a message after
the revlet is built, this could trigger the new html creation. Also, it
might have flown below your radar but checkout revletobject at
http://hg.andregarzia.com/revletobject it is easier than working with the
raw embed tag.
On Thu, Dec 3, 2009 at 1:18 PM, George C Brackett
<gbrackett at luceatlux.com>wrote:
> I'm planning a simple programming course for high school using revMedia
> (because it's free), which only produces revlets. I was immediately stumped
> by an early project to create and gradually improve an Assignments stack
> that would help our students keep track of their assignments. Alas, saving
> the current state of a revlet is not possible.
> One way to enable students to produce information-handling projects for
> themselves (where information is entered, stored, edited, deleted) would be
> giving them an environment where the URL of the revlet is passed by
> parameter to the revlet code, and including a pre-written 'save' command in
> a project starter stack that can write the information to a text file at the
> revlet's URL. A big help would be to alter the standard test HTML so that
> the embed code passes that information.
> Is it possible to change the test HTML generated by revMedia? Where is it
> stored? Or can you think of a better way to set things up so that students
> can store information-handling revlets in their own accounts on a school
> server and not have to run them in revMedia but just call them up on a
> browser? I would REALLY like to engage students in creating revlets that
> other kids at the school can use.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the Use-livecode