2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <channel>
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-27 04:19:49 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <title><%= title(@conn, assigns) %></title>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <description><%= excerpt(@conn, assigns) %></description>
							 | 
						
					
						
							
								
									
										
										
										
											2021-03-19 19:32:18 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <link><%= Legendary.Content.Router.Helpers.url(Legendary.CoreWeb.Endpoint) %></link>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <atom:link href="<%= Legendary.Content.Router.Helpers.url(Legendary.CoreWeb.Endpoint) %><%= @feed_url %>" rel="self" type="application/rss+xml" />
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<%= for post <- @posts do %>
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-06 19:43:16 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <%= if unauthenticated_post?(post) do %>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <item>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 15:54:24 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <title><%= post.title |> HtmlSanitizeEx.strip_tags() %></title>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <description>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 15:54:24 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <%= post.content |> process_content |> html_escape |> safe_to_string %>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      </description>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <pubDate><%=
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 15:54:24 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        post.date
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        |> DateTime.from_naive!("Etc/UTC")
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        |> Timex.format!("{WDshort}, {D} {Mshort} {YYYY} {h24}:{m}:{s} {Z}")
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      %></pubDate>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <guid isPermaLink="true"><%= post.guid %></guid>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </item>
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-06 19:43:16 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <% end %>
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-22 19:22:44 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<% end %>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </channel>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</rss>
							 |