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:
@@ -117,7 +117,8 @@ func GetItems(d *db.DB, ids []string) ([]Item, error) {
|
||||
// Counts is how many items an entry has waiting (not used, not dismissed).
|
||||
func Counts(d *db.DB) (map[string]int, error) {
|
||||
rows, err := d.Query(`SELECT c.inventory_name, count(*)` + itemFrom + `
|
||||
WHERE d.item_id IS NULL AND c.used_at IS NULL GROUP BY c.inventory_name COLLATE NOCASE`)
|
||||
WHERE d.item_id IS NULL AND c.used_at IS NULL AND c.source != 'Product'
|
||||
GROUP BY c.inventory_name COLLATE NOCASE`)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user