Externe Feeds Einbinden




kurze Beschreibung zu RSS / Atom und deren Möglichkeiten


wie findet man Feeds?


Sinnvolle Anwendungsbereiche / Beispiele im Kontext von WackoWiki

1. Die Aktion feed

-> Aktion: RSS/Atom Feed Integration


Aufruf: {{feed url="http://..." [title=no] [max="x"] [style="css-style"] [time=1]}}


Diese einfache Aktion basiert auf SimplePie, einer einfach zu benutzenden API.


Parameter:

  • url="http://..." weist die URL des Feeds zu.
  • title=no schaltet den Titel aus (default ist yes).
  • max=X begrenzt die Ausgabe auf X Nachrichten.
  • time=1 schaltet den Zeithinweis an (default ist 0).

2. Anleitung


Formatierung

  • CSS
  • Box, Tabelle

3. Beispielfeeds


Bastle dir dein Wiki-MobLog (Bilder von flickr.com -> eigenen Account eröffnen)
{{feed url="http://www.flickr.com/services/feeds/photos_public.gne?tags=art&format=rss_200" max=1 time=1}}


XML

Pool von Japan Through the Eyes of Others


Nikko-shi, Tochigi Prefecture, Japan

David McKelvey hat dem Pool ein Foto hinzugefügt:

Nikko-shi, Tochigi Prefecture, Japan

Nikkō (日光市 Nikkō-shi, literally "sunlight" or "sunshine") is a city located in the mountains of Tochigi Prefecture, Japan.

Located approximately 140 km north of Tokyo and approximately 35 km west of Utsunomiya, the capital of Tochigi, it is a popular destination for Japanese and international tourists, housing the mausoleum of shogun Tokugawa Ieyasu (Nikkō Tōshō-gū) and that of his grandson Iemitsu (Iemitsu-byō Taiyū-in), as well as the Futarasan Shrine, which dates to the year 767. There are also many famous hot springs (onsen) in the area. Elevations range from 200 to 2,000 m.

The mountains west of the main city are part of Nikkō National Park and contain some of the country's most spectacular waterfalls and scenic trails. Source: en.wikipedia.org


3.1. Siehe auch