Phase 1, part 4: promote the company's own products
- Content lists the company first, at /content/own: its products from the profile (always there to pick from), its own feeds (a new profile field for the blog, news and releases), and new or updated pages from its websites' sitemaps, with each page's title and description. - Drafts from it are kind "product" (utm_campaign=product), filed under the company's name, and prompted to promote the company's own work without unsupported claims; on Reddit, in the makers' voice, with a warning that self-promotion is often restricted. This completes Phase 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,10 @@ type Profile struct {
|
||||
Websites []Website `json:"websites"`
|
||||
Accounts Accounts `json:"accounts"`
|
||||
Keywords []string `json:"keywords"`
|
||||
// Feeds are the company's own RSS/Atom feeds: its blog, news and
|
||||
// releases (e.g. a GitHub or Gitea releases.atom), for promoting its
|
||||
// own work.
|
||||
Feeds []string `json:"feeds"`
|
||||
}
|
||||
|
||||
// IsSet reports whether the profile has the minimum the other modules need.
|
||||
@@ -86,6 +90,7 @@ func (p *Profile) Clean() {
|
||||
p.Voice = strings.TrimSpace(p.Voice)
|
||||
p.Avoid = CleanList(p.Avoid)
|
||||
p.Keywords = CleanList(p.Keywords)
|
||||
p.Feeds = CleanList(p.Feeds)
|
||||
|
||||
products := p.Products[:0]
|
||||
for _, pr := range p.Products {
|
||||
|
||||
Reference in New Issue
Block a user