Giter Site home page Giter Site logo

Feed enclosures about amusewiki HOT 6 CLOSED

melmothx avatar melmothx commented on August 30, 2024
Feed enclosures

from amusewiki.

Comments (6)

rojenzaman avatar rojenzaman commented on August 30, 2024 1

from amusewiki.

rojenzaman avatar rojenzaman commented on August 30, 2024

@melmothx There is some logic to hammer out. The epub was chosen because it's always generated. That's not the case with PDF (we have multiple ones). Even an attachment could be a candidate. So I think the request needs to be elaborated a bit. There could be a setting to choose between: "stock epub" (default), "highest priority generated file", "first attachment or highest priority generated file" something like that.

Sounds good, will this choice be in the site configuration? Also will this support OPDS as well?

from amusewiki.

melmothx avatar melmothx commented on August 30, 2024

@rojenzaman please give a try to this branch, thanks!

from amusewiki.

melmothx avatar melmothx commented on August 30, 2024

Branch is 405-feed-enclosures

from amusewiki.

rojenzaman avatar rojenzaman commented on August 30, 2024

Thank you, works like a charm!

One more thing: After changing the "Feed enclosure method" option, the rss file was not affected until I deleted it locally (site_files/rss.xml). Can you provide a reindex function to the rss.xml file or make it more dynamic? It will be useful for users who do not have access to the local repo. (After adding a new post it gets fixed, but I have considered the scenario of not adding a post.)

from amusewiki.

melmothx avatar melmothx commented on August 30, 2024

That's done. Any other comment or we're good here?

from amusewiki.

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.