- generates an atom post*
- automatic and manual mode
- swappable
content.htmlfor easier post making - template file so you can easily create one of your own
*you still need to copy and paste it to your atom file
- be running linux
- be running macos (untested)
- be running windows with bash support (untested)
- customize
configs/auto.conf - place your text post content into
content.html - configure your
configs/atom.tpl - run
atom.shand select option1 - copy the contents of
output/out.txtto your.atomfile
- make your
configs/content.html - configure your
configs/atom.tpl - run
atom.shand select option2 - go through the setup
- copy the contents of
output/out.txtto your.atomfile
i decided to use a .html since it still allowed me to see if the syntax was correct. please still format it to xhtml standarts, or else the feed readers will freak out. keep in mind the syntax the readers accept, as well
this is your atom template! configure to your heart's content. there's a single element you will need to customize, which is the <id> tag.
i have it set up as this string:
tag:example.com,${IDDATE}:/blog-${ID}
which, with the data included on configs/auto.conf, would look like this:
tag:example.com,2000-01-01:/blog-test
my template is the following:
- always start with
tag: - after tag, goes the site's url
- after the first
/, goes a,and today's date inyyyy-mm-ddformat, followed by a: - page name, in the example above
/blog, goes after the date - then
-and the post id
contributions are greatly appreciated since this might work on your end, especially if you're on macos or windows
distributed under the MIT license. see LICENSE for more information.
