Show newer

Got way less code in the main app folder this way, and don't need to stick all this "extra" functionality behind `.env` constants.

Show thread

"Plugins," for now, are just local Composer/Laravel packages that come prepacked with the app but don't auto-register, so that they can be enabled/disabled from within the app.

Show thread

Ima have to revisit exports, in fact, as I just moved web scraping to a plugin of its own.

Show thread

The XPath selectors are the magic behind the software’s scraping function (e.g., for summary-only feeds).

Show thread

Meanwhile, my feed reader’s import and export function just works.

Turns out the funky character that causes SimplePie (and, frankly, Firefox) to choke on css-irl.info/rss.xml is a “File Separator.” And that `preg_replace(‘/[\x1C-\x1F]/’, ”, $xml)` is what “fixes” it.

(jan.boddez.net/notes/ee992736c)

Always surprised to see pros reach for a plugin that doesn’t actually solve anything.

Show thread

TIL there’s a Hide Admin Bar plugin for WordPress! Well, you don’t need it. Just disable the admin bar in your user settings. (This is especially true for single-user installs.)

(jan.boddez.net/notes/cbec28ce6)

Found a bug in SimplePie, dangit, which means I can’t currently use it _as is_.

(jan.boddez.net/notes/1a695a7e2)

Simply can’t see slugs or snails without also thinking of the Ramones’ Teenage Lobotomy (and, subsequently, Me First and the Gimme Gimmes’ version of Sloop John B).

(jan.boddez.net/notes/b3f6bf0b8)

Jan Boddez boosted

“CSS Frameworks, hype and dogmatism - Piccalilli”

I’m actually in favour of frameworks under some circumstances, but too often they market themselves by claiming that the platform is broken. piccalil.li/blog/css-framework

Jan Boddez boosted

Promotion ongoing now also with the LED screen at the Vrijhof!

Don’t wanna sound like a conspiracy nut, I mean. I also use WordPress just fine. Yes, it’s grown almost too big. Yes, I need a place to try, run, test, and tinker with plugins first; one I actually use.

Show thread

Looks like my crossposter (or PHP’s `strip_tags`) stripped the </mild sarcasm> “tag” I had appended, so here it is.

Show thread

Bookmarked dayoneapp.com/blog/day-one-at-.

Hadn’t heard of Day One, yet. “Safely protecting memories and creating a 100% personal space” sure sounds like a digital garden _of sorts_. Oh, and they’re being acquired by Automattic, which is aiming for a very direct influence over 99% of the web, benevolent-dictator style.

(jan.boddez.net/notes/56fb54b43)

zylstra.org/blog/2021/06/from-.

Please tell us how you like it! I have had a (very) quick glance at FreshRSS’s source code but never actually tried it myself. Guess the design didn’t speak to me that much. (I fairly quickly ditched TT-RSS for Miniflux, too, I remember.)

(jan.boddez.net/notes/2047814fd)

In reply to jan.boddez.net/articles/x-ray.

Quick update: I was able to fix most of these, but rather than add support for JSON Feed 1.1, I’ve fixed support for `application/feed+json`. Also added a helper function that uses `\Mf2\resolveUrl()` and a bit of XPath magic to use on yet unaltered SimplePie HTML. That means all XML and microformats content now gets processed the _exact same way_.

(jan.boddez.net/notes/3d48e22e3)

Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!