GriffinMB / keyserve

Turn your Keybase public folder into a website.
8 stars 2 forks source link

Feature request: RSS feeds #1

Open sirMackk opened 7 years ago

sirMackk commented 7 years ago

A blog with an RSS feed is much easier to keep track of.

GriffinMB commented 7 years ago

Hmm. It's a fairly dumb server at the moment. Maybe I could make it so you could specify a directory (or directories), and anything in that directory will be automatically added to a simple RSS feed?

I should probably go ahead and add a config file to the process since options are starting to grow.

sirMackk commented 7 years ago

Config file sounds good. What do you think about generating a feed from the files in the blog directory? I could probably make a PR for this :D

On Apr 3, 2017 12:52, "Griffin Byatt" notifications@github.com wrote:

Hmm. It's a fairly dumb server at the moment? Maybe I could make it so you could specify a directory (or directories), and anything in that directory will be automatically added to a dumb RSS feed?

I should probably go ahead and add a config file to the process since options are starting to grow.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GriffinMB/keyserve/issues/1#issuecomment-291203511, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFva-oPi7NwwakhgCyPUO9Z1dPKFb5lks5rsSPigaJpZM4Mxwh4 .

GriffinMB commented 7 years ago

The only problem is that it's intended to be pretty free-form. All of my posts are in a "posts" directory, and there's some nonsense in the root "blog" directory -- like the reset.txt file, the index page, etc.

We could do it so that by default it generates a feed from .md files in the blog directory? That way it ignores all the subdirectories and other files. Then add a flag for specifying another directory name. Would <3 a PR for it, though I might not be able to merge until tonight!

sirMackk commented 7 years ago

We could do it so that by default it generates a feed from .md files in the blog directory?

Yeah, that sounds great - simple and solves the issue right away. I'll get on it then.

Would <3 a PR for it, though I might not be able to merge until tonight!

Tonight?! I'll need a few days to set up golang and get some interviews out of the way :P

GriffinMB commented 7 years ago

Lol. Sounds good. That'll give me time to get a config file working :)