Add "next" link to Atom feeds
This commit is contained in:
parent
63b3cb37db
commit
2d8a4c4390
2 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,10 @@ module AtomBuilderHelper
|
|||
xml.link(rel: 'self', type: 'application/atom+xml', href: url)
|
||||
end
|
||||
|
||||
def link_next(xml, url)
|
||||
xml.link(rel: 'next', type: 'application/atom+xml', href: url)
|
||||
end
|
||||
|
||||
def link_hub(xml, url)
|
||||
xml.link(rel: 'hub', href: url)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue