|
|
@ -11,8 +11,7 @@ interface Props { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const getRssXml = (data: Props) => { |
|
|
|
export const getRssXml = (data: Props) => { |
|
|
|
let item =` |
|
|
|
let item =`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
|
|
|
<rss xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
|
<rss xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
|
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
|
|
xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
|
|
|
|
xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
|
|
|
|