reading_20rss_20feeds
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reading_20rss_20feeds [2018/03/31 13:19] – external edit 127.0.0.1 | reading_20rss_20feeds [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
* Extract the wanted information by parsing the contents of the XML file. | * Extract the wanted information by parsing the contents of the XML file. | ||
\\ Downloading the RSS data can easily be achieved by calling the function **PROCurldownload** which can be found [[/ | \\ Downloading the RSS data can easily be achieved by calling the function **PROCurldownload** which can be found [[/ | ||
+ | < | ||
<rss> | <rss> | ||
< | < | ||
Line 17: | Line 18: | ||
< | < | ||
< | < | ||
+ | </ | ||
To illustrate the process of downloading, | To illustrate the process of downloading, | ||
==== Weather example ==== | ==== Weather example ==== | ||
\\ The code below displays a summary of the weather forecast for the next three days (if you happen to live in Buckingham!): | \\ The code below displays a summary of the weather forecast for the next three days (if you happen to live in Buckingham!): | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 44: | Line 47: | ||
PROC_exitXML(xml{}) | PROC_exitXML(xml{}) | ||
END | END | ||
+ | </ | ||
If you want a more detailed forecast you can include the ' | If you want a more detailed forecast you can include the ' | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 72: | Line 77: | ||
PROC_exitXML(xml{}) | PROC_exitXML(xml{}) | ||
END | END | ||
+ | </ | ||
\\ | \\ | ||
==== News example ==== | ==== News example ==== | ||
\\ The code below lists the news headlines: | \\ The code below lists the news headlines: | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 97: | Line 104: | ||
PROC_exitXML(xml{}) | PROC_exitXML(xml{}) | ||
END | END | ||
+ | </ | ||
VDU 14 is used to pause the display at the end of each page until **Shift** is pressed. | VDU 14 is used to pause the display at the end of each page until **Shift** is pressed. |
reading_20rss_20feeds.1522502377.txt.gz · Last modified: 2024/01/05 00:16 (external edit)