/**
 * Strip 快科技 brand mentions from Chinese HTML/text.
 */
function hh_feed_sanitize_zh_brand_html($html)
{
    $html = (string) $html;
    if ($html === '') {
        return $html;
    }
    $html = preg_replace('/快科技/u', '', $html);
    $html = preg_replace('/(?<=>|^)\s*\d{1,2}月\d{1,2}日消息[，,:：]\s*/u', '', $html);
    $html = preg_replace('/(?<=>|^)\s*\d{4}年\d{1,2}月\d{1,2}日消息[，,:：]\s*/u', '', $html);
    return $html;
}

/**
 * Strip Kuai Technology brand strings from English text/HTML.
 */
function hh_feed_sanitize_en_brand($text)
{
    $text = (string) $text;
    if ($text === '') {
        return $text;
    }
    $text = preg_replace('/\bKuai\s*Technology\b/i', '', $text);
    $text = preg_replace('/[ \t]{2,}/', ' ', $text);
    return trim($text);
}

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://news.oldmanhub.com/en</loc><lastmod>2026-08-10T06:49:38+00:00</lastmod><changefreq>weekly</changefreq><priority>0.9</priority></url>
  <url><loc>https://news.oldmanhub.com/en/news</loc><lastmod>2026-08-10T06:49:38+00:00</lastmod><changefreq>daily</changefreq><priority>0.8</priority></url>
  <url><loc>https://news.oldmanhub.com/zh</loc><lastmod>2026-08-10T06:49:38+00:00</lastmod><changefreq>weekly</changefreq><priority>0.9</priority></url>
  <url><loc>https://news.oldmanhub.com/zh/news</loc><lastmod>2026-08-10T06:49:38+00:00</lastmod><changefreq>daily</changefreq><priority>0.8</priority></url>
</urlset>