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:
@@ -61,6 +61,7 @@ type RedditCheck struct {
|
||||
Target string
|
||||
HasLink bool // the draft carries a link
|
||||
OwnLink bool // to the company's own site
|
||||
Promo bool // it promotes the company's own product
|
||||
Info *reddit.Subreddit // nil if the rules couldn't be read
|
||||
History []reddit.Submission // the account's recent posts; nil if unknown
|
||||
Own func(url string) bool
|
||||
@@ -72,6 +73,9 @@ type RedditCheck struct {
|
||||
func RedditWarnings(c RedditCheck) []string {
|
||||
var w []string
|
||||
sub := "r/" + c.Target
|
||||
if c.Promo {
|
||||
w = append(w, "This promotes your own work. Many subreddits allow that only in designated threads, or not at all: check the rules.")
|
||||
}
|
||||
if c.Info == nil {
|
||||
w = append(w, "Couldn't read "+sub+"'s rules: check them on Reddit before posting.")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user