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.7.6 to 0.7.7

11

index.js

@@ -89,3 +89,9 @@ /**

let u = new URL(config.root_url);
u.pathname = doc.renderpath;
// Accommodate when root_url is something like
// http://example.com/foo/bar/
// This generates a URL for the blog entry that includes the
// domain for the website. But in some cases the generated
// content lands in a subdirectory.
u.pathname = path.normalize(path.join(u.pathname, doc.renderpath));
// console.log(`rss item ${config.root_url} ${doc.renderpath} ==> ${u.toString()}`);
return {

@@ -126,3 +132,4 @@ title: doc.metadata.title,

let feed_url = new URL(config.root_url);
feed_url.pathname = blogcfg.rssurl;
feed_url.pathname = path.normalize(path.join(feed_url.pathname, blogcfg.rssurl));
// console.log(`generateRSS ${config.root_url} ${blogcfg.rssurl} ==> ${feed_url.toString()}`);
await akasha.generateRSS(config, blogcfg, {

@@ -129,0 +136,0 @@ feed_url: feed_url.toString(),

2

package.json

@@ -17,3 +17,3 @@ {

},
"version": "0.7.6",
"version": "0.7.7",
"engines": {

@@ -20,0 +20,0 @@ "node": ">=12.2"

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