#dev 2021-03-23

2021-03-23 UTC
[tw2113_Slack_] and [chrisaldrich] joined the channel
#
[tantek]
how "safe" is it to have a self-editing PHP file? or is this one of those things where no don't even go down that path because there's no way to actually contain the potential mess
#
[tantek]
self-editing as in it's a PHP file that generates a form with itself as the submission handling script, then as part of running, it takes the form input and rewrites itself accordingly
#
[tantek]
"On first sight this sounds like a Bad Idea™." 😂
#
jacky
lol I love those answers
#
jacky
but yeah I wonder if just doing an inclusion would be good
#
jacky
especially b/c PHP has a way to load and execute PHP on the fly
#
jacky
that could serve as a self-editing one
#
jacky
in a 'sandbox'
alex11 joined the channel
#
[chrisaldrich]
I'll have to check but I wonder if the https://html5up.net/ set ups have proper microformats embedded? That could be a fun little project for people who want their own linktree-like card sites as a starter site entry into the IndieWeb.
#
[tantek]
jacky, yeah I'm considering that kind of setup also, in a "single folder" perspective rather than a single-file perspective
#
[tantek]
where all the files in the folder would be their own submission targets, and then they would include a common php file for "processing"
#
[tantek]
ok I searched for it and there's surprisingly little besides that Stack Overflow Q&A
#
[tantek]
this means either it's VERY HARD to get right and make it work, or it's a VERY BAD IDEA from a security perspective, or perhaps both. because it has that feel of a "fun programming problem that someone must have solved purely for the cool factor"
#
[tantek]
wondering if I have to use flat file ops or if I could actually load/save PHP code embedded in <script> blocks via PHPDOM APIs
[scojjac], [jeremycherfas], shoesNsocks1, KartikPrabhu, [Rose], [aimee], bradenslen and [KevinMarks] joined the channel
#
@kevinmarks
↩️ I like the idea of connecting the different Ghost instances into a network. Have you looked at the Social reader work going on in #indieweb with microsub, micropub and webmention? That could be a good fit. https://indieweb.org/social_reader
(twitter.com/_/status/1374348597374910464)
deltab, [scojjac], shoesNsocks, [aimee], [tw2113_Slack_], [tantek], Guest78, dansup, [Murray], [grantcodes], JackyAlcin[m], atj[m], Caleb[m]1, KartikPrabhu, jamietanna[m], aciccarello[m], wombelix, astrojl_matrix, reed, smacko[m], mindranger[m], fredcy_, bw3, Paul[m]5, Salt[m], JohnConway[m], joshghent[m], nekr0z, edsu, solari[m], batkin[m], forest[m] and [ccozkan] joined the channel
#
[ccozkan]
hey everybody👋 so i recently developed auto generated weekly newsletter web app for the projects on hackernews. it is a ruby on rails app. it checks for new projects everyhour and later on wednesday it sends a newsletter to subscribers with a confirmed email.
#
[ccozkan]
i thought it might be useful in some way in indieweb community too by changing the current source. i think source can be an api or an rss feed. if it can be useful, i would love to help. you can check the source at
#
Loqi
[ccozkan] showhn.paperboy.digital: Autogenerated weekly newsletter of 'Show HackerNews' projects
bradenslen, jeremycherfas and jeremy joined the channel
#
jacky
that looks cool [ccozkan]!
#
jacky
do you have an issue/ticket on GitHub so one could subscribe to those changes re: making it more IndieWeb-friendly?
[tantek], marinin[t], [fluffy], Guest78, [schmarty] and [jeremycherfas] joined the channel
KartikPrabhu and [KevinMarks] joined the channel
#
[KevinMarks]
Mention.tech does it without auth as all the data is public anyway
marinin[t] joined the channel
#
jacky
yeah but I'd need auth mainly to prevent it from being just random
#
jacky
granted, I can see the case for no auth if it's being pulled into a static site
#
jacky
or if they're queried against by a social reader to show reactions to a post if it's not shown on a site
[chrisaldrich], [Rose], [tantek] and [KevinMarks] joined the channel
#
jacky
what is cloudinary
#
Loqi
Cloudinary is a hosting and management service for images and video which can be used as an image proxy https://indieweb.org/Cloudinary