pote / planet.rb

A feed aggregator implementation intended to be used with Octopress
MIT License
66 stars 19 forks source link

Support for subfolder #22

Closed teiko closed 10 years ago

teiko commented 12 years ago

Would be nice to make it possible to have my own blog and a link to: $OWNBLOG/planet/ and generated content went to this place, instead of beeing in posts in my blog. So planet.yml needs: planet: posts_directory: source/_planet/ templates_directory: source/_layouts/planet/ public_directory: public/planet/

pote commented 12 years ago

Mmm, it is certainly possible, but I would have to assume that you are using octopress, that rules out jekyll compatibility for that feature, I would also need to insert code into the octopress templates, which I have been hesitant to do so far, and work with categories...

I certainly can do this, I have to see how much intrusion it has on the octopress core, since I like to keep an unobstrusive approach. But it's possible, modifying the source/_includes/custom/navigation.html part of octopress to add a new page, change the source/_layouts/header.md of planet to include a 'planet' category, and use that new page to include only posts with the planet category.

I'll leave this here to work on at some point, but we have other stuff too, if you want to submit a proof of concept of this through a pull request that would be amazing, but I thank you for the feedback anyway!! :) :) :)