Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-generator-feed

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-generator-feed - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

9

index.js
var util = hexo.util,
file = util.file,
extend = hexo.extend,
route = hexo.route,
xml = require('jstoxml');
extend.generator.register(function(locals, render, callback){
var publicDir = hexo.public_dir,
config = hexo.config;
var config = hexo.config;
console.log('Generating feed.');
var content = [

@@ -100,3 +98,4 @@ {title: '<![CDATA[' + config.title + ']]>'},

file.write(publicDir + 'atom.xml', result, callback);
route.set('atom.xml', result);
callback();
});
{
"name": "hexo-generator-feed",
"version": "0.0.6",
"version": "0.0.7",
"description": "Feed generator plugin for Hexo",

@@ -17,3 +17,3 @@ "main": "index",

"engines": {
"hexo": "*"
"hexo": "0.3.0"
},

@@ -20,0 +20,0 @@ "dependencies": {

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