Tag: web-development
javascript - How to share URL and copy to clipboard with URL change - Stack Overflow
Useful code for triggering copying something to clipboard from Javascript
Saved by: Paul on 28 Feb 2024
Topics API developer guide - Chrome Developers
The header to use to opt out your site/page from Google's new Topics calculating system for tracking people. Opt out your site You can opt out of topic calculation for specific pages on your site by including the Permissions-Policy: browsing-topics=() Permissions-Policy header on a page to prevent topics calculation for all users on that page only.
Saved by: Paul on 12 Sep 2023
Dave's Tech Blog: Making a PUT request using PHP and cURL
How to send JSON as a PUT request to an API using PHP and cURL
Saved by: Paul on 14 Aug 2023
Estimating the number of your RSS subscribers
The user agent of some feed reading services give you their subscriber numbers for your feed in their User Agent, so you can pick it out from your site access log
Saved by: Paul on 21 Jun 2023
Style your RSS feed
How to use an XSLT file to restyle your XML sitemap to be more human friendly and branded
Saved by: Paul on 21 Jun 2023
Provide Blog Metadata via JSON-LD
A practical guide for neatly adding information to a blog post to help search engines understand the page.
Saved by: Paul on 10 Feb 2023
Bots that impersonate Googlebot - John Mueller's randoms
How to try to check if a bot that is heavily crawling your website is actually GoogleBot or someone spoofing as them
Saved by: Paul on 14 Dec 2022
Implementing a copy to clipboard button
Implementing a "copy to clipboard" button with Javascript
Saved by: Paul on 21 Nov 2022
mod rewrite - htaccess - .htaccess in sub directory not inheriting .htaccess in root directory - Server Fault
How to get an .htaccess file to use re-writes set by an htaccess in parent directory: RewriteOptions InheritBefore RewriteEngine on RewriteBase /
Saved by: Paul on 7 Oct 2022
Documentation | IndexNow.org
A way of sending updated pages to Bing and other supporting search engines, rather than using the old ping about an XML sitemap update. Bing turned off receiving the XML sitemap pings in late 2021.
Saved by: Paul on 21 Sep 2022