Htmltext: storing data in markup

David Bovill david at vaudevillecourt.tv
Sun Jan 30 04:34:04 EST 2011


linkdata would be nice, but most of the benefit we can have already by
associating an array with a keyword stored in the linktext ("name=")
htmltext markup.

What I'm missing is the ability to markup text content  and apply styles of
easily extract semantic chunks of that content - the way you can do in HTML.
It is also the way we could do it in LiveCode if only it did not strip out
all the tags it does not care to display.

What I'd like to do is apply "<div id=code">.... </div>" to sections of text
in a field. I don;t care that this is not visible, because I can use that
info to style the text with code - I can also store/view HTML / CSS /
Javascript versions of the data.

My vote would be for LiveCode to have an option to keep all the html tags it
was given, but act like a basic browser control only displaying certain ones
of them.

An alternative would be to resurrect the "grouped text" syntax - and use div
tags for this one scenario - which would make intuitive sense even if it
breaks backward compatibility.

On 30 January 2011 09:09, Sivakatirswami <katir at hindu.org> wrote:

>  On 1/27/11 4:05 AM, Richard Gaskin wrote:
>
>>
>> If you may also have links in some of those runs, you may be interested in
>> this request for a linkData chunk property, which would allow us to use any
>> number of attributes in <a> tags, returned in an array as with clipboardData
>> and dragData:
>>
>> <http://quality.runrev.com/qacenter/show_bug.cgi?id=9347>
>>
>
> "Oh Man!" how useful that would be.. get's my vote...
>
> Just thinking of what you could do: attach image(s) sound(s) custom menus
> to text.
>
> "magic text" for kids (think little video popping up over one word,
> slideshow of animals over another..)
>
> Seriously useful reference links for students and "info mining" types.
>
> Hypertext to the max.
>
> skts
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list