2017-08-02 17:54 GMT+02:00 Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com>:
> Responding on top
>
> Jacque's method only gets us a list, not an array, so one ends up having
> to write more code to parse the list anyway, your method is more efficient.
>
> "not
Responding on top
Jacque's method only gets us a list, not an array, so one ends up having to
write more code to parse the list anyway, your method is more efficient.
"not comfortable with RegEx" Ha,, right. but it worth the effort to keep the
little grey cells green! I will have to study
2017-08-02 6:45 GMT+02:00 Sannyasin Brahmanathaswami:
Hi Brahmanathaswami,
Thanks Thierry
>
> though I'm yet sure when using regEx this is better than using Jacque's
> method
>
That's 2 different ways..
but with the regex one, you have the exact key and value of each tags,
nothing more to
Thanks Thierry
though I'm yet sure when using regEx this is better than using Jacque's method
on parseHeader pData
set the lineDel to "",l)-1 of l & cr
after tList
end repeat
-- do something with tList
end parseHeader
Either way it would seem prudent to extract the head first before
On 07/29/2017 01:16 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
LOL. I guess Brahmanathaswami's been around these parts long enough by
now to have OG status.
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
2017-07-29 22:16 GMT+02:00 Sannyasin Brahmanathaswami
:
> you want to extract from the of the document the openGraph tags
>
>
> https://www.youtube.
> com/user/kauaiaadheenam">
>
> https://yt3.ggpht.
> com/-p766LczvKHY/AAI/AAA/SIu6ZAJbMDc/s900-
>
" delimiters can now be more than a single character."
Hmm, that completely did not cross my mind… awesome..
On 7/29/17, 5:36 PM, "use-livecode on behalf of J. Landman Gay via
use-livecode" wrote:
Here's where it's handy that delimiters can now be more than a single
character. This should extract the lines you need regardless of whether
they contain carriage returns or not:
on parseHeader pData
set the lineDel to "",l)-1 of l & cr
after tList
end repeat
-- do something with
Hi Swami, I know you can do this in Javascript, but you will have to enumerate
through a JavaScript object to get all of the properties:
https://www.w3schools.com/jsref/prop_meta_content.asp
Sent from my iPhone
> On Jul 29, 2017, at 4:16 PM, Sannyasin Brahmanathaswami via use-livecode
>