RSS listview with Tasker

RSS listview with Tasker

1, Create a ‘RSS’ directory under Tasker user directory. And create a txt file there, ‘rsslist.txt’. Write URL of RSS to file, one URL per line.

2, Create a Tasker’s task using following code. And run this task. ‘myfeed.json’ which converted all RSSfeed data into JSON is output.

https://drive.google.com/file/d/0B0O6MUjTuxUNa3ZFZHhVdGpIVzQ/

3, Add customview using following LLscript. This script creates listview of RSSfeed using ‘myfeed.json’.

https://drive.google.com/file/d/0B0O6MUjTuxUNcFVtR2hQdFJfMVk/

4, You should update RSS customview. This customview’s script can be used to update. First, you add this script to the last action of Tasker’s task (As plugin action ‘Lightning Script’. Setting ‘Run in’ is ‘Background’). If you want automatic update with timer, include task in timer profile. If you want manual update, run Tasker’s task with Tasker intent script command of LL, from menu, shortcut, gesture etc.

LL.sendTaskerIntent(new TaskerIntent(“getrssdata”), true);

-If you want to change the textcolor, textsize, backgroundcolor, please edit script and re-create customview.

– The place of a directory and file is match with my device. If it is not all right, replace and rewrite code to your device.

https://drive.google.com/file/d/0B0O6MUjTuxUNa3ZFZHhVdGpIVzQ
]]>

Leave a Reply

Your email address will not be published. Required fields are marked *