Coder Social home page Coder Social logo

Comments (3)

freiheit avatar freiheit commented on June 15, 2024

The pubDate on the items in that feed are empty, like <pubDate></pubDate>.

I think the way the code is written, a defined but empty pubDate would cause this error. I'm pushing a fix to this in a second. Please do another git pull and try it out.

from discord_feedbot.

Chiharuuu avatar Chiharuuu commented on June 15, 2024

This works and posts the links correctly, however due to that empty pubDate it grabs posts a lot older than the max_age if using the websta.me feed. It'll be fine once it's already grabbed the old ones, though.

I've now set it up to read the instagram feed from my site (http://taedork.tk/instarss.php?username=user) and it works fine.

from discord_feedbot.

freiheit avatar freiheit commented on June 15, 2024

Glad to hear this fixed that issue...

Since the individual items in that feed don't have a date, there's no way for max_age to actually work on that feed. (I consider it a bug in that feed)

It should be possible to add a feature to limit how many new items it will post when it processes a feed. I've put that enhancement in as Issue #21. Not sure when I'll work on that, but you can follow that issue to get notified when I add that feature. I'd be happy to accept a pull request implementing that too, of course.

from discord_feedbot.

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.