Added a code that is supposed to advertise RSS feeds for auto-discovery

This commit is contained in:
Alexey Verkhovsky 2005-03-26 05:26:12 +00:00
parent dfcc891795
commit 6cceead11c

View file

@ -30,6 +30,17 @@
<%= @style_additions %> <%= @style_additions %>
<%= @web ? @web.additional_style : '' %> <%= @web ? @web.additional_style : '' %>
</style> </style>
<% if @web %>
<link rel="alternate" type="application/rss+xml" title="<%= h @web.name %> - Headlines RSS"
href="<%= url_for :controller => 'wiki', :web => @web.address,
:action => 'rss_with_headlines' %>"
/>
<link rel="alternate" type="application/rss+xml" title="<%= h @web.name %> - Full Pages RSS"
href="<%= url_for :controller => 'wiki', :web => @web.address,
:action => 'rss_with_content' %>"
/>
<% end %>
</head> </head>
<body> <body>