GithubHelp home page GithubHelp logo

jvinniec / feedgen Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 48 KB

A feed generator. Currently supports generating RSS feeds from Google, Bing, and Yahoo news.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
hacktoberfest

feedgen's People

Contributors

jvinniec avatar

Watchers

 avatar  avatar

Forkers

eloisetwaine

feedgen's Issues

Add type hints to function variables

Improve usability of the tool by adding type hints to the function variables. For example, the following function:

def myfunc(date, text):
   result = f"datetime: {date}\nstring: {text}"
   return result

would be come:

def myfunc(date : datetime.datetime, text : str) -> str:
   result = f"datetime: {date}\nstring: {text}"
   return result

This allows users the ability to know what type is expected for each variable.

Add RSS validation to testing script

Short description of the problem/feature request

Adding RSS validator to the testing script so that the code is also tested.

Expected behavior

The code that generates the RSS feed in the testing script should also execute a test of the RSS validator.

Affected systems (if relevant)

All systems

GoogleNews class links are bad

Google news class has a bug where the generated links in the RSS feed don't appear to work properly.

There are two problems here:

  1. The results only point back to the top search results (i.e. the links aren't valid)
  2. The search doesn't appear to return relevant results based on the search terms and sites.

Add example feed viewer

Add some code that demonstrates how to parse the resulting RSS and JSON feeds. This yields the full end-to-end demonstration of the library's application.

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.