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

turbo-rss

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turbo-rss - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

lib/index.js

@@ -16,3 +16,3 @@ 'use strict';

channel.push({title: {_cdata: data.title}});
channel.push({link: data.link || 'http://github.com/lightair/yandex-turbo'});
channel.push({link: data.link || 'http://github.com/LightAir/turbo-rss'});
channel.push({description: {_cdata: data.description || data.title}});

@@ -37,3 +37,3 @@ channel.push({language: 'ru'});

if (item.img) {
if (item.image_url) {
img = '<figure><img src="' + item.image_url + '" /></figure>';

@@ -46,3 +46,3 @@ }

let fullContent = '<header>' + img + ' <h1>' + item.title + '</h1>' + item.content + menu + '</header>';
let fullContent = '<header>' + img + ' <h1>' + item.title + '</h1>' + menu + '</header>' + item.content;

@@ -72,3 +72,3 @@ item_values.push({'turbo:content': {_cdata: fullContent}});

this.title = options.title || 'Channel Yandex RSS';
this.title = options.title || 'Untitled';
this.description = options.description || '';

@@ -84,5 +84,6 @@ this.link = options.link;

options = options || {};
let item = {
var item = {
title: options.title || 'No title',
description: options.description || '',
image_url: options.image_url,
url: options.url,

@@ -89,0 +90,0 @@ author: options.author,

{
"name": "turbo-rss",
"version": "1.0.0",
"version": "1.0.1",
"description": "RSS based, feed generator for Yandex turbo",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,3 +0,5 @@

## turbo-rss [![Build Status](http://img.shields.io/travis/lightair/turbo-rss.svg)](https://travis-ci.org/lightair/turbo-rss)
# WIP
## turbo-rss [![Build Status](https://travis-ci.org/LightAir/turbo-rss.svg)](https://travis-ci.org/lightair/turbo-rss)
>RSS based, feed generator for Yandex turbo.

@@ -4,0 +6,0 @@

Sorry, the diff of this file is not supported yet

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