|
|
Create an RSS feed quickly and easily 6.7+ |
| 0) Create a new Page Layout to hold RSS content
1) Create a Snippet with Mime Type RSS 2) Create a Navigation (and make it only see stuff on the current page) such as:
<tmpl_if session.var.adminOn><tmpl_var controls><br /></tmpl_if><?xml version="1.0"?> <rss version="2.0"> <channel> <title>INSERT TITLE HERE</title> <description>GIVE A GOOD DESCRIPTION</description> <link>http://YOURDOMAINHERE/^H(linkonly);</link> <tmpl_loop page_loop> <item> <title><tmpl_var page.menuTitle></title> <link>http://YOURDOMAINHERE/<tmpl_var page.url></link> </item> </tmpl_loop> </channel> </rss>3) put the ^AssetProxy(navigation URL); inside the Snippet 4) Add shortcuts to the RSS Page (don't forget you can put expirations on the shortcuts) 5) Use the url of the Snippet in your links to RSS. To make a live Bookmark, add this to your <head>:
<link rel="alternate" type="application/rss+xml"
title="RSS FEED TITLE GOES HERE" href="/path/to/snippet/url" >
wg-fomATgwyDOTorg | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||