How can I get a html code from some site(e.g. www.google.com) using vala(gtk)?
Asked
Active
Viewed 412 times
1 Answers
5
Use the Vala GIO File open shown here http://live.gnome.org/Vala/GIOSamples
var web_page = File.new_for_uri ("http://live.gnome.org/Vala");
This is the standard method of grabbing files and web pages and you can use the uri syntax for a number of supported protocols such as ssh, ftp, etc.
Martin Owens -doctormo-
- 20,245