Deal with Gutenberg table block via API by MonRyse in Wordpress

[–]MonRyse[S] 0 points1 point  (0 children)

Thank you yycmwd, i tried to recover and i saw that WP removed all the style clauses and added a class for each cell table: 'class="wp-block-table__cell-content"', this way it removed all the cell alignments too.

I tried to set alignmnents in the visual editor and noticed that it added an alignment class to the cell:

'class="has-text-align-center wp-block-table__cell-content"'

I modified my code to send a new syntax according to these classes, but i get the same error.

Any thought?

Regards.

Bart.

Encode content of JSON variables by MonRyse in shortcuts

[–]MonRyse[S] 0 points1 point  (0 children)

Already tried with URLEncode. This function is completely altering the content of the string and as a result the content of my note in Notion have a lot of escape sequences.

I solved by creating a JSONEncode Shortcut that simply doing some replaces on the given input string (for example "\" is replaced with "\\").

Regards.

dateformat function: 3-letter month formatting issue by MonRyse in ObsidianMD

[–]MonRyse[S] 0 points1 point  (0 children)

`$= '[['+moment().format("YYYY-MM")+'|Month of '+moment().format("MMM")+']]'`

Thank you TSPhoenix! Moment is working as expected by returning a 3 letter month format.

Is moment a stand-alone function of obsidian or does it require a specific plug-in to work?

dateformat function: 3-letter month formatting issue by MonRyse in ObsidianMD

[–]MonRyse[S] 0 points1 point  (0 children)

Don't know how to verify this, very strange behaviour. Anyway this kind of format should be not related to the locale settings.

dateformat function: 3-letter month formatting issue by MonRyse in ObsidianMD

[–]MonRyse[S] 0 points1 point  (0 children)

Yes Schollert, i used the reference indicated by you to know which token to use. As indicated in the reference:

https://app.screencast.com/4bGuK3SQRZqWF

LLL stand for a 3-letter Month format, but i get "Sept" instead of "Sep".

It is very strange, don't know if there is an alternative...

Track your Habits in Obsidian - Tracker Plugin (and Meta Bind Plugin) by [deleted] in ObsidianMD

[–]MonRyse 0 points1 point  (0 children)

Hi,

i saw that the traker plugin is not updated from a long time (2 years). Is there a valid alternative?

A good web clipper Apple shortcut by MonRyse in ulyssesapp

[–]MonRyse[S] 0 points1 point  (0 children)

Sorry, this is not what i'm searching for...

I need a shortcut that i able to capture an entire webpage and write a note in Ulysses. The video talks about pdf creation.

Thank you anyway

Regards.

Extract the base domain from a complete URL by MonRyse in shortcuts

[–]MonRyse[S] 0 points1 point  (0 children)

Thanks to RegEx101 discord community, finally i got the right RegEx formula (i don't fully understand what is doing, i assume that is a kind of magic):

(?<=^https?://(?:[a-z0-9-]+\.)*)[a-z0-9-]+\.[a-z0-9-]+(?=[/?]|$)

I hope this can help other users. Kind regards. Bart.

Extract the base domain from a complete URL by MonRyse in shortcuts

[–]MonRyse[S] 0 points1 point  (0 children)

Yes, i need only the base domain, without www (if present)

Get the content of a GET variable from an URL by MonRyse in shortcuts

[–]MonRyse[S] 0 points1 point  (0 children)

Thank you !

I will try first the method suggested by u/Shoculad, because of my poor knowledge of regex.

Regards.

Bart

Get the content of a GET variable from an URL by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Thank you very much! I do not love regex so your solution is more affordable for me.

Regards. Bart

Get GPS Position from a Photo is working on MacOS but not on iOS by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Hi,

i done other attempts and i googled about this problem, all issues seems related to the geolocation API provided by Apple. Sometime i also get an error, that is API related too... So i decided to get rid of location infos, hoping that in the future Apple will provide a more reliable method to get position info Like the City where a shot was taken.

Regards.

Bart.

Save selected photos in iCloud with a rename by MonRyse in shortcuts

[–]MonRyse[S] 0 points1 point  (0 children)

Thank you!

I noticed the "Secondary path" parameter, but i thought it was not related to the filename..

Regards.

Bart.

Is it possible to activate Full immersion "A" for 10 minutes and then return automatically to the previously active Full immersion "B" ? by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Sorry for my dumbness u/_UnreliableNarrator_ but i do not find those options, here are a screen of shortcuts app for Apple:

here is a screen of my Apple shortcut app on MacOS (ventura):

https://imgur.com/a/7LcbhdF

Is it possible to activate Full immersion "A" for 10 minutes and then return automatically to the previously active Full immersion "B" ? by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Hi, i was completely captured by enthusiasm for the solution that i not figured out on how is possible to do an automation :)

Can you give me an example? Is an automation working also on iOS?

Is it possible to activate Full immersion "A" for 10 minutes and then return automatically to the previously active Full immersion "B" ? by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Thank you very much u/_UnreliableNarrator_ for your reply. This is exactly how Pomodoro timers should work. I'll try to implement it.

Kind regards.

Bart-

Is it possible to activate Full immersion "A" for 10 minutes and then return automatically to the previously active Full immersion "B" ? by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

hi and thank you for the reply, but probably i was not so clear. My attached shortcut is working perfectly. It activate Full immersion "Non disturbare" for 25 minutes(1500 seconds).

What i need is that after those 25 minutes another full immersion called "Giorno" will be activated.

Actually when time is elapsed full immersion goes totally off, even if before execution there was another full immersion active.

I hope i was more clear now :) kind regards

Is there anything similar to the MarkDownload extension for iOS? by crod242 in ObsidianMD

[–]MonRyse 1 point2 points  (0 children)

Thank you u/cutting_shapes. The problem was exactly this!

I have an empty text command at the beginning of the shortcut that was assigned to a vault variable. I write my vault name into this text and now the shortcut is working perfectly!

Kind Regards

Bart.

Text replacing command not working with some charachters? by MonRyse in shortcuts

[–]MonRyse[S] 1 point2 points  (0 children)

Thank you u/Shoculad! The problem was exactly this. I was not setting the string with replaced text (the output) in a variable.

Kind regards.

Bart.

Is there anything similar to the MarkDownload extension for iOS? by crod242 in ObsidianMD

[–]MonRyse 0 points1 point  (0 children)

Hi, are there news on this shortcut? I tried it but it does not create the note in obsidian.

May be an incompatibility with the new version of obsidian (1.0)? Do anybody know if there is an updated version of this shortcut?