Sha256: 477fec8a2da2271e883d9a0a533a90232020e85cc41cc6a4dd8f018ee8aa0e28

Contents?: true

Size: 1.19 KB

Versions: 8

Compression:

Stored size: 1.19 KB

Contents

!c !2 RSS - Real Simple Syndication

Use the following following url to get an RSS feed.
http://-host-/PageName?responder=rss

For FitNesse to generate the links properly, the RSS_PREFIX variable must be defined.

Now lets set the RSS_PREFIX variable in the root page so that it is valid for the entire site.  We'll also edit a couple pages.
|Response Requester.|
|uri   |status?|
|!-root?responder=saveData&editTime=1&ticketId=2&pageContent=!define+RSS_PREFIX+{http://www.myserver.com/}-!|303|
|!-PageOne?responder=saveData&editTime=1&ticketId=2&pageContent=blah-!|303|
|!-PageTwo?responder=saveData&editTime=1&ticketId=2&pageContent=blah-!|303|

Get the RSS!
|Response Requester.|
|uri   |status?|
|!-?responder=rss-!|200|

Let's have a look.
|Response Examiner.|
|type  |pattern|matches?|wrapped html?|
|contents|<\?xml version="1.0" encoding="UTF-8" standalone="no"\?>|true||

Make sure it has all the right values.
|Response Examiner.|
|type  |pattern|matches?|
|contents|<rss version="2.0">|true|
|contents|<title>!-PageOne-!</title>|true|
|contents|<link>!-http://www.myserver.com/PageOne-!</link>|true|
|contents|<title>!-PageTwo-!</title>|true|
|contents|<link>!-http://www.myserver.com/PageTwo-!</link>|true|

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestRssResponder/content.txt