đź”— I found something cool today: #Pinoy Websites, a #webring for #Filipino people with websites!
https://webring.antaresph.dev/
#blog #portfolio #personalwebsite #indieweb #retroweb #webrings #Noypi #Pilipino #Pilipina #Pilipinas #Philippines
Making the indie web more approachable (thanks to @janboddez for tipping me off to this good writeup): https://tracydurnell.com/2022/11/27/making-the-indieweb-more-approachable
POSSE and PESOS: Better ways to publish content
https://firediarist.wordpress.com/2023/07/02/posse-and-pesos-better-ways-to-publish-content/ #BeingAWriter, #Blogging, #Indieweb, #Internet, #Socialmedia, #Writing
As a writer, writing and publishing online using #Indieweb principles could save your life's work. And maybe even your career. This ish ow I'm #blogging differently and avoiding the perils of #enshitiffication.
#SocialMedia #Writing #WritingCommunity
https://firediarist.wordpress.com/2023/07/03/how-i-am-blogging-the-indieweb-way/
Hewwo frens! I'm Lark! I'm a smol queer kitty who makes computers go beep boop
I make software for fun. I maintain some Rust libraries and I run a queer history website.
I hate The Algorithm™ and I love the indie web. I love blogging like it's 2006. I still use an RSS reader.
I'm very queer and I love being gay with my gay-ass friends. I love confusing cis people with my presentation. I love breaking relationship norms.
I'm also autistic and will happily listen to you infodump about your special interests.
See you around!
#Software #OpenSource #Rust #QueerHistory #IndieWeb #Blogging #Queer #Trans #Nonbinary #Polyamory #Autistic #Disabled
This was supposed to post to my Microblog via OwnYourSwarm but I don’t know how to set up my theme etc. to make it look like a checkin and I’d appreciate any help #MicroBlog / #IndieWeb / #micropub geeks can offer.
(I fished for help with this about a month ago but there were no bites.)
This was supposed to post to my Microblog via OwnYourSwarm but I don’t know how to set up my theme etc. to make it look like a checkin and I’d appreciate any help #MicroBlog / #IndieWeb / #micropub geeks can offer.
(I fished for help with this about a month ago but there were no bites.) https://blog.joeross.me/2023/07/02/starbucks-the-early.html
@ebassi@mastodon.socia l
i’ve got a single user instance on my crappy vdsl2 line.
Wordpress got the plugin and i like how GoToSocial sites look like
in the end is #indieweb again
(ciao!)
So #TwitterDown is trending on #Mastodon today. Here's another lesson why using platforms like #Twitter & #Substack as your content home is a bad idea. Publish your content the POSSE/PESOS way instead.
https://firediarist.wordpress.com/2023/07/02/posse-and-pesos-better-ways-to-publish-content/
Not sure I ever did an introduction, but figured I would because of the influx. I'm Jake, I've been here since November 2022, and I've been loving it here. Early web vibes!
I write a bunch of things including music, and probably have way too many other hobbies. I'm Gen X, beyond lefty progressive (see bio) and dig meeting new folks. I'll definitely (try to) say hi if you do!
Salesforce/healthcare = dayjob.
I post mostly about #tech #HTML #IndieWeb #WebDev #WebDesign #WordPress #writing #music #games #gaming #VideoGames #photography #art #nature #animals #WeirdStuff etc.
Nice to meet ya!
@PinoBatch @Rairii Unfamiliar with #SmallWeb, but fedi is federated.. we all join one of a smaller number of servers that talk to one another (like Mastodon). #Indieweb is, well, indie-- you have your site, I have mine, but we can talk to one another. The longer I hack, the more I prefer the latter.
Blogged: Why organisations should have an indieweb publication strategy (or: why ITFC should have an RSS feed) ✍️ The social media behemoths are dying, so you need a plan B for making sure you can communicate with the outside world. And that’s having an RSS feed and POSSE-ing.
🏷 #ITFC #IndieWeb #POSSE #RSS
https://www.thisdaysportion.com/posts/itfc-indieweb/
Community gardening for pop-ups and Pythons. It’s your < 10min update on the #IndieWeb community!
This Week in the IndieWeb audio edition for June 24th - 30th, 2023. https://martymcgui.re/2023/07/01/this-week-in-the-indieweb-audio-edition--june-24th---30th-2023/
Community gardening for pop-ups and Pythons. It’s your < 10min update on the #IndieWeb community!
This Week in the IndieWeb audio edition for June 24th - 30th, 2023.
https://martymcgui.re/2023/07/01/this-week-in-the-indieweb-audio-edition--june-24th---30th-2023/
Here's a short Rust program using the microformats
crate that checks the presence of a webmention on a certain page, properly resolving all URLs and even scanning HTML content in entry["properties"]["content"]
.
use std::cell::{RefCell, Ref};
use std::rc::Rc;
use clap::Parser;
use microformats::types::PropertyValue;
use microformats::html5ever;
use microformats::html5ever::tendril::TendrilSink;
#[derive(thiserror::Error, Debug)]
enum Error {
#[error("http request error: {0}")]
Http(#[from] reqwest::Error),
#[error("microformats error: {0}")]
Microformats(#[from] microformats::Error),
#[error("json error: {0}")]
Json(#[from] serde_json::Error),
#[error("url parse error: {0}")]
UrlParse(#[from] url::ParseError),
}
#[derive(Debug)]
enum MentionType {
Reply,
Like,
Repost,
Bookmark,
Mention
}
fn check_mention(document: impl AsRef<str>, base_url: &url::Url, link: &url::Url) -> Result<Option<MentionType>, Error> {
// First, check the document for MF2 markup
let document = microformats::from_html(document.as_ref(), base_url.clone())?;
// Get an iterator of all items
let items_iter = document.items.iter()
.map(AsRef::as_ref)
.map(RefCell::borrow);
for item in items_iter {
let props = item.properties.borrow();
for (prop, interaction_type) in [
("in-reply-to", MentionType::Reply), ("like-of", MentionType::Like),
("bookmark-of", MentionType::Bookmark), ("repost-of", MentionType::Repost)
] {
if let Some(propvals) = props.get(prop) {
for val in propvals {
if let PropertyValue::Url(url) = val {
if url == link {
return Ok(Some(interaction_type))
}
}
}
}
}
// Process `content`
if let Some(PropertyValue::Fragment(content)) = props.get("content")
.map(Vec::as_slice)
.unwrap_or_default()
.first()
{
let root = html5ever::parse_document(html5ever::rcdom::RcDom::default(), Default::default())
.from_utf8()
.one(content.html.to_owned().as_bytes())
.document;
// This is a trick to unwrap recursion into a loop
//
// A list of unprocessed node is made. Then, in each
// iteration, the list is "taken" and replaced with an
// empty list, which is populated with nodes for the next
// iteration of the loop.
//
// Empty list means all nodes were processed.
let mut unprocessed_nodes: Vec<Rc<html5ever::rcdom::Node>> = root.children.borrow().iter().cloned().collect();
while unprocessed_nodes.len() > 0 {
// "Take" the list out of its memory slot, replace it with an empty list
let nodes = std::mem::take(&mut unprocessed_nodes);
for node in nodes.into_iter() {
// Add children nodes to the list for the next iteration
unprocessed_nodes.extend(node.children.borrow().iter().cloned());
if let html5ever::rcdom::NodeData::Element { ref name, ref attrs, .. } = node.data {
// If it's not `<a>`, skip it
if name.local != *"a" { continue; }
for attr in attrs.borrow().iter() {
// if it's not `<a href="...">`, skip it
if attr.name.local != *"href" { continue; }
// Be forgiving in parsing URLs, and resolve them against the base URL
if let Ok(url) = base_url.join(attr.value.as_ref()) {
if &url == link {
return Ok(Some(MentionType::Mention));
}
}
}
}
}
}
}
}
Ok(None)
}
#[derive(Parser, Debug)]
#[clap(
name = "kittybox-check-webmention",
author = "Vika <vika@fireburn.ru>",
version = env!("CARGO_PKG_VERSION"),
about = "Verify an incoming webmention"
)]
struct Args {
#[clap(value_parser)]
url: url::Url,
#[clap(value_parser)]
link: url::Url
}
#[tokio::main]
async fn main() -> Result<(), self::Error> {
let args = Args::parse();
let http: reqwest::Client = {
#[allow(unused_mut)]
let mut builder = reqwest::Client::builder()
.user_agent(concat!(
env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")
));
builder.build().unwrap()
};
let response = http.get(args.url.clone()).send().await?;
let text = response.text().await?;
if let Some(mention_type) = check_mention(text, &args.url, &args.link)? {
println!("{:?}", mention_type);
Ok(())
} else {
std::process::exit(1)
}
}
This seems extremely cool. I am 100% here for nntp in all its glory and warts.
https://dialup.cafe/@vga256/110637361651638656 #Indieweb #retro #technology
searching for a recipe
on the limits of searching for a recipe online, the problem with search engines, the problem with subscriptions, and the futility of trying to clean up this mess.
indieweb carnival
Just found out about the first edition of the IndieWeb Carnival, which is for June 2023. Of course, today is July 1st and I had to find about it today.
I'll try to keep an eye on the July one and see if it inspires me!