Latest Updates

Documenting code, one commit at a time.

Java PHP 10 posts
×
PHP

Sitemap Maintenance: Removing a Route

Introduction

This post details a maintenance task focused on refining the sitemap of our application. Specifically, it addresses the removal of a route that no longer exists, ensuring the sitemap accurately reflects the application's available content.

The Issue

A route, previously designated as /pricing, was found to be non-existent in the application.

Read more
PHP Laravel

Automating Sitemap Updates on Deployment

The Problem

After each deployment to our production environment, we needed to manually clear the sitemap cache to ensure the latest content was reflected. This manual process was time-consuming and prone to errors.

The Approach

We automated the sitemap cache clearing process by creating a custom Artisan command that is executed as part of our deployment pipeline.

Implementation

Read more

Streamlining Content Publishing: Automated Platform Integration

Introduction

We've recently enhanced our platform to allow users to automate content publishing to external platforms like LinkedIn and Dev.to. This feature aims to simplify the content creation and distribution process by enabling users to set default publishing preferences.

Implementation Details

This enhancement introduces the ability for users to manage their auto-publishing

Read more
PHP Laravel

Enhancing Recommendation Widgets with LinkedIn Integration

Introduction

This post details how we enhanced recommendation widgets within our application by integrating LinkedIn. The goal was to provide users with a direct link to the original LinkedIn post when a recommendation has been shared on the platform.

Implementation

The enhancement involved adding a LinkedIn icon to the bottom-right corner of each recommendation card.

Read more
PHP Laravel Symfony

Enhancing Email Notifications with Transactional Headers and Code Style Improvements

Introduction

In our ongoing effort to improve the reliability and traceability of email communications within our application, we've recently implemented transactional email headers for recommendation notifications. This, coupled with some code style enhancements, aims to provide a more robust and maintainable system.

Transactional Email Headers

Transactional emails, such as

Read more

Refactoring Automation Settings in Our Application

Introduction

Our application's settings were becoming increasingly complex. The original design placed auto-publish preferences within the Integrations section, which no longer reflected the evolving functionality. To improve usability and maintainability, we decided to move these preferences to a dedicated Automation Settings page.

The Challenge

The existing structure presented several

Read more

Enhancing Technology Detection in Post Generation

Improving the accuracy and scope of technology detection is crucial for generating relevant and informative content. A recent update introduces rule-based technology detection, significantly expanding our ability to identify the technologies involved in code changes. This enhancement allows for more precise tagging and categorization of blog posts, benefiting both content creators and readers.

Read more
PHP

Fixing Newsletter Digest Scheduling: A Matter of Minutes

Sometimes the smallest oversights can lead to significant issues. Recently, we encountered a problem where our newsletter digest wasn't being sent as expected. The culprit? An overly precise time comparison.

The Problem: Exact-Minute Matching

The original scheduling logic used an isDue() function that compared both the hour and minute. However, the scheduler was designed to run hourly,

Read more

Content Negotiation for AI Agents: Serving Markdown

Our application now supports content negotiation to better serve AI agents and LLMs. We've added the ability to return Markdown instead of HTML when requests include the Accept: text/markdown header.

This enhancement allows AI agents to directly consume the raw Markdown content of our posts, simplifying parsing and improving efficiency.

The Problem

Previously, our application served HTML

Read more