Urgent.News

What's breaking now, across thousands of outlets.

Tech

I almost edited 25 documentation pages by hand. Then one WordPress plugin did it in 1 second.

I'm building BeeEngine JS , a lightweight 2D game engine for the browser, and I'm writing its documentation on WordPress, one page per module. Every doc page has the same sidebar listing all the modules. While a guide isn't written yet, its link is just an anchor: <li><a href= "#BeeAnimatedSprite" > BeeAnimatedSprite.js </a></li> When I publish the real guide, that link has to point to the new…

I recently built BeeEngine JS, a compact 2D game engine for browsers, and documented it on WordPress, one page per module. Each page featured a sidebar listing all modules. However, the documentation was incomplete - the guide link needed updating on every page. The manual approach was tedious: open page, edit, locate the line, paste the URL, save. Repeat 25 times, and this process would need to be repeated for the remaining 50 pages.

Enter Better Search Replace, a plugin that directly searches and replaces text in the WordPress database. The search was for href="#BeeAnimatedSprite" and replaced it with href="https://beeenginejs.com/animazione-spritesheet-in-javascript-play-update-e-draw/". The dry run showed 444 occurrences, indicating the change applied to all pages and revisions.

The operation took just 1,144 milliseconds to update every page. The author expressed relief and excitement, emphasizing the importance of backing up the database, performing a dry run, using a unique search term, clearing the cache, and verifying the link. This author also shared a tip to keep not-yet-published links as href="#ModuleName" for future updates.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Most of my content pages are secretly tables. Here is the data shape that works

Every content page I write starts as prose and ends up mostly tables. That was not the plan — it is what happened after watching which parts people actually used.

  • Content pages transform into primarily tables after observing reader engagement
  • Table format allows single glance data presentation compared to paragraphs
  • CSS class "table-scroll" enables mobile-friendly table viewing without horizontal scrolling

Tides: Tactile After-School Energy Pacing for My 11-Year-Old Daughter

What I Built I built Tides for my 11-year-old daughter, Nia , who just started 6th grade. Entering middle school is an immense sensory, physical, and cognitive leap.

  • App helps 11-year-old manage energy levels after school
  • Tactile zones guide afternoon activities based on energy level
  • Parents monitor progress through Parent Dashboard with key metrics

Steadywag: A Care Agent That Knows What His Paperwork Gets Wrong

This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content A medication was on the written list. The dog never got it.

  • Theo, an 8-year-old Shih Tzu, suffers from multiple chronic illnesses.
  • Caregivers relied on care plan documents without noticing a crucial detail.
  • Steadywag app aims to streamline care decisions by consolidating paperwork.

I built a manga colouriser for a friend, and it runs fully on my laptop

My friend Vinay reads a lot of manga, and it's all black and white. For the Hacktoberfest "Build for a Friend" challenge I built a tool that colours manga pages and keeps each character looking the…

  • Vinay requests manga colorizer for black-and-white pages
  • Application runs locally on laptop without cloud dependencies
  • Uses AI models like Stable Diffusion and OWL-ViT for colorization

TikTok, Reels and Shorts safe zones in pixels

TikTok puts buttons, captions and your name on top of your video. Text under them is hard to read. The safe zone is the area that stays clear.

  • TikTok requires 240px text distance from top, 660px from bottom, 120px from sides
  • Instagram Reels follows TikTok's 269px/672px/65px safe zone measurements
  • YouTube Shorts allows most generous 288px/672px/48px/192px text placement zone

More from Sunday 4 October →