My RSS is not updating. It’s updated on the editor but not in the homescreen. Even though i set refresh to 30mins.
Can you share the formula here so we can try to reproduce your issue? Also, check if other elements, like time, in your preset work so you’ll know if this is an issue with RSS or the rendering.
This is my formula
tc(cut,wg(“http://kalenderbali.org/kbdscript.php?id=4”,txt),18, -24)$
Time is working fine.
Hi there,
I tried accessing the URL address directly, and here’s the response (not a standard RSS response):
document.write('<p><a href="http://kalenderbali.org" target="_blank" style="text-decoration: none">Rabu, 13 Nopember 2024. Buda Wage Merakih</a></p>');
I guess that you should ask to the RSS provider, just in case they modified the RSS request URL.
I hope this would help.
Yes, it’s the RSS, shows Balinese Calendar that changes daily. I cut the text to get “Rabu, 13 Nopember 2024. Buda Wage Merakih” only.
For me the URL response in not a standard RSS document.
But anyway, in regards to your formula to get a substring of the response:
tc(cut,wg(“http://kalenderbali.org/kbdscript.php?id=4”,txt),18, -24)$
Are you trying to get 24 characters from the 18th position from the left?
Or is it 18 characters from the 24 position from the right?
As far as I know, the syntax of the tc(cut) function is:
$tc(cut, <text>, <start>, <length>)$
• Use negative number for the <start>, to start counting from the end of the <text>.
• Use negative number for the <length>, to get the last <length) characters of the <text>.
From your post, it appears that you want to get the last 24 characters of the text, starting from the 18th character from the left.
I hope this would help.
The formula work as I wish. The problem is it’s not updating in my homescreen, but its updaing in formula and preview screen. I discovered that I need to restart KLWP in order to get it updated in my homescreen.
You can check the KLWP settings for RSS/Weather refresh interval.
Also, you can use that formula in a Flow with a Cron trigger set for an update interval you prefer.
I hope this would help.