| 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
RTC DS1307 DS3231 Example.fcfx
Example showing how to retrieve and display the time using bytes or string RTC component.
Macro reference
|
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.
|
- STRING
|
Headline
|
|
|
- UINT
|
MaxLength
|
| The maximum size of the string variable available to us.
|
- BOOL
|
Return
|
|
RequestData
|
| Requests headline RSS feed from reddit Returns true if the request was successful. Must be called before trying to call the GetHeadline macro.
|
- BOOL
|
Return
|
|
Initialise
|
| Sets up the component ready to collect weather data.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
Network Comms Component
|
| Network Communications component to use as the bridge to the TCP/IP network.
|
|
Reddit IP Address
|
| IP Address linked to the following URL: reddit.com
|
|
Receive Timeout
|
| Maximum time to wait for valid incoming data.
|
==Macro reference==
|
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.
|
- STRING
|
Headline
|
|
|
- UINT
|
MaxLength
|
| The maximum size of the string variable available to us.
|
- BOOL
|
Return
|
|
RequestData
|
| Requests headline RSS feed from reddit Returns true if the request was successful. Must be called before trying to call the GetHeadline macro.
|
- BOOL
|
Return
|
|
Initialise
|
| Sets up the component ready to collect weather data.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
Network Comms Component
|
| Network Communications component to use as the bridge to the TCP/IP network.
|
|
Reddit IP Address
|
| IP Address linked to the following URL: reddit.com
|
|
Receive Timeout
|
| Maximum time to wait for valid incoming data.
|
==Macro reference==
|
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.
|
- STRING
|
Headline
|
|
|
- UINT
|
MaxLength
|
| The maximum size of the string variable available to us.
|
- BOOL
|
Return
|
|
RequestData
|
| Requests headline RSS feed from reddit Returns true if the request was successful. Must be called before trying to call the GetHeadline macro.
|
- BOOL
|
Return
|
|
Initialise
|
| Sets up the component ready to collect weather data.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
Network Comms Component
|
| Network Communications component to use as the bridge to the TCP/IP network.
|
|
Reddit IP Address
|
| IP Address linked to the following URL: reddit.com
|
|
Receive Timeout
|
| Maximum time to wait for valid incoming data.
|