FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   getting text from internet
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: getting text from internet  (Read 293 times)
rcamarinha

WWW
getting text from internet
« on: Feb 27th, 2004, 5:10am »

I'm doing a work wich is supposed to be a political speech generator, after seeing your work I think maibe you can help me.
 work and it's based on William Burroughs teories about making changes in real speeches  giving them new meaning.
The final purpose is to make a web page that can search the internet for political speeches and the destroy them making a new one with the mixture, the problem is making sense.
 
So I need help in  how to get the texts from a selected internet search and then mix them generating something with some kind of sense
 
thank you very much
 
Ricardo Camarinha
 
barikan

Email
Re: getting text from internet
« Reply #1 on: Feb 28th, 2004, 9:41pm »

you can input the content of a url into your application, for instance:
 
String lines[] = loadStrings("url here");  
for (int i=0; i < lines.length; i++) {  
  println(lines[i]);  
}
 
Also check this "Loading and Writing Files" technote:
http://processing.org/discourse/yabb/board_Syntax_action_displa_y_num_1036048513.html
 
 
These two works may be related to your project:
 
Ed Burton's Recentevents
http://www.aec.at/en/festival/programm/codedoc/burton/project.asp
 
GeneralNews
http://www.generalnews.de
 
 
michael05

WWW
Re: getting text from internet
« Reply #2 on: Feb 28th, 2004, 10:06pm »

i think this code does not work in the browser. there are security restrictions to just let load code from the same server. but it will work in p5.
 

°°°°°°°°°°°°°°°°°°°°
http://www.m05.de
Pages: 1 

« Previous topic | Next topic »