Nothing Special   »   [go: up one dir, main page]

Skip to content

Commit

Permalink
auto_url_summary output str context comment
Browse files Browse the repository at this point in the history
the output of auto_url_summary can be appended to "↳ In reply to " for a minimal readable https://indieweb.org/reply-context
  • Loading branch information
tantek authored Oct 7, 2022
1 parent c5103fc commit c918bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cassis-lab.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function is_one_emoji($s) {
/* auto_url_summary */
function auto_url_summary($u) {
// in: $u is a post permalink url
// out: text summary based on url
// out: text summary based on url, can be appended to e.g. "↳ In reply to " for a minimal readable reply-context
$hn = hostname_of_uri($u);
$ss = explode('.', $hn);
$s = $ss[count($ss) - 2];
Expand Down

0 comments on commit c918bb1

Please sign in to comment.