Skip to main content

News Feed Syndication - A package that read and fetch RSS feeds from the publications.

Project description

https://travis-ci.org/web-sys1/NFSyndication.svg?branch=master

This is a set of scripts for aggregating RSS feeds.

https://repl.it/badge/github/web-sys1/NFSyndication

Installation

You can install package through the line command:

pip install NFSyndication

Alternatively you can install it form source code (with git prefix): pip install git+https://github.com/web-sys1/NFSyndication.git

Usage

Put a list of feed URLs in feeds.txt file. One feed per line.

Run the command:

nfsyndication-src

Otherwise, you should do that through Python code:

from NFSyndication import __main__ as NFS_init

def entry_point():
  """ We use these conditions to check the statement"""
  subscriptions = [
   'http://feedpress.me/512pixels',
   'http://www.leancrew.com/all-this/feed/',
   'http://ihnatko.com/feed/',
   'http://blog.ashleynh.me/feed',
   'http://www.betalogue.com/feed/',
    ...
   ]

  with open(f'feeds.txt', 'w', encoding='utf8') as f:
   f.write(",".join(subscriptions).replace(',', '\n'))
  return NFS_init.run()

"""Then initialize code."""
entry_point()

License

See LICENSE

Bug fix

After many hours of working to development, it was set up an way of path configuration due to errors. Meanwhile, we have to set code os.path.dirname(os.path.realpath(__file__)) with the globalization of variables for source code in this package. If you encounter a problem, please report here.

This package was initially released on August 16, 2020 (under version 0.2.0). For more information about changes, see CHANGELOG.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NFSyndication-0.2.23.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

NFSyndication-0.2.23-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page