How do I parse HTML codes?

Get help using Construct 2

Post » Wed Aug 12, 2015 7:14 am

For exampe, I need parse the site's favicon in an iframe. Thanks in advance.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Wed Aug 12, 2015 9:22 pm

Maybe try the Construct XML plugin and use some JavaScript?
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Thu Aug 13, 2015 7:26 am

@gumshoe2029 Yes, I've already getting the inner html. But I want recognize each code, such as favicon <link> elements value.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Thu Aug 13, 2015 3:59 pm

I am not as familiar with the XML plugin, but Java libraries for XML let me search for specific tags within the XML.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Thu Aug 13, 2015 6:34 pm

I need a thing integrated with C2.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Sun Aug 23, 2015 2:51 am

@gumshoe2029 Do U know any thing integrated with Construct 2 to achieve this?
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Sun Aug 23, 2015 4:20 am

You can integrate any kind of Javascript into Construct using the SDK to make custom plugins.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: vegapomme27 and 7 guests