This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
working_with_rss [2019/07/23 15:13] nmckillop e |
working_with_rss [2019/08/02 15:19] (current) nmckillop oops, missing semi-colon |
||
---|---|---|---|
Line 22: | Line 22: | ||
Take a look at the RSS page in your browser: https://glasgow.social/tags/coding.rss | Take a look at the RSS page in your browser: https://glasgow.social/tags/coding.rss | ||
- | It might not be very clear, but by comparing the version in the web browser to this RSS version you could be able to identify the content (it starts with the ''<item>'' tag and has a ''<title>'', ''<description>'', ''<link>'' etc). Here are the first two items (they content will change in your version based on when you view this page). | + | It might not be very clear, but by comparing the version in the web browser to this RSS version you should be able to identify the content (it starts with the ''<item>'' tag and has a ''<title>'', ''<description>'', ''<link>'' etc). Here are the first two items (they content will change in your version based on when you view this page). |
<code xml> | <code xml> | ||
Line 64: | Line 64: | ||
<?php | <?php | ||
- | $rss_url = "https://glasgow.social/tags/coding.rss" | + | $rss_url = "https://glasgow.social/tags/coding.rss"; |
// read the RSS file into the $content variable | // read the RSS file into the $content variable |