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
“We've worked with Dev Partners a few times now to support us on web build bespoke tasks where their expertise has allowed us to create the aesthetic we've been striving to achieve. They're very easy to work with, approachable and explain the detail in a way that's understandable. A great partner for technical issues at sensible prices.”
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.