Действие: Feed

Имеется также Deutsch, English, Français


  • Внедряет на данную ВикиСтраницу RSS-ленту с другого сайта.
  • Вызов: {{feed url="https://...[|https://...|https://...]" [title="no"] [max=number] [time=1] [nomark=number]}}
  • url адрес ленты
  • title - значение "text" будет показано в заголовке, "no" не покажет заголовка, если оставить пустым то заголовок будет получен с ленты.
  • max максимальное количество пунктов ленты
  • time значение 0 (по умолчанию) скроет метки времени на пунктах ленты, 1 - покажет их.
  • nomark значение 0 покажет заголовки лент. 1 - уберет.

Примеры


{{feed url="https://www.anekdot.ru/rss/export_j.xml" max=2}}

XML

Feed Title: Свежая десятка смешных анекдотов. Анекдоты из России.


Анекдот №12 за 10 июля 2026

— Я тут недавно книжку читала. Автора не помню, впрочем, это не важно. Название… Хм… Вылетело из головы. Но главный прикол, что я и содержание напрочь забыла!
— Ой, Катя, я тоже эту книгу недавно читал!

А вот пример англоязычной ленты :
{{feed url="https://www.flickr.com/services/feeds/groups_pool.gne?id=57342295@N00&lang=en-us&format=atom" max=1 time=1}}


XML

Feed Title: Temples,Shrines & Castles of Japan. ( + Deities) 日本 Pool


Tsuruga Castle 鶴ヶ城

banzainetsurfer has added a photo to the pool:

Tsuruga Castle 鶴ヶ城

Tsuruga Castle (鶴ヶ城, Tsurugajō) was built in 1384 and changed hands many times between the different rulers of the Aizu region. It was destroyed after the Boshin War of 1868, a rebellion against the newly formed Meiji government, which had taken over control from the Tokugawa shogun and put an end to Japan's feudal era. Tsuruga Castle was one of the last strongholds of samurai loyal to the shogunate.

The castle was rebuilt as a concrete reconstruction in the 1960s. In renovation works completed in 2011, the color of the roof tiles was reverted from grey to the original red, a unique color among Japanese castles. Visitors can climb to the top floor of the castle keep and look out onto the surrounding city. The inside of the building is an interesting museum with attractive displays about the history of the castle and the samurai lifestyle.

Source: www.japan-guide.com/e/e7703.html