Phase 8 part 4: where to win a link

Supermarket looks at each Inventory partner's pages that list providers,
hosts or partners (from their sitemap and home page) and keeps the ones
that list others but not the site; once a month by itself, or on
request. On request (up to 4 web searches), the AI finds lists of
alternatives to a competitor, and each page is read to keep the ones
that name others but not the company. Each opportunity can be marked
asked, won or dismissed; it's marked won when a link from its site shows
up. SEO → Links lists them; open ones join What to write next. Nothing
is sent: asking is the user's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 11:09:03 -07:00
co-authored by Claude Opus 5.5
parent 2fd3e43293
commit c3246bdb67
10 changed files with 597 additions and 2 deletions
+2 -1
View File
@@ -170,6 +170,7 @@ type LivePage struct {
Title string
Text string // its visible text
Links []string // its links to other sites, absolute
Inside []string // its links within its own site, absolute
}
// Page reads one page of a live site.
@@ -182,7 +183,7 @@ func (f *Fetcher) Page(ctx context.Context, u string) (*LivePage, error) {
if r.status == http.StatusOK {
p := PageReport{URL: u}
lp.Text = readPageText(&p, r.final, r.body)
lp.Title, lp.Links = p.Title, p.externalLinks
lp.Title, lp.Links, lp.Inside = p.Title, p.externalLinks, p.internalLinks
}
return lp, nil
}