mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Skip error entries in OPDS feed
This commit is contained in:
parent
a68f3eea95
commit
5d7b8a1ef9
@ -21,6 +21,7 @@
|
||||
<% end %>
|
||||
|
||||
<% title.entries.each do |e| %>
|
||||
<% next if e.err_msg %>
|
||||
<entry>
|
||||
<title><%= HTML.escape(e.display_name) %></title>
|
||||
<id>urn:mango:<%= e.id %></id>
|
||||
@ -34,5 +35,4 @@
|
||||
<link type="text/html" rel="alternate" title="Open in Mango" href="<%= base_url %>book/<%= e.book.id %>" />
|
||||
</entry>
|
||||
<% end %>
|
||||
|
||||
</feed>
|
||||
|
Loading…
x
Reference in New Issue
Block a user