Skip to content

Commit

Permalink
Add a link to rss feeds for apps that use page scraping
Browse files Browse the repository at this point in the history
  • Loading branch information
philborman committed Jun 4, 2018
1 parent 2ec84d6 commit b893a79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion data/interfaces/bookstrap/audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
%endif
<a href="audioWall" class="button btn btn-sm btn-primary"><i class="fa fa-calendar-check"></i> Recent AudioBooks</a>
%if lazylibrarian.CONFIG['USER_ACCOUNTS'] == True:
<a href="rssFeed?user=${user}&type=AudioBook&limit=10.xml" type="application/rss+xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<a href="rssFeed?user=${user}&type=AudioBook&limit=10.xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<link rel="alternate" type="application/rss+xml" title="LazyLibrarian latest AudioBooks" href="rssFeed?user=${user}&type=AudioBook&limit=10.xml">
%endif
</div>
<div class="col-xs-2">
Expand Down
3 changes: 2 additions & 1 deletion data/interfaces/bookstrap/books.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<a href="bookWall?have=0" class="button btn btn-sm btn-primary"><i class="fa fa-calendar-plus"></i> Additions</a>
<a href="bookWall?have=1" class="button btn btn-sm btn-primary"><i class="fa fa-calendar-alt"></i> Downloads</a>
%if lazylibrarian.CONFIG['USER_ACCOUNTS'] == True:
<a href="rssFeed?user=${user}&type=eBook&limit=10.xml" type="application/rss+xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<a href="rssFeed?user=${user}&type=eBook&limit=10.xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<link rel="alternate" type="application/rss+xml" title="LazyLibrarian latest eBooks" href="rssFeed?user=${user}&type=eBook&limit=10.xml">
%endif
</div>
%if len(languages) > 1:
Expand Down
3 changes: 2 additions & 1 deletion data/interfaces/bookstrap/magazines.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
%endif
<a href="magWall" class="button btn btn-sm btn-primary"><i class="fa fa-calendar-check"></i> Recent Issues</a>
%if lazylibrarian.CONFIG['USER_ACCOUNTS'] == True:
<a href="rssFeed?user=${user}&type=Magazine&limit=10.xml" type="application/rss+xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<a href="rssFeed?user=${user}&type=Magazine&limit=10.xml" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="RSS feed of recent downloads"><i class="fa fa-rss"></i></a>
<link rel="alternate" type="application/rss+xml" title="LazyLibrarian latest magazines" href="rssFeed?user=${user}&type=Magazine&limit=10.xml">
%endif
</div>
<div class="clearfix visible-xs"><hr/></div>
Expand Down

0 comments on commit b893a79

Please sign in to comment.