wip: tried approach from https://andrewstiefel.com/style-atom-xsl/ to style feed for browser, but it didn't work straight away and i gave up
This commit is contained in:
parent
78565de602
commit
3c581c25e8
|
@ -24,5 +24,10 @@ module.exports = (links, tags, feedData) => {
|
|||
feed.item(itemOptions)
|
||||
})
|
||||
|
||||
return feed.xml({indent: ' '})
|
||||
const feedString = feed.xml({indent: ' '})
|
||||
|
||||
feedLines = feedString.split('\n')
|
||||
feedLines.splice(1, 0, `<?xml-stylesheet href="feed.xsl" type="text/xsl"?>`)
|
||||
|
||||
return feedLines.join('\n')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue