For my next #indieweb trick: I'm working on adding support for Webmention in #goldfrog.
https://github.com/sivy/goldfrog/issues/9
Client:
- Endpoint discovery (header, link, a)
- Send basic webmentions
- Send "special" webmentions (ie Likes)
Server:
- Provide discovery (header, link, a)
- Receive basic webmentions
- Receive "special" webmentions (ie Likes)
Ultimately I'd like to break out my webmention code into a releasable #golang module that can provide reusable http.Handler functions that can be plugged into any Go mux that supports them.
I've added POSSE-style notes to #goldfrog.
https://indieweb.org/POSSE
Perhaps abortions should come with free (mandatory?) vasectomies.
https://humanparts.medium.com/men-cause-100-of-unwanted-pregnancies-eb0e8288a7e5
RT @ewarren: So, I guess @AmyKlobuchar and I are now both undefeated in elections and undefeated in New York Times endorsements! https://t.…
@agiletortoise 4 words: "Forky Asks a Question"
Twitter > Profile > Privacy and safety > Personalization and data > Data > See your Twitter data > Download an archive of your data:
(SORRY, LOST IMAGE)
Twitter, I think we have different definitions of "Your data".
ICYMI: working on #indieweb in goldfrog https://t.co/9DKVvHYwzP
"Unwilling to show fear when confronted with the JVM"
closes tab, takes drink
@KenSmith @davewiner Missing episode: Encounter in Flatland
@KenSmith @davewiner the Enterprise
Towards IndieWeb: POSSE and Notes
#posse #blogging #webmention #indieweb
https://t.co/15Q3wsMv9J
POSSE is the #IndieWeb acronym for Publish (on your) Own Site, Syndicate Everywhere. It's something I'm playing with in Goldfrog.
A common idiom is to differentiate Notes (small microblog-like posts) from Articles (longer blog posts with a title). Right now Goldfrog has a basic blog Post type, with (ID, Title, Slug, Tags, Body). I'd like to keep the posting experience as simple as possible, so I'm thinking about how to handle something that literally just has a Body (and Tags, because I parse and attach any #hashtags - see? - in the content).
My Posts have an ID, though a uniqueness constraint on the slug means I could use that instead. But Notes don't have a title to "slugify" (it is too a word). Goldfrog also writes every post to the filesystem as a Jekyll-compatible markdown file, so I would need to figure out what format and filename/slug would be appropriate so that they get a permalink.
Url Options
- 2020/01/16/note-ab43f6 unique hash id
- 2020/01/16/note-13:25 HH:MM
Actual Progress
An upcoming build of Goldfrog will support new "kind" of Post, albeit only differentiated by the presence of a title. I've made a few UI and backend changes to support notes:
(SORRY, LOST IMAGE)
- Notes get a slug that is constructed from the string "txt-" + a shortened hash based on the note's content, like
txt-8213d2c
- Since notes are short enough to look weird on a typical post-detail page, I created a new "Daily Digest" page on the site that shows only the posts for a given day. This is the default target for the permalink for Notes. The slug is used as the
id attribute on the note, so the link jumps directly to the note on the digest page. This results in a "permalink" like "YYYY-MM-DD/#txt-8213d2c"
- The Syndicate options (currently for Twitter and Mastodon) are now enabled by default for notes.
- Clicking the "post form" link takes me to a longer post form with options for a title, custom slug, tags, and a larger content area for writing.
Still to work out
- I'm thinking about implementing Webmentions for Goldfrog, since I control the code.
- I'm still pondering how to connect a post or note with it's syndicated version, to allow likes from this site to propagate to the syndicated site. That feels... harder than I want to dig into right now, but I'll be looking for ideas.
Go By Example
Go By Example might be one of the best getting-started resource I’ve ever seen for a programming language.
Huge thanks to Mark McGranaghan for giving this to the community
#golang #newbie #documentation
https://t.co/jBjzA9UALb
Go By Example might be one of the best getting-started resource I've ever seen for a programming language.
Huge thanks to Mark McGranaghan for giving this to the community
#golang #newbie #documentation
RT @ewarren: This is corruption, plain and simple.
We will not defeat the climate crisis if our government agencies are packed with peopl…
@internetarchive (realized i should have checked the forums i guess)
@internetarchive - I'm playing with the Snapshot api and the test form on the page is throwing errors:
{
"error": "LiveWebCacheUnavailableException: The URL Live Web Archiving has encountered an error. is not available"
}
Is this temporary or has this been turned off?
RT @IlhanMN: Let’s not give Trump an arsenal of attacks to use against us.
Bernie Sanders is not a sexist.
Elizabeth Warren is not a snak…
@clofresh @zeeg @davewiner "When running Docker Engine in swarm mode, you can use docker stack deploy to deploy a complete application stack to the swarm. The deploy command accepts a stack description in the form of a Compose file."
https://t.co/I70vn2fqpM
Yeah, pretty much exactly
@zeeg @davewiner I love the docker-compose experience, is there something between local docker-compose and NOW YOU HAVE K8S