![JAR search and dependency download from the Maven repository](/logo.png)
FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteResponderTests.TestRssResponder.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
FitNesse tests documenting the RestFixture
!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||true|
|contents|!-PageOne-! |true|
|contents|!-http://www.myserver.com/PageOne-!|true|
|contents|!-PageTwo-! |true|
|contents|!-http://www.myserver.com/PageTwo-!|true|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy