Changes between Version 11 and Version 12 of RssEmbedMacro


Ignore:
Timestamp:
Apr 1, 2017, 6:27:54 AM (4 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • RssEmbedMacro

    v11 v12  
    99To display the RSS feed, the existing HTML is stripped out. A parameter controls the display of a preview of the first 512 characters of each item. See the examples below.
    1010
    11 Parameters are given as key-value pairs, such as in `param=value`. See below for a list of accepted parameters.
     11Parameters are given as key-value pairs, such as in `param=value`.
     12
     13Embedding the RSS feed from local ticket query:
     14
     15{{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority)]]}}}
     16
     17Adding the options parameter to display the first 512 characters of each item:
     18
     19{{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true)]]}}}
     20
     21Adding a proxy server:
     22
     23{{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true,proxy=http://trac-hacks.org:3128)]]}}}
     24
     25Ticket details in RSS feed output are displayed also:
     26
     27[[Image(rssEmbedDetail.png, border=2)]]
     28
     29Ticket details in RSS feed output are not displayed:
     30
     31[[Image(rssEmbedNoDetail.png, border=2)]]
    1232
    1333== Bugs/Feature Requests
     
    3353Make sure you install feedparser, or this macro won't work.
    3454
    35 == Example
    36 
    37 Embeding the RSS feed from local ticket query:
    38 
    39 {{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority)]]}}}
    40 
    41 Adding the options parameter to display the first 512 characters of each item:
    42 
    43 {{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true)]]}}}
    44 
    45 Adding a proxy server:
    46 
    47 {{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true,proxy=http://trac-hacks.org:3128)]]}}}
    48 
    49 == Screenshots
    50 
    51 [[Image(rssEmbedDetail.png)]]
    52 
    53 [[Image(rssEmbedNoDetail.png)]]
    54 
    5555== Recent Changes
    5656