Folks with blogs on Blot, how do you typically post? Any micropubs? Or is it always save to dropbox from text editors of choice?
Folks with blogs on Blot, how do you typically post? Any micropubs? Or is it always save to dropbox from text editors of choice?
@amit I do Ulysses to Dropbox, but maintain separate folders for drafts of posts & published content. After I’ve finished writing a post, I delete the draft designation & move it to the published posts folder.
@amit @eli I've been using IA Writer or Emacs to create post. Write in /Drafts then move to /posts. Images get manually copied to /_img and I create links using the full URL (including https://) so micro.blog picks them up properly. I imagine I'll get creative at some point but it's so simple out of the box that I haven't found it necessary.
@schuth @jack Great, thank you. So it is always text editor of choice. Even I am doing the same at this point, all posts start in iA Writer (I do not use separate folders, just the draft flag). I wish images was a bit simpler though.
Only thing I loose is I have been posting from M.b app/ quill earlier. @eli
@amit prehaps one could make a micropub endpoint that was pointed at the Dropbox API, that, when given premission, could write new .md files to a specific folder within your Dropbox filesystem?
@eli Exactly what I have started working on. Was just checking if one exists already, given that there are many blot users 👍🏽
@cm Sure. I had already started with microformats on my blog. I think micropub and webmentions is going to be next.
@vasta After you have created a new theme the code would go under the head.html. At least that is where I put it and it seems to be working.
@vasta It should be per entry, so under entry.html
and some .js
in your static. I am going to set this up for my Blot blog soon.
I can take a look at your theme if you have it open somewhere.
@amit good to know I will update mine, the directions on webmention io are a little fuzzy on where to place the code
@klandwehr ok time to start this at my end .. been thinking about it for far to long ...
@cm Here's the bit of JavaScript I use for rendering webmentions on my Blot blog. It requires jQuery and a couple of edits, but it might get something started. gist.github.com/jackbaty/...
@jack Great! I got something very basic - something that works, but wouldn't want to share :) You saved my efforts to clean that up 👍🏽
@cm Right, it sends the full path using that. replace www.somesite.com with your domain. (Note, I sat behind my coworker while he wrote the JavaScript so any difficult questions I would need to defer to him :) ). Another gotcha is that it injects the mentions after a specific element on the page, so that will have to match your site. Lines 30 and 31 I think. It splits mentions from likes so you could probably skip one of those if desired. I'm sure someone has done all this better but this seems to work so far.
@cm It looks like you still need to load jQuery. I do it like this:
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
@cm If you don’t see it on webmentions.io dashboard, something must not have be setup correctly that’s the first place you should see the webmention. Or there is just no mention yet?
Do you have your theme code somewhere?
@cm A nice guide. I do wonder though do we need to separate the posts for micro.blog given that it can handle both post types? For me, I just simply override the title of micro posts to blank (title:
), which then allows me to not have checks for posts vs micro posts. Not sure if am missing something. @vasta
@vasta Ah. Fine. I think that itself can be done with keeping the title blank in micro posts and then only showing posts with title not blank with {{#title}}
in entries.html
. Quickly tried it out, it should work. Of course, this is assuming your definition of micro posts is ones without title.
@vasta Just put {{#title}}
after {{#entries}}
and put {{/title}}
before {{/entries}}
. Make sure your title of micro post is blank (title:
). Hope it works.
@vasta For it to reflect well in micro.blog, hope you did the same change in feed.xml
, else it will pick all posts and push them to micro.blog.
For micro posts archives, the code would be {{^title}}
.
And am no genius, just like to share what I know, be part of the community 🙂
@cm Thank you Chad! Well, I am just scratching my itch. I have come to love Blot as my blogging platform and have been completely sold on IndieWeb principles. So had to incorporate all. I think with webmentions and micropub handled, I am somewhat satisfied now :)
@vasta Great! 👏🏽 And regarding the lag, I too have observed this at times. But it is not always this bad, typically it is ~10-15 mins. Not sure what's the reason behind the lag. I had brought it to Manton's attention a couple of times. But I do not think he can address it if the issue isn't consistent.
@cm Well, not really. My latest post took more than 20mins to appear on the timeline. I really think it has to do with time of the day and the load? Not at all sure any more. @vasta
@JohnPhilpin I do not use ulysses, so am not sure. When does it happen? And change "name" for what? Is it a url?
@amit what do you use as your posting app of choice .. been thinking about switching to IA writer
@amit I can’t replicate when it happens but page consists of markup and html .. the latter so I can apply unique styling with css. It changes a name to a name ... Where 13 is a unique sequential number for every link on the page ... And the actual urls are lost.
I recover by restoring an older version.
@amit OK - I have cracked it - I can share my findings - if you have interest - but maybe not to clutter up this micro blog stream. My thanks for you attention.
@JohnPhilpin I usually post microposts via either the micro.blog iOS app or other micropub clients (micropublish/quill) when am not on my iPhone. I have the micropub endpoint blotpub configured to take this these, format and put it in dropbox .
Longer posts are written in iA Writer.
@JohnPhilpin ah, great. Sorry, could not be of much help. But surely would like to know what the issue was. Always better to be aware of pitfalls :-)
@amit documented my Blot / Ulysses issue as a post if you have interest. - I am going to send the link to Ulysses and see what they have to say.
@JohnPhilpin iA Writer is what I use for my Blot.im sites. I think it handles them better than Ulysses.
@JohnPhilpin this is interesting. I didn’t realise Ulysses transforms inline links to reference links. I, too, would be interested in what Ulysses says.