~cnx/fead

9ff89acf756b932cf380018445371dda688ee5ea — Nguyễn Gia Phong 4 months ago 5187250
Nitpick
3 files changed, 4 insertions(+), 4 deletions(-)

M README.md
M pyproject.toml
M src/fead.py
M README.md => README.md +2 -2
@@ 47,7 47,7 @@ Any use of -f before -F is ignored.
## Template

The template is used by Python [`str.format`][format] to generate each advert.
It can contain the following fields, delimited by braces ('{' and '}').
It can contain the following fields, delimited by braces (`{` and `}`).

* `source_title`: title of the web feed
* `source_link`: URL to the feed's website


@@ 61,7 61,7 @@ which supports at least C89 format codes, e.g. `{time:%Y-%m-%d}`.

## Examples

Given the these URLs in a feeds file:
Given the these URLs in a `feeds` file:

    https://adol.pw/index.xml
    https://cnx.gdn/feed.xml

M pyproject.toml => pyproject.toml +2 -1
@@ 4,6 4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "fead"
description = "Advert generator from web feeds"
readme = "README.md"
requires-python = ">=3.6"
license = { file = "COPYING" }


@@ 18,6 19,6 @@ classifiers = [
    "Operating System :: OS Independent",
    "Programming Language :: Python",
    "Topic :: Utilities" ]
dynamic = [ "version", "description" ]
dynamic = [ "version" ]
urls = { git = "https://git.sr.ht/~cnx/fead" }
scripts = { fead = "fead:main" }

M src/fead.py => src/fead.py +0 -1
@@ 15,7 15,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

__doc__ = 'Advert generator from web feeds'
__version__ = '0.1.2'

from argparse import ArgumentParser, FileType, HelpFormatter