Extension: Get source code web page. Charset. International language

Get source code of web page. Charset. International language.

You can get source code of web page with Web component:
paginaweb2

But sometimes webpage is coded with another charset and get strangers chars.

With this extension you set charset of web page and get source code.

Charset:
https://en.wikipedia.org/wiki/Character_encoding

https://es.wikipedia.org/wiki/Codificaci%C3%B3n_de_caracteres

com.KIO4_SourceCodeWeb.aix (6.9 KB)

http://kio4.com/appinventor/247_extensoines_obtener_webfuente_colores.htm#sourcecode

8 Likes

Here an example of this extension:


http://kio4.com/appinventor/247_extensoines_obtener_webfuente_colores.htm#sourcecode

p247_charset_web.aia (8.1 KB)
com.KIO4_SourceCodeWeb.aix (6.9 KB)

Saludos.

3 Likes

nice :+1:

can you help me please how can i make the same thing
on php
i need to get a specific line from source code in my page
so when i request for example www.abc.de/request.php
this will bring the line from another page and show it as link or text
could you please give me any thing from you or google about that
thanks

To get source code from PHP use:

<?php
$f = file_get_contents("http://www.site.com/f");
echo $f;
?>
1 Like

Thanx a lot :+1:

Exelente trabajo gracias por compartir

Hi
when I load the pages I need, I get text like": "\u0412\u0440\u043e\u0434\u0435 \u0432\u0441\u0435 " tell me how this Json lead to a normal view (((((((((((((((((((((
help me pls

Can you help me ? I need get this result from these web site to use on my app

http://www.lugatim.com/s/deneme

ayuda !!! como puedo obtener el sorce code de una pagina protegida ,solo lo puedo ver en un webviewer ,pero no se como copiar desde ahi