8000
Skip to content

RSS block not showing output for link: https://www.bom.gov.au/fwo/IDZ00060.warnings_wa.xml #1053

@Bopske

Description

@Bopske

As discussed here: https://www.tinyportal.net/index.php?topic=37008.0

This RSS feed does not produce an output in an RSS block
https://www.tinyportal.net/index.php?topic=37008.0

This link does:
https://feeds.rijksoverheid.nl/nieuws.rss

Checking the code I see the function TPparseRSS does not return an output when calling fetch_web_data($backend);

function TPparseRSS($override = '', $encoding = 0)
{
global $context, $smcFunc, $sourcedir;

// Initialise the number of RSS Feeds to show
$numShown = 0;

$backend = isset($context['TPortal']['rss']) ? $context['TPortal']['rss'] : '';
if ($override != '') {
	$backend = $override;
}

require_once $sourcedir . '/Subs-Package.php';
$data = fetch_web_data($backend); <<<<<<
$xml = simplexml_load_string($data);

I am not sure what the problem is, I do no not understand the code in the SMF file Subs.php and why it does not return a result.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0