Re: Help Wrapping HTMLTidy in LCB

2019-12-10 Thread Trevor DeVore via use-livecode
On Mon, Dec 9, 2019 at 12:28 PM Trevor DeVore wrote: > UPDATE: > > I made some progress on the HTMLTidy project and this morning Mark > Waddingham and Brian Milby helped me over the last hurdle. The code base > now has a tidyHTMLToXHTML() function which works on macOS. You can try it > out using

Re: Help Wrapping HTMLTidy in LCB

2019-12-09 Thread Trevor DeVore via use-livecode
On Fri, Nov 22, 2019 at 10:30 AM Trevor DeVore wrote: > While looking at solutions for converting HTML into XHTML that can be > parsed by revXML I decided to test HTMLTidy which has an option to output > the input as XHTML. While I could bundle up the tidy command line tool and > include it with

Re: Help Wrapping HTMLTidy in LCB

2019-11-23 Thread Trevor DeVore via use-livecode
On Sat, Nov 23, 2019 at 10:52 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it really worth the work to do that from LCB? In my opinion, yes. If for no other reason then that with each library that is wrapped in LCB I learn what the limitations are in LCB or I learn how to

Re: Help Wrapping HTMLTidy in LCB

2019-11-23 Thread hh via use-livecode
Is it really worth the work to do that from LCB? A while ago I installed HTML tidy 5.6.0 from here http://binaries.html-tidy.org (the Mac .dmg) Then I copied the binary "tidy" from /usr/local/bin compressed to my stack (=231 KByte). Now I use it from there, running it in the temporary folder via

Re: Help Wrapping HTMLTidy in LCB

2019-11-22 Thread Trevor DeVore via use-livecode
On Fri, Nov 22, 2019 at 5:31 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Trevor DeVore wrote: > > > HTML may be placed on the clipboard when copying text and images > > from web browsers or by our good friend Microsoft Word. Microsoft > > Word places some very

Re: Help Wrapping HTMLTidy in LCB

2019-11-22 Thread Richard Gaskin via use-livecode
Trevor DeVore wrote: > HTML may be placed on the clipboard when copying text and images > from web browsers or by our good friend Microsoft Word. Microsoft > Word places some very "interesting" HTML on the clipboard that > needs to be massaged quite a bit before running it through revXML. Are

Re: Help Wrapping HTMLTidy in LCB

2019-11-22 Thread Trevor DeVore via use-livecode
On Fri, Nov 22, 2019 at 2:25 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Trevor DeVore wrote: > > > While looking at solutions for converting HTML into XHTML that can be > > parsed by revXML I decided to test HTMLTidy which has an option to > > output the input

Re: Help Wrapping HTMLTidy in LCB

2019-11-22 Thread Richard Gaskin via use-livecode
Trevor DeVore wrote: > While looking at solutions for converting HTML into XHTML that can be > parsed by revXML I decided to test HTMLTidy which has an option to > output the input as XHTML. While I could bundle up the tidy command > line tool and include it with my app, I prefer to wrap things

Help Wrapping HTMLTidy in LCB

2019-11-22 Thread Trevor DeVore via use-livecode
Hello, While looking at solutions for converting HTML into XHTML that can be parsed by revXML I decided to test HTMLTidy which has an option to output the input as XHTML. While I could bundle up the tidy command line tool and include it with my app, I prefer to wrap things up in LCB if possible.