Mit dem iPhone scannen, um zu installieren
Get the latest Apple news from one of your favorite tech blogs. Headlines can be previewed in Siri or the widget.
Neue Funktionen
Version 1.0
First release
Was er macht
13 Aktionen-
CommentGet the latest Apple news from one of your favorite tech blogs. Headlines can be previewed in Siri or the widget.
-
Set VariableLines
-
CommentEnter the name of the publication to fetch headlines from.
-
Text
-
CommentEnter the RSS feed of the blog you want to fetch headlines from.
-
URLhttps://9to5mac.com/feed/
-
Get Items from RSS Feed
-
Repeat with Each
-
Get Name
-
Add to Variable
-
Text
-
Set VariableLines
-
Show Result
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#define color blue
#define glyph phone
// Get the latest Apple news from one of your favorite tech blogs. Headlines can be previewed in Siri or the widget.
@Lines = nil
// Enter the name of the publication to fetch headlines from.
const SiteName = "9to5Mac"
// Enter the RSS feed of the blog you want to fetch headlines from.
const RSSURL = url("https://9to5mac.com/feed/")
getRSS(7, RSSURL)
for _ in nil {
getName(nil)
@News = nil
@Lines = "{@Lines}\n\n{}"
}
show("Reading the latest news from {SiteName}...\n{@Lines}")
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von widowild
Das gefällt dir vielleicht auch
Werbung