Socket
Socket
Sign inDemoInstall

akashacms-blog-podcast

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akashacms-blog-podcast - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

31

index.js

@@ -86,15 +86,24 @@ /**

var maxEntries = $(element).attr('maxentries');
// console.log(element.name +' '+ metadata.blogtag);
var rssitems = [];
for (var q = 0; q < documents.length; q++) {
var rssitems = [];
var documents2 = [];
var count = 0;
for (var q = 0; q < documents.length; q++, count++) {
var doc = documents[q];
rssitems.push({
title: doc.frontmatter.yaml.title,
description: doc.frontmatter.yaml.teaser ? doc.frontmatter.yaml.teaser : "",
url: config.root_url +'/'+ doc.renderedFileName,
date: doc.frontmatter.yaml.publicationDate
? doc.frontmatter.yaml.publicationDate
: doc.stat.mtime
});
// console.log('count='+ count +' maxEntries='+ maxEntries);
if (typeof maxEntries === "undefined"
|| (typeof maxEntries !== "undefined" && count < maxEntries)) {
rssitems.push({
title: doc.frontmatter.yaml.title,
description: doc.frontmatter.yaml.teaser ? doc.frontmatter.yaml.teaser : "",
url: config.root_url +'/'+ doc.renderedFileName,
date: doc.frontmatter.yaml.publicationDate
? doc.frontmatter.yaml.publicationDate
: doc.stat.mtime
});
documents2.push(doc);
} // else console.log('skipped');
}

@@ -112,3 +121,3 @@

akasha.partial("blog-news-river.html.ejs", {
documents: documents,
documents: documents2,
feedUrl: feedRenderTo

@@ -115,0 +124,0 @@ },

@@ -14,3 +14,3 @@ {

},
"version": "0.4.2",
"version": "0.4.3",
"engines": {

@@ -17,0 +17,0 @@ "node": ">=0.10.1"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc