Support linkbacks as in the blogosphere
See original GitHub issueConsider two users foo (https://foo.org/twtxt.txt) and bar (https://bar.org/twtxt.txt).
When user foo mentions user bar in her tweet, the client could call the linkback url as defined in bar’s metadata (#22 #48), e.g. https://bar.org/twtxt/ping.php?url=https://foo.org/twtxt.txt&name=foo (name optional?)
ping.php would log the request to https://bar.org/twtxt/ping.txt (linkback log) as in:
2016-03-06T11:12:25+01:00 <@foo https://foo.org/twtxt.txt> mentioned you.
As user bar is subscribed to her linkback log she’d see the mention in her timeline.
Similar to pingback/trackback as in blogs, cf. https://en.wikipedia.org/wiki/Linkback. Sorry, if you already thought of all this.
Exemplary ping.php to write the linkback log ping.txt
$line = date('Y-m-d\TH:i:sP')."\t"."<@$_GET['name'] $_GET['url']> mentioned you.";
$fh = fopen('ping.txt','a'); fwrite($fh, $line."\n"); fclose($fh);
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:13 (5 by maintainers)
Top Results From Across the Web
What are Backlinks and Do You REALLY Need Them in 2022?
Backlinks are links from blogs and other online sources that are fitting to your content on a particular blog post. They can be...
Read more >What is Backlink in Blogging? - Bizmanualz
Backlinks are associated with the off-page SEO as those cannot be fully controlled by your business. Sometimes, other websites might link to ...
Read more >3 Types of Blog Posts That Earn the Most Backlinks, According ...
To help bloggers in their quest for SEO authority, and non-organic traffic, our link-building expert reveals 3 types of posts that get the ......
Read more >How to Ask Bloggers for Backlinks and Reviews - Neil Patel
Today, you'll learn how to ask bloggers the right way for favors that will help your site grow, whether that's a backlink or...
Read more >6 Ways to Add Backlinks to Your Website or Blog - wikiHow
1. You can do a Google search for high quality backlinks, but never pay for links. You can go on related forums for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just driving by and wanted to drop in and point people at Webmention, the latest W3C Recommendation for “a simple way to notify any URL when you mention it on your site”.
The syntax is basically as described by @archusr in https://github.com/buckket/twtxt/issues/109#issuecomment-196016659, except the parameters are called
source
andtarget
.👍
Url of the twtxt.txt should be sifficient. Nick and real content of the tweet can be retrieved by the client ondemand.
So it is more like a ping 😉