Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pingback support #75

Open
Leomaradan opened this issue Apr 15, 2013 · 2 comments
Open

Pingback support #75

Leomaradan opened this issue Apr 15, 2013 · 2 comments

Comments

@Leomaradan
Copy link

Shaarli don't have a comment system. sometime, it's difficult to respond to a shared link. For exemple, Seb share a link about PHP optimization (http://www.sebsauvage.net/links/?VEc_LQ). I want to respond because, IMHO, the article contains errors. I have 2 solutions :

1: Share the permalink of Seb's Shaarli in my own Shaarli with my comment. But if Seb don't read my Shaarli, he can't read my comment
2: Send an email to Seb. And now Seb receive hundreds of emails

I propose to add pingback mecanism:
When adding a link, my Shaarli will check if the page has pingback support.

The popular use is by adding a <link> in the head of the page (<link rel="pingback" href="http://urlofmyblog.com/xmlrpc.php" />). This syntax is used by WordPress, for the exemple

If pingback is supported by the page, Shaarli sent a message to the url indicated by the link balise.

In the other side, if a visitor share a link from my Shaarli, my server receive the notification. All the pingback are collapsed in a section of the Shaarli's post (for exemple : http://leomaradan.com/imgshare/photos/8971722e0d8519fc5bff352859ba334e.png)

@Leomaradan
Copy link
Author

I just added the first step for this functionality in my fork : Now Shaarli can send a ping to page with pingback enabled.

The first step is creating the xml-rpc parser into shaarli to accept ping from other sources

Leomaradan@1e24fc6

pikzen pushed a commit to pikzen/Shaarli that referenced this issue Dec 22, 2014
pikzen pushed a commit to pikzen/Shaarli that referenced this issue Jan 21, 2015
Made tag/title search unicode aware, fixes sebsauvage#75
pikzen pushed a commit to pikzen/Shaarli that referenced this issue Jan 21, 2015
@nodiscc
Copy link

nodiscc commented Mar 5, 2015

@Leomaradan the shaarli/Shaarli community fork has a plugin system (currently in development) in the new-plugin-system branch. You could add a Pingback plugin by sending a Pull Request with your implementation on this branch.

Read here for reasons of the fork. Look in the tpl/plugins/ directory for example plugin code. We're not willing to work on this but patches welcome.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants