You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If people comment, like, or repost one of your entries, this should be reflected on the entry page. This is likely going to require another database table (or two) to store them.
Person table for storing unique individuals interacting.
Interaction table, referring to a specific person and post.
However, because I value data collection and privacy, a disclaimer should be displayed somewhere on the page stating that their data can be permanently removed from the site by emailing the site owner. Hooray for GDPR!
Create tables
Display webmentions
Webmention endpoint
Determine entry type on source URL
Determine post content on source URL
Determine published date on source URL
Determine author card details (image, name, URL)
Store interaction in database
Retrieve person from database if they already exist (instead of inserting)
Update person cache's image URL and name if they already exist
Support updating existing webmentions (which includes preventing duplicate interactions)
Support deleting existing webmentions (if, upon updating, the source URL return 410 Gone)
Limit fetching source contents to 5 seconds or 1MB of data
(optional) Provide CSRF token on a post's webmention URL and validate it before accepting. See Cross-Site Request Forgery.
The text was updated successfully, but these errors were encountered:
Webmentions processed and stored as of 4872db8, but further processing will need to be done to prevent duplicate webmentions from being stored, as well as determining what type of webmention is being added (eg. reply, like, repost, bookmark, etc)
If people comment, like, or repost one of your entries, this should be reflected on the entry page. This is likely going to require another database table (or two) to store them.
However, because I value data collection and privacy, a disclaimer should be displayed somewhere on the page stating that their data can be permanently removed from the site by emailing the site owner. Hooray for GDPR!
410 Gone
)The text was updated successfully, but these errors were encountered: