Again I forgot something and found out about it only after a week. :)
This commit is contained in:
parent
5d832f9d11
commit
70fce7cd08
@ -11,9 +11,9 @@ rss(version='2.0')
|
|||||||
item
|
item
|
||||||
title= item.title
|
title= item.title
|
||||||
category= item.category
|
category= item.category
|
||||||
guid!= rssLink(protocol, host, item.date, item.category.toLowerCase())
|
guid!= rssLink(schemahost, item.date, item.category.toLowerCase())
|
||||||
pubDate= item.date
|
pubDate= item.date
|
||||||
link!= rssLink(protocol, host, item.date, item.category.toLowerCase())
|
link!= rssLink(schemahost, item.date, item.category.toLowerCase())
|
||||||
author!= author
|
author!= author
|
||||||
description
|
description
|
||||||
| <![CDATA[
|
| <![CDATA[
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "arav-dwelling",
|
"name": "arav-dwelling",
|
||||||
"description": "Arav's dwelling",
|
"description": "Arav's dwelling",
|
||||||
"version": "21.48.0",
|
"version": "21.50.0",
|
||||||
"author": "Alexander \"Arav\" Andreev <me@arav.top> (https://arav.top)",
|
"author": "Alexander \"Arav\" Andreev <me@arav.top> (https://arav.top)",
|
||||||
"license": "GPLv3",
|
"license": "GPLv3",
|
||||||
"homepage": "https://git.arav.top/Arav/Dwelling",
|
"homepage": "https://git.arav.top/Arav/Dwelling",
|
||||||
|
@ -40,8 +40,8 @@ function getServiceByHost(host, service="") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function rssLink(proto, host, date, category, timezone="UTC") {
|
function rssLink(schemahost, date, category, timezone="UTC") {
|
||||||
return `${proto}://${host}/mindflow#${category}-${datetime(date, date_formats.id_date, timezone)}`;
|
return `${schemahost}/mindflow#${category}-${datetime(date, date_formats.id_date, timezone)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This code was taken from https://www.npmjs.com/package/mysql#custom-format
|
// This code was taken from https://www.npmjs.com/package/mysql#custom-format
|
||||||
|
Loading…
Reference in New Issue
Block a user