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
|
||||
title= item.title
|
||||
category= item.category
|
||||
guid!= rssLink(protocol, host, item.date, item.category.toLowerCase())
|
||||
guid!= rssLink(schemahost, item.date, item.category.toLowerCase())
|
||||
pubDate= item.date
|
||||
link!= rssLink(protocol, host, item.date, item.category.toLowerCase())
|
||||
link!= rssLink(schemahost, item.date, item.category.toLowerCase())
|
||||
author!= author
|
||||
description
|
||||
| <![CDATA[
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "arav-dwelling",
|
||||
"description": "Arav's dwelling",
|
||||
"version": "21.48.0",
|
||||
"version": "21.50.0",
|
||||
"author": "Alexander \"Arav\" Andreev <me@arav.top> (https://arav.top)",
|
||||
"license": "GPLv3",
|
||||
"homepage": "https://git.arav.top/Arav/Dwelling",
|
||||
|
@ -40,8 +40,8 @@ function getServiceByHost(host, service="") {
|
||||
}
|
||||
}
|
||||
|
||||
function rssLink(proto, host, date, category, timezone="UTC") {
|
||||
return `${proto}://${host}/mindflow#${category}-${datetime(date, date_formats.id_date, timezone)}`;
|
||||
function rssLink(schemahost, date, category, timezone="UTC") {
|
||||
return `${schemahost}/mindflow#${category}-${datetime(date, date_formats.id_date, timezone)}`;
|
||||
}
|
||||
|
||||
// This code was taken from https://www.npmjs.com/package/mysql#custom-format
|
||||
|
Loading…
Reference in New Issue
Block a user