-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Ublog: disclose sponsored content, affiliate links or commercial advertisement in posts #17121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ublog: disclose sponsored content, affiliate links or commercial advertisement in posts #17121
Conversation
9745ab3 to
e1ada6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation looks correct 👍
| live: Boolean, | ||
| discuss: Option[Boolean], | ||
| sticky: Option[Boolean], | ||
| ads: Option[Boolean], // boo! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
| ), | ||
| form3.checkbox( | ||
| form("ads"), | ||
| "Includes promotion", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "promoted / sponsored content"
It's actually easier and better to filter as a UblogPost.topic, as a db index already exists I would prefer that, except that your extra form toggle allows for a explanatory description, which is probably necessary. |
The actual text labels are WIP, just want to make sure the implementation is right first. I initially thought about just adding a "promotion" tag, but having a separate field in the db will allow for easier filtering later.