RSS Intergration

Option 1: WordPress

Feedzy RSS Plugin Integration

RSS Flow: https://www.synodresources.org/feed/?post_type=resource_post/

Option 2: Frontend Javascript

const RSS_URL = `https://www.synodresources.org/feed/?post_type=resource_post/ `;

Remember to select the lang

fetch(RSS_URL)

.then(response => response.text())

.then(str => new window.DOMParser().parseFromString(str, “text/xml”))

.then(data => console.log(data))

Option 3: Backend PHP

Remember to select the lang

$content = file_get_contents(“https://www.synodresources.org/feed/?post_type=resource_post/ “;

$a = new SimpleXMLElement($content);

echo “<ul>”;

foreach($a->channel->item as $entry) {

echo “<li><a href=’$entry->link’ title=’$entry->title’>” . $entry->title . “</a></li>”;

} echo “</ul>”;