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
+28
View File
@@ -85,6 +85,34 @@
<div class="actions"><button type="submit" class="secondary">Add and check</button></div>
</form>
</section>
<section class="card" id="opportunities">
<h2>Where to win a link</h2>
<p class="small">Pages that list others like you but not you: your Inventory partners' pages of providers and hosts, and lists of alternatives to your competitors. Nothing is sent from here: open the page, ask them (a short, friendly note usually does it), and mark it. When the link shows up (Bing, or a check), it's marked won.</p>
<div class="row">
<form method="post" action="/seo/links/partners?site={{$d.Current.Index}}" data-busy="Reading their pages…"><button type="submit" class="secondary small" {{if not $d.Partners}}disabled{{end}}>Look at the partners' pages</button></form>
<span class="small muted">{{if $d.Partners}}{{$d.Partners}} {{if eq $d.Partners 1}}partner{{else}}partners{{end}} in the Inventory; looked at once a month by itself.{{else}}No partners in the <a href="/inventory">Inventory</a> yet: add the projects and companies you work with, with their websites.{{end}}</span>
</div>
{{with $d.Competitors}}
<form method="post" action="/seo/links/alternatives?site={{$d.Current.Index}}" class="row" data-busy="Searching…">
<label class="inline">Lists of alternatives to
<select name="competitor">{{range .}}<option value="{{.ID}}">{{.Name}}</option>{{end}}</select></label>
<button type="submit" class="secondary small" {{if $d.Research}}disabled{{end}}>Find them (up to 4 web searches)</button>
{{with $d.Research}}<span class="small warn-text">{{.}}</span>{{end}}
</form>
{{else}}<p class="small muted">Add competitors to the <a href="/inventory">Inventory</a> to look for lists of alternatives to them.</p>{{end}}
{{with $d.Opportunities}}
<table class="list">
<thead><tr><th>Page</th><th>Why</th><th>Status</th><th></th></tr></thead>
<tbody>{{range .}}<tr>
<td class="small"><a href="{{.Page}}" target="_blank" rel="noopener noreferrer">{{or .Title .Page}}</a><br><span class="muted">{{.Host}} · {{if eq .Kind "partner"}}partner {{.About}}{{else}}alternatives to {{.About}}{{end}}</span></td>
<td class="small">{{.Note}}</td>
<td><span class="badge {{if or (eq .Status "won") (eq .Status "listed")}}published{{else if eq .Status "asked"}}scheduled{{end}}">{{.Status}}</span></td>
<td class="small">{{$id := .ID}}{{range $st := (statusesFor .Status)}}<form method="post" action="/seo/links/opportunity?site={{$d.Current.Index}}" class="inline"><input type="hidden" name="id" value="{{$id}}"><input type="hidden" name="status" value="{{$st}}"><button type="submit" class="link small">{{if eq $st "asked"}}I asked{{else if eq $st "won"}}Won{{else if eq $st "dismissed"}}Dismiss{{else}}Reopen{{end}}</button></form> {{end}}</td>
</tr>{{end}}</tbody>
</table>
{{else}}<p class="help">None found yet.</p>{{end}}
</section>
{{end}}
{{end}}{{end}}