You are not logged in! Log in or Register

TextReader

Description

The TextReader block reads in a URL and outputs the result as a string. Use a DataReader instead when the data is structured.

Attributes

  • Input [string input]: The block that outputs an url to be retrieved.
  • Name [string]: The name of the block.
  • RefreshTrigger [trigger input]: A block that fires a trigger when the data should be refreshed.
  • String [string, readonly]: The last string output.
  • StringChanged [event]: Event raised when the string has changed.
  • Url [string]: The URL of the image to download. When the ImageBuffer is specified, the ImageBuffer image will display until the image from the URL is loaded.

Output connectors

  • String: The downloaded text.

Example

1 <!-- This simple example will display the sourcecode of a webpage. -->
2 <TextReader Name="reader" Url="http://www.google.com"/>
3 
4 <VisualPage>
5 	<VisualContent>
6 		<VisualText Input="reader" MultiLine="true"/>
7 	</VisualContent>
8 </VisualPage>

User comments

Nothing comments yet. Be the first!

Leave a comment

You need to be logged in to post a comment.