amit
amit

Folks with blogs on Blot, how do you typically post? Any micropubs? Or is it always save to dropbox from text editors of choice?

|
Embed
Progress spinner
eli
eli

@amit (replying because I'm really interested in folks' answers) Great question!

|
Embed
Progress spinner
schuth
schuth

@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.

|
Embed
Progress spinner
jack
jack

@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.

|
Embed
Progress spinner
amit
amit

@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

|
Embed
Progress spinner
eli
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?

|
Embed
Progress spinner
amit
amit

@eli Exactly what I have started working on. Was just checking if one exists already, given that there are many blot users 👍🏽

|
Embed
Progress spinner
eli
eli

@amit 😍👍🎉🙌🎊

|
Embed
Progress spinner
amit
amit

@cm Sure. I had already started with microformats on my blog. I think micropub and webmentions is going to be next.

|
Embed
Progress spinner
klandwehr
klandwehr

@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.

|
Embed
Progress spinner
amit
amit

@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.

|
Embed
Progress spinner
klandwehr
klandwehr

@amit good to know I will update mine, the directions on webmention io are a little fuzzy on where to place the code

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@klandwehr ok time to start this at my end .. been thinking about it for far to long ...

|
Embed
Progress spinner
jack
jack

@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/...

|
Embed
Progress spinner
amit
amit

@jack Great! I got something very basic - something that works, but wouldn't want to share :) You saved my efforts to clean that up 👍🏽

|
Embed
Progress spinner
jack
jack

@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.

|
Embed
Progress spinner
jack
jack

@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>

|
Embed
Progress spinner
jack
jack

@cm This might be easier to read/copy. Goes in the document head. gist.github.com/jackbaty/...

|
Embed
Progress spinner
amit
amit

@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?

|
Embed
Progress spinner
amit
amit

@vasta Sure, go ahead with your experiments. Ping if you need some inputs.

|
Embed
Progress spinner
amit
amit

@vasta @cm @jack @eli I have an update on this thread - 've got a basic micropub endpoint created. And you can try it out too, if interested.

|
Embed
Progress spinner
eli
eli

@amit this is amazing! (ノ◕ヮ◕)ノ*:・゚✧

|
Embed
Progress spinner
amit
amit

@eli 😊🙌🏽

|
Embed
Progress spinner
jack
jack

@amit Fantastic! I will check this out as soon as I can!

|
Embed
Progress spinner
amit
amit

@jack Sure. 👍🏽

|
Embed
Progress spinner
amit
amit

@vasta Great! Sure, Sameer. 👍🏽

|
Embed
Progress spinner
amit
amit

@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

|
Embed
Progress spinner
amit
amit

@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.

|
Embed
Progress spinner
amit
amit

@vasta Just put {{#title}} after {{#entries}} and put {{/title}} before {{/entries}}. Make sure your title of micro post is blank (title:). Hope it works.

|
Embed
Progress spinner
amit
amit

@vasta Sure. Let me know if you need any other help.

|
Embed
Progress spinner
amit
amit

@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 🙂

|
Embed
Progress spinner
amit
amit

@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 :)

|
Embed
Progress spinner
amit
amit

@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.

|
Embed
Progress spinner
smokey
smokey

@amit Can you guys implement WebSub or a ping to speed up the feed refresh/post pickup?

|
Embed
Progress spinner
amit
amit

@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

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@amit Ulysses is my interface to blot ... But only just getting going

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@amit have you ever come across ulysses changing your markdown from something like name to name when you post to blot?

|
Embed
Progress spinner
amit
amit

@JohnPhilpin I do not use ulysses, so am not sure. When does it happen? And change "name" for what? Is it a url?

|
Embed
Progress spinner
In reply to
JohnPhilpin
JohnPhilpin

@amit what do you use as your posting app of choice .. been thinking about switching to IA writer

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@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.

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@amit gah .., I see my examples are encoded .. let me work out how to display raw

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@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.

|
Embed
Progress spinner
amit
amit

@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.

|
Embed
Progress spinner
amit
amit

@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 :-)

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@amit I have on my list write a position the ' journey ' will ping you when done.

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@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.

|
Embed
Progress spinner
jmreekes
jmreekes

@JohnPhilpin iA Writer is what I use for my Blot.im sites. I think it handles them better than Ulysses.

|
Embed
Progress spinner
JohnPhilpin
JohnPhilpin

@jmreekes i am thinking of doing the same - thanks for the input.

|
Embed
Progress spinner
jmreekes
jmreekes

@JohnPhilpin You’re welcome.

|
Embed
Progress spinner
amit
amit

@JohnPhilpin Great, thanks. Will have a look. Let us know what the guys at Ulysses say.

|
Embed
Progress spinner
vishae
vishae

@JohnPhilpin this is interesting. I didn’t realise Ulysses transforms inline links to reference links. I, too, would be interested in what Ulysses says.

|
Embed
Progress spinner
kerim
kerim

@amit Blot looks great. Thanks for the tip!

|
Embed
Progress spinner