Insights, perspectives, and stories on software, business, and innovation.
A quick note on how we've just replaced a missing index on a Perch site belonging to one of our clients.
The script below will load all posts, iterate over them and regenerate the index:
include('perch/runtime.php');
$API = new PerchAPI(1.0, 'perch_blog');
$Posts = new PerchBlog_Posts($API);
$posts = $Posts->all();
if (PerchUtil::count($posts)) {
$c=1;
foreach($posts as $Post) {
echo "Reindexing post {$c}\n";
$Post->index();
$c++;
}
}
Published
“I've worked with Rob and his team off and on for many years and have always found them to be professional, knowledgeable and best of all they listen to their clients and deliver what is required.”
If clunky systems are slowing you down, let’s talk. No sales patter. No corporate waffle. Just a straightforward conversation about fixing the stuff that wastes your time.
Two normal blokes who happen to be good at untangling messy systems. We’ll talk to you like humans, not consultants, and help you find the simplest way forward.
We’ll reply within one working day. No spam. No waffle.