Giter Site home page Giter Site logo

Tagged feeds about org-static-blog HOT 3 CLOSED

matthewbauer avatar matthewbauer commented on July 20, 2024
Tagged feeds

from org-static-blog.

Comments (3)

bastibe avatar bastibe commented on July 20, 2024

Thank you for your message. This feature sounds really interesting. However, I can tell you right now that I won't have time (in the near future) to implement it.

But, I can tell you how I would go about it, and maybe someone else can do it! Maybe you?

The function org-static-blog-create-rss creates RSS feeds. It is really very simple:

  • First, it iterates over all org-static-blog files, and org-export-as them one by one, while collecting the publishing dates.
  • Second, it opens the RSS file and writes the (sorted by date) list of exported entries to that file.

Pretty straight-forward.

For your application, that first loop, the one that calls org-export-as, would need to collect tags as well as dates. Then, the second part would need to write not just one master file, but one file for each tag. Note that exporting (the first loop) takes quite a long time, so you should try to avoid exporting each entry more than once.

from org-static-blog.

bastibe avatar bastibe commented on July 20, 2024

Here's an update on this: In the last few days, I implemented a simple tagging system. You can now specify a list of tags per post, by adding a #+tags: header to your org files. These tags are included in the RSS feed as <category> tags. Some RSS readers are able to filter RSS items based on these categories.

Does this solve your problem?

from org-static-blog.

matthewbauer avatar matthewbauer commented on July 20, 2024

Yes looks good! Thanks

from org-static-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.