This is a simple widget that allows you to add your favorite news site via RSS right on your iOS lockscreen.
- Display a custom RSS feed right on your lock screen
- A click on the news opens up the article in your browser
- Display the latest article
- to use that, download lockscreen-rss-widget_no_rotation.js
- Display the five latest articles in rotation
- to use that, download lockscreen-rss-widget_rotation.js
- see more under Rotation feature
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
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.
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;