I made some changes to my Notes:
- Better HTML and plain text output support
- Only enforce plain text character count and only when publishing
- See the plain text character count live in the Admin UI
I made some changes to my Notes:
@ben@social.benjaminturner.me ah yes, I see. I have ideas but nothing concrete. Something along the lines of an abstract model giving structure for models that support micropub? and then a view mixin like you have that can handle the micropub request parsing/response returning…
Thanks for sharing!
@ben@social.benjaminturner.me sure! https://github.com/blineberry/django-micropub-poc
Commit ce3cd78
is the last one that works. A lot more on the IndieAuth than the Micropub side.
Where is your from_url
method? Getting the relevant model from the url was a tricky spot. I settled django.urls.resolve
, but that still felt like I needed to do a lot of manual checking.
And did you find a clean way to convert the form data into something useful? I was trying to convert it to json and then only work with json, but never completed.
This week I made the Chow Mein with Beef and Peppers recipe from J. Kenji Lopez-Alt’s The Wok cookbook. It seems similar to last week’s noodles, but as a main instead of a side.
I thought it was fine, Megan seemed to like it, and my son loved the meat: 3 stars
Funnily, Megan repeatedly asked me what I was working on in the evenings, and it was days until we realized she thought “micropub” had something to do with beer.