Skip to main content

News Feed Syndication

https://travis-ci.org/web-sys1/NFSyndication.svg?branch=master https://img.shields.io/pypi/v/NFSyndication.svg https://img.shields.io/pypi/pyversions/NFSyndication.svg tests

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
usage: nfsyndication-src [-h] [-V] [-v] [-f FILENAME [FILENAME ...]] [--outputJSON OUTPUTJSON] [--comparator-filter [COMPARATOR_FILTER]]

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

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         Print the package version and quit
  -v, --verbose         Show verbose messages
  -f FILENAME [FILENAME ...], --filename FILENAME [FILENAME ...]
                        specify which file type to use (for example: nfsyndication-src --filename=./path/to/sample.file.txt)
  --outputJSON OUTPUTJSON
                        Save feeds to output file JSON format.
  --comparator-filter [COMPARATOR_FILTER]
                        Enable the comparator. This will randomly ignore stale RSS feeds from the rendering output HTML.

Otherwise, you should do that through Python code:

from NFSyndication import init 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()

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

If you wish to do another way instead of feeds.txt, you should use pass filename to upload list of the feeds. Then run:

nfsyndication-src --filename=path/to/feeds.txt

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.

Metadata

Release files for NFSyndication 0.2.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NFSyndication 0.2.25
File Size Uploaded
NFSyndication-0.2.25.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for NFSyndication 0.2.25
File Interpreter ABI Platform
NFSyndication-0.2.25-py3-none-any.whl Python 3 none any Details

Total release size: 37.0 kB

Release files / NFSyndication-0.2.25.tar.gz

Download URL NFSyndication-0.2.25.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0e34036f7f3edd28c4efd3f50e8d6da629c4087e43345812a5b60f6ddbd04089
BLAKE2b-256 checksum
How to use checksums
3291e554426f613ff85a863dd4768c4b443c842c9548b75ee4c2900dd3cd3179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release files / NFSyndication-0.2.25-py3-none-any.whl

Download URL NFSyndication-0.2.25-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
743d335e68c04b608e06fc022a3458fa858be4b53b3e9879a955e3ad28c228d5
BLAKE2b-256 checksum
How to use checksums
314b4c0cdfb72b21ca3ef113bbe735365fb20f6211ea73c2528b5037c1ea8657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.2.25 This release

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page