MarceauKa / shaark

Self-hosted platform to keep and share your content: web links, posts, passwords and pictures.
582 stars 59 forks source link

Pingback system #48

Open MarceauKa opened 5 years ago

MarceauKa commented 5 years ago

A pingback system allowing Laravel shaarli instances to communicate

wyred commented 5 years ago

How would this work? Say if I add a new URL on my instance, it sends a ping to your instance, and the URL I posted also shows up on your instance?

MarceauKa commented 5 years ago

Let me quote wikipedia :)

A pingback is one of four types of linkback methods for Web authors to request notification when somebody links to one of their documents.

How it works: Site A want to mention (or answer) Site B content. A POST request is sent to Site B URL. If Site B accepts pingback, It'll go back to Site A to check existence of the content and the mention will be registered.

It can be a good alternative (or complement) to a comment system. Wordpress uses it.

immanuelfodor commented 4 years ago

I think it should be opt-in on every link shared as a switch like the "is private". This is a feature someone might want to use but others want to avoid on private instances.

cweiske commented 3 years ago

https://indieweb.org/Webmention is a standard that could be used here, together with the https://indieweb.org/bookmark markup.