
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
github.com/arran4/phpbb2-rss
This application converts a PHPBB2 topic list page to a RSS feed. Ideally the "View posts from last 24 hours" page.
Grab the latest binary here: https://github.com/arran4/phpbb2-rss/releases/
Install go 1.23+
Run go install
:
go install github.com/arran4/phpbb2-rss/cmd/phpbb2rss@latest
This installs to $HOME/go/bin
(typically; check with go env
).
Generate RSS Feed:
phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url 'https://forums.$HOST.org/search.php?search_id=last'
Add a cron job to run the script periodically:
sudo crontab -e
*/15 * * * * /usr/local/bin/phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml -url 'https://forums.$HOST.org/search.php?search_id=last'
Add a cron job to run the script periodically:
crontab -e
*/15 * * * * ~/go/bin/phpbb2rss -output ~/public_html/rss/phpbb2rss.xml -url 'https://forums.$HOST.org/search.php?search_id=last'
/etc/systemd/system/phpbb2rss.service
:[Unit]
Description=phpbb2 to RSS Feed Creator
[Service]
Type=oneshot
ExecStart=/usr/bin/phpbb2rss -output /var/www/localhost/htdocs/rss/phpbb2rss.xml
User=apache
Group=apache
/etc/systemd/system/everyhour@.timer
:[Unit]
Description=Monthly Timer for %i service
[Timer]
OnCalendar=*-*-* *:00:00
AccuracySec=1h
RandomizedDelaySec=1h
Persistent=true
Unit=%i.service
[Install]
WantedBy=default.target
sudo systemctl daemon-reload
sudo systemctl enable --now everyhour@phpbb2rss.timer
$HOME/.config/systemd/user/phpbb2rss.service
:[Unit]
Description=phpbb2 to RSS Feed Creator
[Service]
Type=oneshot
ExecStart=%h/go/bin/phpbb2rss -output %h/public_html/rss/phpbb2rss.xml -url 'https://forums.$HOST.org/search.php?search_id=last'
$HOME/.config/systemd/user/everyhour@.timer
:[Unit]
Description=Monthly Timer for %i service
[Timer]
OnCalendar=*-*-* *:00:00
AccuracySec=1h
RandomizedDelaySec=1h
Persistent=true
Unit=%i.service
[Install]
WantedBy=default.target
systemctl --user daemon-reload && systemctl --user enable --now everyhour@phpbb2rss.timer
Refer to documentation for setting up public_html directories
http://localhost/~$USERNAME/rss/phpbb2rss.xml
Add the following configuration to your Apache setup (e.g., /etc/httpd/conf.d/rss.conf
):
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/localhost/htdocs/rss
<Directory "/var/www/localhost/htdocs/rss">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
Refer to documentation for setting up public_html directories
Add this to your Nginx server block:
server {
listen 80;
server_name example.com;
location /rss/ {
root /var/www/localhost/htdocs;
autoindex on;
}
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.