Difference between revisions of "Component: Reddit News Headlines (Comms: IoT/Cloud)"

From Flowcode Help
Jump to navigationJump to search
 
Line 71: Line 71:
  
  
 
+
''<span style="color:red;">No additional examples</span>''
 
 
 
 
 
 
 
 
{{Fcfile|RTC DS1307 DS3231 Example.fcfx|RTC DS1307 DS3231 Example.fcfx}}
 
 
 
Example showing how to retrieve and display the time using bytes or string RTC component.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
==Macro reference==
 
==Macro reference==

Latest revision as of 14:41, 24 July 2024

Author MatrixTSL
Version 1.0
Category Comms: IoT/Cloud


Reddit News Headlines component

Easily allows you to collect the news headlines RSS feed from reddit.com

Component Source Code

Please click here to download the component source project: FC_Comp_Source_RedditNewsHeadlines.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_RedditNewsHeadlines.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

GetHeadline

Fc9-comp-macro.png GetHeadline
Returns the next headline in the prodivded string parameter. Returns true if a new headline is available, else returns false if we are at the end of the feed. 
Fc9-string-icon.png - STRING Headline
 
Fc9-u16-icon.png - UINT MaxLength
The maximum size of the string variable available to us. 
Fc9-bool-icon.png - BOOL Return


Initialise

Fc9-comp-macro.png Initialise
Sets up the component ready to collect weather data. 
Fc9-void-icon.png - VOID Return


RequestData

Fc9-comp-macro.png RequestData
Requests headline RSS feed from reddit Returns true if the request was successful. Must be called before trying to call the GetHeadline macro. 
Fc9-bool-icon.png - BOOL Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-17-icon.png Network Comms Component
Network Communications component to use as the bridge to the TCP/IP network. 
Fc9-type-10-icon.png Reddit IP Address
IP Address linked to the following URL: reddit.com 
Fc9-type-21-icon.png Receive Timeout
Maximum time to wait for valid incoming data.