/scriptable-lockscreen-rss-widget

A lockscreen widget for the iOS app scriptable which supports adding news articles via RSS to your lockscreen and homescreen

Primary LanguageJavaScript

RSS Lockscreen Widget (Scriptable)

This is a simple widget that allows you to add your favorite news site via RSS right on your iOS lockscreen.

Sriptable RSS News Widget

Features

Prepare to use the widget

To use this widget, you need to do the following steps:

  • Install Scriptable from the App Store
  • Download the script here
  • Open the script and enter the link to the RSS feed of your favorite news site (see Edit Script)
  • After you're done with the changes, you can add the widget to your lock screen. These are the settings after selecting the script:
    • "When interacting": Run script
    • "Parameter": leave it blank

Edit script

Now that you have the script in Scriptable, it's time to enter your favorite news site.
These are the changes you need to make in the script:

const url = "RSS-FEED-URL";
const srcName = "SITE-NAME";

Replace RSS-FEED-URL with the URL of the RSS feed you'd like to add. Replace SITE-NAME with the name of the site that should be displayed on the lock screen.

Rotation feature

Version 1.1.0 supports a rotation feature where the script automatically selects one of the 5 latest articles from the RSS feed. This value can be changed by editing the following value:

const rotationValue = 5;