Coder Social home page Coder Social logo

folderol's People

Contributors

dlc avatar

Watchers

 avatar  avatar

folderol's Issues

Intelligent feed selection for updating

The current feeds() method simply returns a list of every feed, which is OK but not ideal, especially when there are a large number of feeds. Need to implement and intelligent method that returns a list of feeds that are likely to have been updated, based on update history of each feed and the last time it was updated.

Documentation

Create documentation:

  • Configuration, including multiple sites in a single YAML file
  • Overview of Template Toolkit
  • Detailed description of all available template parameters

Static files

Copy static files (configurably) from the input directory, similar to Planet's bill_of_materials

Atom feed does not have date information in it

Example:

<entry>
<title>Sign Failure</title>
<link rel="alternate" href="http://feedproxy.google.com/~r/shipmentoffail/~3/RMx9D5q_DiQ/" />
<id></id>
<updated></updated>
<issued></issued>

Handle unparsable files correctly

Right now, the parser blindly continues if the feed it's parsing is not valid XML, which causes the next step to explode. ("Can't call method foo on an undefined value")

Expand shortened URLs and remote urchin parameters

Add a field to the db for expanded_link, which will contain the followed version of the link for an entry. When expanding a link, remove utm_ parameters.

Turn this on and off by a config parmeter, defaulting to off.

Make template options accept directories and variables in targets

The following should work as expected:

template_map:
    foo.tt2: foo/index.html

Also:

template_map:
    daily.tt2: $YEAR/$MONTH/$DAY/index.html
    tags.tt2: $TAGS/index.html

Anything proceeded by $ will need to be expanded at run time (which allows forward and backward references to variables), and will need to be array-away; a variable defined as:

tags:
    - foo
    - bar

Will need to be automatically iterated over.

This will also require some predefined variables, like $YEAR, $MONTH, and $DAY.

DB management tools

Right now, there is no way to manage items in the database, other than direct manipulation of the reader.db file. Need a tool to manage the database, for example to purge older entries, remove feeds entirely (even if a feed is no longer being fetched, items remain in the db and so show up in the generated files), and so on.

Example Templates

Include several example templates, that generate common output types, including OPML and an Atom feed.

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.