Converts links into short URLs with the help of YOURLS
(Since you can't see anything, there is no screenshot.)
Download ZIP file and copy it into your system/extensions
folder. Learn more about extensions.
A self-hosted YOURLS installation and the yourls-api-edit-url plugin are required.
Insert <?php echo $page->parseContentElement("shorturl", "", "", "inline") ?>
at the desired position in the href attribute and let the magic happen.
<a title="Short URL to this post" aria-label="Short URL to <?php echo $page->getHtml("title") ?>" href="<?php echo $page->parseContentElement("shorturl", "", "", "inline") ?>">#</a>
The following setting can be configured in file system/extensions/yellow-system.ini
:
ShorturlApi: <your YOURLS>/yourls-api.php
ShorturlSecret: secret signature token from <your YOURLS>/admin/tools.php
This extension uses YOURLS with the yourls-api-edit-url plugin. Many thanks to Ozh and Tim for the great work!
Robert Pfotenhauer. Get help.