Escaneie com o iPhone para instalar
Get the latest Apple news from one of your favorite tech blogs. Headlines can be previewed in Siri or the widget.
Novidades
Versão 1.0
First release
O que ele faz
13 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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}")
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de widowild
Você também pode gostar
Publicidade