{ "info": { "author": "Brian \u00d3", "author_email": "brian@pancrypticon.net", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pod_feeder_v2\n\nPublishes RSS/Atom feeds to Diaspora*\n\nThis is a lightweight, customizable \"bot\" script to harvest RSS/Atom feeds and\nre-publish them to the Diaspora social network. It is posted here without\nwarranty, for public use.\n\nv2 is a complete re-write of the\n[original pod_feeder](https://github.com/rev138/pod_feeder) script which was\nwritten (poorly) in perl and is no longer supported. Migrating to this version\nis recommended.\n\n## Installation\npod_feeder_v2 requires python3. You can easily install the dependencies with pip:\n\n### System-wide\n`sudo pip3 install pod-feeder-v2`\n\n### Individual user\n`pip3 install --user pod-feeder-v2`\n\n_When installing as a non-privilegd user, make sure you have `~/.local/bin` in your `$PATH`_\n\n## Migrating from pod_feeder \"classic\"\n1. pod_feeder_v2's database schema is backward-compatible with the original, so\nyou can point the script at your existing `feed.db` file (or whatever\nyours is called).\n\n2. The `--title-tags` and `--url-tags` arguments have not been carried forward\nbecause in practice they generally create lots of spurious tags, and the\n'stop words' feature is difficult to implement. `--user-agent` is not currently\nimplemented because the feedparser library does not support it.\n\n3. Several new options, `--summary`, `--debug`, and `--quiet` have been added.\n\n## Usage\nThis script is intended to be run as a cron job, which might look something like this:\n\n`@hourly pod-feeder --feed-id myfeed --feed-url http://example.com/feeds/rss --pod-url https://diaspora.example.com --username user --password ******** --quiet`\n\nThere is also a database cleaner script that you can run as often as you like to\nkeep your database size under control:\n\n`@weekly pf-clean-db feed.db > /dev/null 2>&1`\n\n usage: pod-feeder [-h] [--aspect-id ASPECT_ID] [--auto-tag AUTO_TAG]\n [--category-tags] [--database DATABASE] [--embed-image]\n --feed-id FEED_ID --feed-url FEED_URL\n [--ignore-tag IGNORE_TAG] [--limit LIMIT] [--no-branding]\n --pod-url POD_URL [--post-raw-link] [--timeout TIMEOUT]\n [--username USERNAME] [--via VIA] [--summary | --full]\n (--password PASSWORD | --fetch-only) [--debug | --quiet]\n\n optional arguments:\n -h, --help show this help message and exit\n --aspect-id ASPECT_ID\n Numerical aspect ID to share with. May be specified\n multiple times (default: 'public')\n --auto-tag AUTO_TAG Hashtags to add to all posts. May be specified\n multiple times\n --category-tags Automatically hashtagify RSS item 'categories' if any\n --database DATABASE The file to store feed data (default: 'feed.db')\n --embed-image Embed an image in the post if a link exists\n --feed-id FEED_ID An arbitrary label for this feed\n --feed-url FEED_URL The feed URL\n --ignore-tag IGNORE_TAG\n Hashtag to filter out. May be specified multiple times\n --limit LIMIT Only post n items per script run, to prevent post-\n spamming\n --no-branding Do not include 'via pod_feeder_v2' footer to posts\n --pod-url POD_URL The pod URL\n --post-raw-link Post the raw link instead of hyperlinking the article\n title\n --timeout TIMEOUT How many hours to keep re-trying failed posts (default\n 72)\n --username USERNAME The D* login username\n --via VIA Sets the 'posted via' footer text (default:\n 'pod_feeder_v2')\n --summary Post the summary text of the feed item\n --full, --body Post the full text of the feed item\n --password PASSWORD The D* user password\n --fetch-only Don't publish to Diaspora, queue the new feed items\n for later\n --debug Show debugging output\n --quiet Suppress normal output\n\n## A Note on YouTube Feeds\n\nIt is possible to publish a YouTube channel's feed, by using the following URL format:\n\n https://www.youtube.com/feeds/videos.xml?channel_id=\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/brianodonnell/pod_feeder_v2", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pod-feeder-v2", "package_url": "https://pypi.org/project/pod-feeder-v2/", "platform": "", "project_url": "https://pypi.org/project/pod-feeder-v2/", "project_urls": { "Homepage": "https://gitlab.com/brianodonnell/pod_feeder_v2" }, "release_url": "https://pypi.org/project/pod-feeder-v2/1.0.1/", "requires_dist": [ "diaspy-api", "feedparser", "html2text", "urllib3" ], "requires_python": ">=3", "summary": "A utility to publish RSS/Atom feeds to Diaspora*", "version": "1.0.1" }, "last_serial": 5478872, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0d04487830f789f53d0895b50a261211", "sha256": "79a9b651d9ad8aaf6e2d1e55ccbc03c6bb1aaf33f65eb7715c9232b4c85a4912" }, "downloads": -1, "filename": "pod_feeder_v2-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0d04487830f789f53d0895b50a261211", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9503, "upload_time": "2019-07-02T23:22:31", "url": "https://files.pythonhosted.org/packages/4b/50/cd0d8923f8ee08e9df8f8159d1589700afe5bcb3eb28848b6df278ca1c48/pod_feeder_v2-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ff893bf2251bed5b6b5133669e7e245", "sha256": "dc3b63f98ae8279c42cdea40021461256f5ec73c68035c6105e06b507280cae5" }, "downloads": -1, "filename": "pod-feeder-v2-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7ff893bf2251bed5b6b5133669e7e245", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8109, "upload_time": "2019-07-02T23:22:33", "url": "https://files.pythonhosted.org/packages/a2/a9/dd4cc0696395a73a3a7b2790c85c6accb2e1d74a9713dd757255e2395ba6/pod-feeder-v2-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "809ae96ddd4de009ed76fb7a55f59499", "sha256": "ac424322a0d1572e69b4f46dc5fe91b636272fa3d58d377b3a479079ba00c03c" }, "downloads": -1, "filename": "pod_feeder_v2-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "809ae96ddd4de009ed76fb7a55f59499", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9504, "upload_time": "2019-07-03T00:23:43", "url": "https://files.pythonhosted.org/packages/82/f9/3189dfd2f5de2e752336d98ed696167c84ccb28b0440970030b4044e3ccf/pod_feeder_v2-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9fcfeab97dca0a5f860359a933da60bb", "sha256": "b4b4db5ec11d2890a055508ba72cea54683f9f5b1b79ce5d8af797efe0cef0b2" }, "downloads": -1, "filename": "pod-feeder-v2-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9fcfeab97dca0a5f860359a933da60bb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8113, "upload_time": "2019-07-03T00:23:45", "url": "https://files.pythonhosted.org/packages/6c/94/9f1270999625d304a7de0cf46728b552f64b1ed8ed4fb985f9bda775f511/pod-feeder-v2-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "809ae96ddd4de009ed76fb7a55f59499", "sha256": "ac424322a0d1572e69b4f46dc5fe91b636272fa3d58d377b3a479079ba00c03c" }, "downloads": -1, "filename": "pod_feeder_v2-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "809ae96ddd4de009ed76fb7a55f59499", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9504, "upload_time": "2019-07-03T00:23:43", "url": "https://files.pythonhosted.org/packages/82/f9/3189dfd2f5de2e752336d98ed696167c84ccb28b0440970030b4044e3ccf/pod_feeder_v2-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9fcfeab97dca0a5f860359a933da60bb", "sha256": "b4b4db5ec11d2890a055508ba72cea54683f9f5b1b79ce5d8af797efe0cef0b2" }, "downloads": -1, "filename": "pod-feeder-v2-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9fcfeab97dca0a5f860359a933da60bb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8113, "upload_time": "2019-07-03T00:23:45", "url": "https://files.pythonhosted.org/packages/6c/94/9f1270999625d304a7de0cf46728b552f64b1ed8ed4fb985f9bda775f511/pod-feeder-v2-1.0.1.tar.gz" } ] }