3 Commits

Author SHA1 Message Date
7b67722ca4 Fixed blank entry detection logic 2026-04-16 10:20:13 -05:00
0c8f99de78 Fixed linebreaks not showing in Feed 2026-04-15 18:43:35 -05:00
35bb43452e Bump version 1.1.1 2026-04-15 18:43:21 -05:00
3 changed files with 7 additions and 5 deletions

View File

@@ -116,8 +116,10 @@ function checkAPI() {
let items = [];
for (let j = 0; j < data.length; j++) {
if (data[j] != undefined || data[j] != null) {
if (data[j] != undefined && data[j] != null) {
items.push(SERVICE_FUNC[s](data[j]));
} else {
data.splice(j);
}
}
@@ -175,7 +177,7 @@ function newTAF(taf) {
let item = {
title: title,
description: taf,
description: taf.replace(/(?:\r\n|\r|\n)/g, '<br>'),
url: API_URL + TAF_SERVICE + "?ids=" + ((tafSplit[1] == "AMD") ? tafSplit[2] : tafSplit[1]),
guid: id,
date: eventDate

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "metar-rss",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "metar-rss",
"version": "1.1.0",
"version": "1.1.1",
"license": "AGPL-3.0-only",
"dependencies": {
"axios": "^1.15.0",

View File

@@ -1,6 +1,6 @@
{
"name": "metar-rss",
"version": "1.1.0",
"version": "1.1.1",
"description": "Monitors, generates and updates an RSS Feed File for Airport METARs and TAFs",
"repository": {
"type": "git",