Template:Feed

From Second Life Wiki
Revision as of 20:41, 4 December 2008 by SignpostMarv Martin (talk | contribs) (switching to SVG)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
    Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-11104n0niMpVg6nm0': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_5e8eed94d6d4.png' @ error/convert.c/ConvertImageCommand/3258.

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

Missing URL

{{feed
|text=This text will not be displayed because the URL is missing
}}
Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-11109mjtNZPqrzTxZ': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_b2ba45b845c8.png' @ error/convert.c/ConvertImageCommand/3258.

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


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/1928. convert-im6.q16: unable to open file `/tmp/magick-11114FaWepIvXBNj2': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_5b0a6db4914d.png' @ error/convert.c/ConvertImageCommand/3258.

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/1928. convert-im6.q16: unable to open file `/tmp/magick-111192-FF93cm3NB1': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_c57bde7017a0.png' @ error/convert.c/ConvertImageCommand/3258.

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]]
}}

Torley-favicon.png SubscribetoTorley'spostsontheOfficialSecondLifeBlog