← back to Mylarwallpaper
mylarwallpaper: tighten niche filter — exclude competing-fiber products (fleet fix, 'it is not {niche}')
11288a79b95d87aa447f4a96e72d34efee01d94c · 2026-08-12 09:53:09 -0700 · steve
Files touched
Diff
commit 11288a79b95d87aa447f4a96e72d34efee01d94c
Author: steve <steve@designerwallcoverings.com>
Date: Wed Aug 12 09:53:09 2026 -0700
mylarwallpaper: tighten niche filter — exclude competing-fiber products (fleet fix, 'it is not {niche}')
---
.gitignore | 1 +
server.js | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 3a7a026..caca2c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ build/
*.bak.*
*.bak-*
*.pre-*
+.deploy.conf
diff --git a/server.js b/server.js
index 11d3818..0dfaf2b 100644
--- a/server.js
+++ b/server.js
@@ -86,7 +86,7 @@ let DROPPED = 0;
// graphics-loop pass 12: niche keyword filter — only show products that fit this site's niche
const NICHE_POS = ["mylar","foil","reflective","holographic","metallic"];
-const NICHE_NEG = ["solid","blank","plain"];
+const NICHE_NEG = ["solid","blank","plain","grasscloth","grass cloth","sisal","seagrass","jute","raffia","cork","linen","flax","silk","suede","leather","hemp","abaca","mica"]; // +competing-fiber exclusions (Steve fleet fix 2026-08-12: 'it is not {niche}')
function nicheFit(p) {
const blob = ((p.title || '') + ' ' + (p.tags || []).join(' ')).toLowerCase();
if (NICHE_NEG.some(n => blob.includes(n.toLowerCase()))) return false;
← ae44918 viewer standard: add per-field on/off menu (Fields ▾) to pro
·
back to Mylarwallpaper
·
mylarwallpaper: title-competitor guard — drop non-niche junk 3a2fa45 →