<!doctype html> <html> <head> <title>This is an endpoint for the mySites.guru service.</title> <meta charset="UTF-8"> <meta name="robots" content="noindex, follow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdn.tailwindcss.com?plugins=typography"></script> </head> <body class="bg-slate-50 dark:bg-slate-900 p-5 md:p-20"> <main id="content" role="main" class="prose lg:prose-xl"> <img src="https://mysitesblog.b-cdn.net/img/logo.png" class="size-32 rounded-lg" alt="mySites.guru logo"> <div class="max-w-[85rem] bg-white border-4 border-black p-10 rounded-2xl"> <main class="max-w-3xl"> <p class="mb-2 text-sm font-semibold text-blue-600">About this folder</p> <h1 class="block text-2xl font-bold text-gray-800 sm:text-3xl dark:text-white">This is the endpoint for the mySites.guru service.</h1> <p class="mt-2 text-lg text-gray-800 dark:text-gray-400">The Ultimate Toolset for <a href="https://mysites.guru" title="managing multiple WordPress">managing multiple WordPress</a> / <a href="https://mysites.guru" title="managing multiple Joomla">managing multiple Joomla sites</a></p> <p class="mt-2 text-2xl text-green-800 font-semibold dark:text-gray-400 text-center">If you are seeing this page, then the plugin is installed and ready to be securely connected to from your mySites.guru account.</p> <p class="mt-2 text-lg text-gray-800 dark:text-gray-400">If you have any questions about the mySites.guru service please contact <a href="https://www.phil-taylor.com/">Phil E. Taylor</a> through his website, or use the contact form on <a href="https://mySites.guru">mySites.guru</a> or try our latest blog posts:</p> <div class="articles"></div> </main> </div> </main> <script> document.addEventListener('DOMContentLoaded', () => { fetch('https://mysites.guru/feed/?rel=endpoint') .then(response => response.text()) .then(str => new window.DOMParser().parseFromString(str, "text/xml")) .then(data => { const items = data.querySelectorAll("item"); let html = ``; items.forEach(el => { html += ` <article> <a href="${el.querySelector("link").innerHTML}" title="${el.querySelector("title").innerHTML}"> ${el.querySelector("title").innerHTML} </a> </article> `; }); document.querySelector('.articles').insertAdjacentHTML("beforeend", html); }); }); </script> </body> </html>