User:SignpostMarv Martin/Sandbox/Template:RSSfeed

From Second Life Wiki
Jump to navigation Jump to search

This template provides a basic RSS feed link.

Usage

  • url is required, all others are optional.
  • Default text is "subscribe to this feed"
  • Default icon is

Named-parameters

{{feed
|url=<!-- URL to RSS/Atom feed -->
|text=<!-- text for link -->
|icon=<!-- Icon to use next to link -->
}}

Numeric-parameters

{{feed
|1=<!-- URL to RSS/Atom feed -->
|2=<!-- text for link -->
|3=<!-- Icon to use next to link -->
}}

Examples

URL Only

{{feed
|http://blog.secondlife.com/feed/
}}

Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i @ error/delegate.c/InvokeDelegate/1966. convert-im6.q16: unable to open file `/tmp/magick-hBX9U-j_kEekyXT3wePSEy9E92xbJj3c': No such file or directory @ error/constitute.c/ReadImage/619. convert-im6.q16: no images defined `PNG:/tmp/transform_960dc03a99c9.png' @ error/convert.c/ConvertImageCommand/3229. subscribetothisfeed

URL + Text

{{feed
|http://blog.secondlife.com/feed/
|Subscribe to the Official Second Life Blog
}}

Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i @ error/delegate.c/InvokeDelegate/1966. convert-im6.q16: unable to open file `/tmp/magick-5N84it3roG4bTpCfwaFxrS4Cqk7CiZtp': No such file or directory @ error/constitute.c/ReadImage/619. convert-im6.q16: no images defined `PNG:/tmp/transform_c39432a652d3.png' @ error/convert.c/ConvertImageCommand/3229. SubscribetotheOfficialSecondLifeBlog

URL + Text + Image

{{feed
|http://blog.secondlife.com/author/torleylinden/feed/
|Subscribe to Torley's posts on the Official Second Life Blog
|[[Image:Torley-favicon.png|14px]]
}}

SubscribetoTorley'spostsontheOfficialSecondLifeBlog

<strongstyle="color:red;">NoURLhasbeenspecified.