You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Cat /dev/Nulo e9054f8541
Allow setting source URL in file: to correctly resolve paths
1 month ago
LICENSES Improve licensing details 1 year ago
.gitignore Initial commit 4 years ago
README.md Remove link to pre-compiled binary 3 years ago
go.mod Rewrote flag parsing to use flag-like interface 4 years ago
go.sum Rewrote flag parsing to use flag-like interface 4 years ago
in.html Improve licensing details 1 year ago
openring.go Allow setting source URL in file: to correctly resolve paths 1 month ago
release release tool 1 month ago

README.md

openring

This is a tool for generating a webring from RSS feeds, so you can link to other blogs you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is:

openring \
  -s https://drewdevault.com/feed.xml \
  -s https://emersion.fr/blog/rss.xml \
  -s https://danluu.com/atom.xml \
  < in.html \
  > out.html

This will read the template at in.html (an example is provided, but feel free to adjust it to suit your needs), fetch the latest 3 articles from among your sources, and pass them to the template and write the output to out.html. Then you can include this file with your static site generator's normal file include mechanism.

Contributing

Want to help? Send patches to the mailing list: ~sircmpwn/public-inbox@lists.sr.ht. Thanks!


Screenshot of a generated web ring