Micro.blog

Blot
Blot

Added a guide to creating a JSON feed to the developer documentation. Thanks to @amit and @jthingelstad for their help, and to @manton and @brentsimmons for writing the spec itself.

amit
amit

@Blot This is a nice little guide, thank you for documenting it! πŸ‘πŸ™‚

jw
jw

@Blot incidentally, the beginning of that guide says, "Create a new view"... is that just going to be a file, or something else?

It just looked super easy, but I couldn't get past "what's a new view?” ☺️

uncrtn
uncrtn

@jw it must be. when you're editing a theme on the Blot dashboard it says create new view at the bottom. Click on it and it makes a new file.

jw
jw

@uncrtn Ahhh it's part of the theme? I didn't realize; I'm just getting ramped up with @blot . Thanks! ☺️

Blot
Blot

@jw @uncrtn A view is indeed part of a theme. I'm using the term in the MVC sense. Another way to describe it might be 'template file'. You can create a new view on the template editor

In reply to
uncrtn
uncrtn

@Blot I've been trying to figure out, is there a way to edit a theme's settings or a template file's settings locally? I can only find a way to do that in the dashboard.

Blot
Blot

@uncrtn Not right now, bad bug I know, sorry! I will notify you when this is fixed

uncrtn
uncrtn

@Blot thank you. Keep up the good work. πŸ‘

jw
jw

@Blot Great, thanks! I'm having trouble validating because the validator wants a slug; when I tried to create one, it seems to pull the permalink and the validator still isn't into it.

Close, though! I should maybe go do more of my paid dev work for now. πŸ™ƒ

Blot
Blot

@jw Not sure why the validator is recommending that, slug is not in the spec. Can you remove your slug field? Let me know once you've done that and I'll work out why it was invalid to begin with

eli
eli

@jw @Blot -- as far as I've been able to tell, I think that the validator is broken. It isn't validating against the correct schema.

Blot
Blot

@eli Ah good catch, it's validating a different kind of JSON feed. Have updated the guide cc: @jw

jw
jw

@Blot @eli thanks! ☺️

manton
manton

@eli @jw @Blot There's also a validator here: validator.jsonfeed.org

Blot
Blot

@manton Perfect, thanks, have updated the guide. Not sure how I overlooked your validator!

manton
manton

@Blot I don't think we actually link to the validator anywhere, because it wasn't "finished". But it works pretty well.

Blot
Blot

@manton Ah, I see. Looks like Google has picked it up but not DDG

brentsimmons
brentsimmons

@Blot πŸ‘