{"id":13343164,"url":"https://gitlab.com/marevalo/feed2xmpp","last_synced_at":"2025-03-12T04:32:43.077Z","repository":{"id":62234283,"uuid":"15106626","full_name":"marevalo/feed2xmpp","owner":"marevalo","description":"Personal patches to edhelas/atomtopubsub : https://github.com/edhelas/atomtopubsub","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-07-30T21:06:30.959Z","etag":null,"topics":["atom","federation","feed","rss","social networking","xmpp"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":null,"metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-31T09:15:26.788Z","updated_at":"2019-11-26T18:47:09.962Z","dependencies_parsed_at":"2022-10-28T22:45:32.835Z","dependency_job_id":null,"html_url":"https://gitlab.com/marevalo/feed2xmpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/marevalo%2Ffeed2xmpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/marevalo%2Ffeed2xmpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/marevalo%2Ffeed2xmpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/marevalo%2Ffeed2xmpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/marevalo","download_url":"https://gitlab.com/marevalo/feed2xmpp/-/archive/master/feed2xmpp-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4515558,"owners_count":6495,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["atom","federation","feed","rss","social networking","xmpp"],"created_at":"2024-07-29T19:30:40.512Z","updated_at":"2024-10-24T03:30:28.186Z","avatar_url":null,"language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# feed2xmpp\n\nfeed2xmpp is a python script that will retrieve feeds (in almost\nany format available) and publish the posts on the XMPP network\nbe it by PubSub or sending them to a user or MUC chatroom.\n\nfeed2xmpp is a for of edhelas' already great \n[atomtopubsub](https://github.com/edhelas/atomtopubsub) that tries to\nincrease the formats supported and publication target.\n\n## Requirements\n\nfeed2xmpp needs all these dependencies:\n\n* Python \u003e= 3.5 ( I suppose... no idea about real version needs)\n* feedparser\n* slixmpp\n* jsonpickle\n* bs4\n* termcolor (by the moment, probably will drop it in the future)\n\n\n## Installation\n\nInstall python and all dependencies and create a config.py file on\nthe current directory.\n\n## Configuration\n\nYou should create a config.py (you can base it on the config_defaul.py one\nand modify it to suit your needs:\n\n### General settings\n\nThis part will modify how the script will connect to the XMPP network\nand some general configurations:\n\n```\n# XMPP Authentication Settings\n\njid         = 'user@server.tld' # XMPP UserID and domain to post the feeds as\nresource    = 'atomtopubsub'    # You can change this if you want, it only tells XMPP what application posted the feeds\nsecret      = 'password'        # The password for the above UserID\n\n# Refresh intervals in minutes\nrefresh_time = 60   # The refresh time will be split evenly over all of your feeds\n```\n\n### Feeds configuration\n\nYou can add as many feeds as you want on the configuration like this:\n\n```\nfeeds = {\n        'FeedName1' : {\n            'url' : 'http://...',\n            'target' : 'pubsub.capulet.lit',\n            'type'  : 'pubsub' ,\n            'flags'  : [ ]\n            } ,\n        'Feedname2' : {\n            'url' : 'http://...',\n            'target' : 'romeo@capulet.lit',\n            'type'  : 'chat' ,\n            'flags'  : [ 'chat_include_body' ]\n            } ,\n        'Feedname3' : {\n            'url' : 'http://...',\n            'target' : 'balcony@chat.shakespeare.lit',\n            'type'  : 'muc' ,\n            'flags'  : [ 'chat_include_key' , 'chat_exclude_link' ]\n            }\n    }\n```\n\nEach feed has this variables:\n\n* **url** : The URL of the feed\n* **target** : Service for pubsub / jid for user / mucroom for muc\n* **type** : 'pubsub' | 'chat' | \"muc\"\n* **flags** : any of this posible flags to \"fix\" or modify the feed:\n  * **link_is_id** : some feeds don't include a valid id for entries, use\n  link instead\n  * **ignore_feed_date** : some feeds publish elements in dates older than\n  last feed date, with this option it will only use the last entry date\n  for checking new entries\n  * **chat_include_body** : on chat type targets send also the full content\n  of the entry in plain text\n  * **chat_include_key** : on chat type targets send the key before the\n  title\n  * **chat_exclude_link** : on chat type targets do not send the link after\n  the title (for twitter-like feeds)\n\n## Running\n\nWell, just run it.\n\n## Development, new features and fixes\n\nDevelopment is done in the public on gitlab, where you can download\nnew versions and request new features. If you find feeds that it cannot\nprocess (be it an bug on feed2xmpp or on the feed) please add the\nURL of the feed on the request.\n\n[feed2xmpp Gitlab page](https://gitlab.com/marevalo/feed2xmpp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fmarevalo%2Ffeed2xmpp","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fmarevalo%2Ffeed2xmpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fmarevalo%2Ffeed2xmpp/lists"}