← back to Silkwallpaper
fix(catalog): show ALL real silk wallpaper (331->747) — title-silk always kept; drop over-aggressive blob-NEG that dropped 416 genuine silk products
ce63e2546016a0ad0b4f96463907d9ffa1af42cd · 2026-08-17 08:58:06 -0700 · Steve Abrams
Files touched
Diff
commit ce63e2546016a0ad0b4f96463907d9ffa1af42cd
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Aug 17 08:58:06 2026 -0700
fix(catalog): show ALL real silk wallpaper (331->747) — title-silk always kept; drop over-aggressive blob-NEG that dropped 416 genuine silk products
---
server.js | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/server.js b/server.js
index 33233e2..a643fb4 100644
--- a/server.js
+++ b/server.js
@@ -89,11 +89,12 @@ let DROPPED = 0;
const NICHE_POS = ["silk","luxe","sheen","jacquard","satin"];
const NICHE_NEG = ["solid","blank","plain","grasscloth","grass cloth","sisal","seagrass","jute","raffia","cork","linen","flax","mica","mylar","suede","leather","hemp","abaca"]; // +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;
- // Title-required (matches linenwallpaper): silk signal must be in the product's NAME,
- // not a stray tag — else a "silk"-tagged bamboo/paper-weave leaks onto a SILK site
- // (Cody gate, verified 2026-08-12). Both silk sites stay healthy at 331.
+ // Steve 2026-08-17 "all real silk wallpaper from dw site": show EVERY product whose NAME
+ // says silk (incl. silk/linen blends like "Burnished Silk - Linen"). Title-required is the
+ // anti-leak guard — a stray "silk" TAG on a bamboo/abaca product has no silk in its NAME, so
+ // it stays out (Cody gate preserved). Dropped the blob-NEG pre-reject that was throwing out
+ // 416 genuine silk wallpapers whose tags merely mentioned "solid"/"plain"/a colorway fiber
+ // (331 -> ~747).
const title = (p.title || '').toLowerCase();
return NICHE_POS.some(k => title.includes(k));
}
← af1233c feat(silk hero): rotate 4 clean AI-generated silk heroes (sa
·
back to Silkwallpaper
·
feat(silk hero): rotate 4 room settings (silk wallcovering o 10308c8 →