Entries Tagged “php”

Bookmarked Building an ActivityPub Server • Robb Knight. …

Jan Boddez

I once tried writing a simple ActivityPub server in PHP and Laravel but never made it past accepting “follows” and sending “create” requests.

Either way, if I ever pick up work on my custom CMS, I now know where to look in order to add ActivityPub support to it!

Building an ActivityPub Server • Robb Knight
rknight.me

fstop.cloud is able to fetch full articles even for summary-only …

Jan Boddez

fstop.cloud is able to fetch full articles even for summary-only feeds. It looks for either the main element or the first article on the page, but you can also hand it a (feed-specific) XPath selector indicating what you want to keep.

Either way, maybe I should give https://github.com/fivefilters/readability.php a try.

Stefan Zweifel

GitHub - fivefilters/readability.php: PHP port of Mozilla’s Readability.js
github.com

Been toying with Laravel a bit more. Decided …

Jan Boddez

Been toying with Laravel a bit more. Decided to split off some Webmention functionality into a package of its own, https://github.com/janboddez/laravel-webmention. There’s two classes here that matter, one for receiving (Http\Controllers\WebmentionController), and one for sending (WebmentionSender). Hoping to add a parser of sorts later, and some CLI/Artisan commands.

Bookmarked https://brainbaking.com/post/2022/05/dont-expose-the-stacktrace-please/. Luckily, that’s what happens when you …

Jan Boddez

Bookmarked https://brainbaking.com/post/2022/05/dont-expose-the-stacktrace-please/.

Luckily, that’s what happens when you set APP_DEBUG to false. And it’s really easy to set the log level (debug, notice, error, etc.), too. (Clear your config cache afterward!)

Also, the developers here mixed up \Illuminate\Support\Facades\Request and \Illuminate\Http\Request.

If you still want that info, log it somewhere else[.]