Coder Social home page Coder Social logo

listparser's Issues

Expose both `feed.title` and `feed.text`

listparser only exposes feed.title. It will be the text attribute of an outline, or, if unavailable, the title attribute.

In practice, however, some software doesn't use the ``text``
attribute at all. Therefore, ``feeds[i].title`` is filled from the
``text`` attribute or, if that isn't available, the ``title``
attribute. For example:

However, OPML 2.0 marks the text attribute as mandatory.

Every outline element must have at least a text attribute, which is what is displayed when an `outliner`_ opens the OPML file.

Required attributes: type, text, xmlUrl.

As a result, if an RSS reader adheres OPML 2.0, the exported OPML may have both tilte and text even if there is no user-defined feed title.

I propose that listparser exposes feed.title (keep the current behavior), feed.title_orig, and feed.text, so that the above case can be identified by determining if feed.title_orig == feed.text.

Add option to return htmlUrls?

I've just found list parser and feel free to ignore this feature request!

But I hoped to use it to parse OPML and get the htmlUrl URLs from each item. But I think I'm right in saying that if an item has xmlUrl that will always be returned in feeds, and any htmlUrl ignored entirely?

Is there a timetable for a new release?

Hi there.

The release history of listparser has been radio-silent for 7 years.

I am the author of https://github.com/Rongronggg9/RSS-to-Telegram-Bot. My project, published to PyPI using the package name rsstt, depends on listparser. I really love the current unreleased version and would like to upgrade to it. However, packages published to PyPI are not allowed to depend on packages outside PyPI. And I would neither like to publish my own listparser package nor like to bundle it inside my package, unless I have to.

That might be a somewhat rude question, but could I ask that is there a timetable for a new release?

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.