Repository navigation
Add Merchant Center XML feed, post-sale cache/IndexNow refresh, and CloudFront v2 logs - #21
Merged
Merged
Conversation
…loudFront v2 logs - Add /p/merchant.xml Google Shopping RSS 2.0 product feed for Google Merchant Center and Pinterest Catalogs (identifier_exists=no, taxonomy IDs, 3D dimensions, item/shipping weights, WA/US Ground shipping rates, and live stock status). - Immediately invalidate /p/<id> and /p/*.xml feeds in CloudFront and notify IndexNow upon completed production checkouts (best-effort, non-blocking). - Enable cookie-free CloudFront standard logs v2 (JSON, 90-day lifecycle expiry) to private S3 buckets and add npm run seo-logs summary CLI. - Append ?utm_source=share to shared piece links and add Pinterest domain verification tooling (scripts/pinterest-verify.mjs and site.json pinterestVerify). - Record follow-up note for October batch scale weights (itemLb) in docs/seo-plan.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/p/merchant.xml): Serves live Google Shopping RSS 2.0 XML (xmlns:g="http://base.google.com/ns/1.0") fromApi(backend/src/piece-page.mjs,backend/src/piece.mjs,backend/src/handler.mjs, andscripts/serve.mjs) with<g:identifier_exists>no</g:identifier_exists>, primary + additional photos,in_stock/out_of_stock,google_product_category,product_type,material, 3D dimensions,product_weight,shipping_weight, handling/transit days, and WA + US<g:shipping>rates./p/*cache clear & IndexNow notification:backend/src/notify-sale.mjsinvalidates/p/<id>,/p/sitemap.xml,/p/feed.xml, and/p/merchant.xmlin CloudFront and notifies IndexNow immediately after a completed production checkout (with 3s timeouts and non-throwing error handling so payment responses are never affected).updraft-logs*S3 buckets with 90-day expiry and CloudWatch Logs v2 JSON delivery (deploy/site.yaml,deploy/copper-bell-publish-policy.json),npm run seo-logs(scripts/seo-logs.mjs) to summarise search/social/AI bot crawls, top piece views, andutm_sourcevisits, and?utm_source=shareon shared piece URLs (site/js/share.js).scripts/pinterest-verify.mjsto upsertpinterest-site-verificationin Route 53 alongside Google Search Console's TXT record, plus optionalpinterestVerify<meta name="p:domain_verify">support inscripts/build.mjs.itemLb) and coaster thickness follow-up indocs/seo-plan.md.Verification
npm run lint,npm run typecheck,npm run format:checknpm test(74/74 passing)e2e/seo.spec.mjs,e2e/piece.spec.mjs,e2e/piece-page.spec.mjs: 34/34 passing)stagingandprod(/p/merchant.xml,updraft-logs*v2 delivery, 301 canonical edge redirects, andCheckoutDISTRIBUTION_ID)