• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

blind-coder/rsstootalizer: Service to post RSS feeds to Mastodon

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

blind-coder/rsstootalizer

开源软件地址(OpenSource Url):

https://github.com/blind-coder/rsstootalizer

开源编程语言(OpenSource Language):

Perl 63.0%

开源软件介绍(OpenSource Introduction):

RSSTootalizer

Service to post RSS feeds to Mastodon

Installation

First, make sure dependent programs and perl modules are installed:

# apt-get install libhtml-template-perl libjson-perl libdbd-mysql libdbi-perl libxml-feed-perl \
                  libuuid-tiny-perl libdbd-mysql-perl curl

Then clone into your webservers /cgi-bin/ directory and make a non-cgi alias for the /static directory. Example configuration for Apache:

                Alias /cgi-bin/rsstootalizer/static /usr/lib/cgi-bin/rsstootalizer/static
                ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
                <Directory "/usr/lib/cgi-bin">
                        AllowOverride None
                        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                        Require all granted
                </Directory>

Finally, copy the file rsstootalizer.conf.example.json to rsstootalizer.conf.json and adapt to your setup and run ./update_db.pl to create your tables. When that is working, make sure to regularly call cronjob.pl to actually pull and process the feeds.

Now you can log in to your very own instance of RSSTootalizer!

Usage

After logging in, you need to Add a new feed. Enter its complete URL and click on "Add Feed". All current entries will be pulled and marked as posted, that means the current entries in the feed are not posted.

Click on "Edit" to edit the feed settings. You will need to add at least one "Whitelist" filter or no entries will be ever be published. Also, you can change the format of the Toot. It would be nice if you kept the #RSSTootalizer tag, but it's by no means required. Then click "Save filters" to save them.

At the top of the Edit page, you see a button "Show raw entries". All current entries (at the time the page loaded) will be shown and color-coded. If they are red, they would not get posted with the current filterset, if they are green, they would get posted. Use this functionality to validate your filters. These codes are not live updated, you need to press "Save filters" in between changes.

After this is done, go back to your Dashboard and click on Enable to enable processing the feed. Then post new stuff to your RSS feed and watch the update!

Pulling Twitter feeds

Personally, I use https://twitrss.me/ to pull my twitter feed into RSSTootalizer.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap