Blog

Guides and analysis on AI commerce, agentic systems, Generative Engine Optimization, and digital marketing automation.

Some articles could not be loaded. Available articles are shown below; refresh to retry.

\s*/g, ''); // Strip broken empty wp-block-embed figures and leaked raw VideoObject JSON from WP content cleaned = cleaned.replace( /]*class="[^"]*wp-block-embed[^"]*"[^>]*>\s*]*>\s*\s*/gi, '' ); cleaned = cleaned.replace( /(?:)?\s*\{(?:“|"|“)@context(?:”|"|”):[\s\S]*?(?:“|"|“)VideoObject(?:”|"|”)[\s\S]*?\}\s*(?:)?/gi, '' ); // Upgrade any portrait YouTube video wrapped in a 16:9 (padding-bottom:56.25%) container to a 9:16 portrait container cleaned = cleaned.replace( /]*>\s*\s*(]*src="https:\/\/www\.youtube(?:-nocookie)?\.com\/embed\/([a-zA-Z0-9_-]{11})"[^>]*>)\s*\s*/gi, (match, iframeHtml, ytId) => { if (!PORTRAIT_VIDEO_IDS.has(ytId)) return match; return `${iframeHtml}`; } ); return cleaned; } /** Strip all HTML tags — use for excerpt/preview plain-text rendering. */ export function stripHtml(content: string): string { if (!content) return ''; return cleanContent(content).replace(/]*>/g, '').trim(); } import React, { useState } from 'react'; import { useNavigate, Link, useParams } from 'react-router-dom'; import { useQuery } from '@apollo/client'; import { GET_CATEGORIES } from '../lib/queries'; import { Button } from './Button'; import { Search, ChevronRight, Hash } from 'lucide-react'; import { localPosts } from '../data/local-posts'; export function BlogSidebar() { const navigate = useNavigate(); const { data, loading } = useQuery(GET_CATEGORIES); const { categorySlug } = useParams(); const [searchTerm, setSearchTerm] = useState(''); const wpCategories = (data?.categories?.nodes || []).filter((cat: any) => cat.count > 0); const localCategoriesMap = localPosts.reduce((acc, post) => { if (!acc[post.category.slug]) { acc[post.category.slug] = { name: post.category.name, slug: post.category.slug, count: 0 }; } acc[post.category.slug].count++; return acc; }, {} as Record); const localCategories = Object.values(localCategoriesMap); const handleSearch = (e: React.FormEvent) => { e.preventDefault(); if (searchTerm.trim()) { navigate(`/blog?s=${encodeURIComponent(searchTerm)}`); } }; return ( {/* Search Widget */} Search setSearchTerm(e.target.value)} placeholder="Search articles..." className="w-full bg-of-paper border border-of-rule rounded-xl px-4 py-2.5 text-of-ink placeholder-of-muted focus:outline-none focus:ring-2 focus:ring-blue-500/15 focus:border-of-signal transition-all" /> {/* Categories Widget */} Categories All Articles {localCategories.sort((a, b) => b.count - a.count).map((cat) => ( {cat.name} {cat.count} ))} {!loading && wpCategories.filter((wpCat: any) => !localCategoriesMap[wpCat.slug]).map((cat: any) => ( {cat.count} ))} {loading && ( )} {/* Internal Feature Cards */} SignalOps Flagship GTA VI AI Media Engine Turn gameplay & roleplay streams into an automated short-form viral audience stack.

Is your site blocked in ChatGPT, Claude, or Perplexity? Run an instant robots.txt audit.

Latest articles