Blogger: Client-side Ping Tool (UI only)
Simple Google Index / Ping Tool — Frontend demo
Paste one URL per line in the textarea, then click Start Pings. The tool will attempt to send XML-RPC pings to a set of endpoints and show per-endpoint results.
Use a server-side proxy if you run into CORS errors. See the server snippet included in this file (in comments).
concurrency = parallel requests; delay = ms between batches
Ready. Endpoint count: 0
| # | URL | Endpoint | Status | Details |
|---|
About — how this works
- For every URL you provide, the tool sends an XML-RPC
weblogUpdates.pingPOST to each endpoint. - If the endpoint responds with HTTP 200, the tool marks it Success (best-effort).
- Because browsers enforce CORS, many endpoints will show an error unless you proxy the request server-side.
Server proxy snippet (Node/Express) — included in this file (also visible below). Run it on your server and use proxyURL + encodeURIComponent(endpoint) as your Proxy input.
// Node/Express proxy (example)
// Save as server-proxy.js and run: npm install express node-fetch cors && node server-proxy.js
/*
const express = require('express');
const fetch = require('node-fetch');
const cors = require('cors');
const app = express();
app.use(cors());
app.use(express.text({limit:'1mb'}));
// Example: GET /proxy?target=https%3A%2F%2Frpc.pingomatic.com
app.all('/proxy', async (req, res) => {
try {
const target = req.query.target;
if (!target) return res.status(400).send('Missing target param');
const method = req.method || 'POST';
const body = req.body || req.query.body || '';
const headers = { 'User-Agent': 'Simple-Ping-Tool/1.0', 'Content-Type': 'text/xml' };
const r = await fetch(target, { method, headers, body });
const text = await r.text();
res.status(r.status).set('Content-Type','text/plain').send(text);
} catch (err) {
res.status(500).send(err.toString());
}
});
app.listen(3000, ()=>console.log('Proxy listening on http://localhost:3000'));
*/
Comments
Post a Comment