ShareShortcuts

Apple News

Get the latest Apple news from one of your favorite tech blogs

widowild
„Apple News“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit widowild die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
70K
Gesichert
0
Aktionen
13
Kategorie
Social Network
Version
1.0
Sprache
EN

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

Versionsverlauf
1.0 29. Mär 2019

First release

Was er macht

13 Aktionen
  1. Comment
    Get the latest Apple news from one of your favorite tech blogs. Headlines can be previewed in Siri or the widget.
  2. Set Variable
    Lines
  3. Comment
    Enter the name of the publication to fetch headlines from.
  4. Text
  5. Comment
    Enter the RSS feed of the blog you want to fetch headlines from.
  6. URL
    https://9to5mac.com/feed/
  7. Get Items from RSS Feed
  8. Repeat with Each
  9. Get Name
  10. Add to Variable
  11. Text
  12. Set Variable
    Lines
  13. Show Result

Als Code ansehen
Beta

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

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung