You could use the network.request
Here is an example of creating a variable named News and then setting it depending on the info from the webpage.
local News
local function networkListener( event )
if ( event.isError ) then
News = 'Could not load news'
else
News = event.response
end
print(News)
end
network.request( "http://yourwebsitename.com/news.txt", "GET", networkListener )
This gets the response from the website and sets the News variable with the data, if its an error it just sets the news to Could not load news, if its not an error it sets it to whatever is in the news.txt file. Then it prints out the News variable. You could change it so it so that a newText display is created and displays the News variable on your app to the user.
The info for network.request can be found here [import]uid: 69700 topic_id: 17893 reply_id: 68295[/import]