<commit_before># rss2text

Takes a feed and optional format string, and prints out useful information

# USAGE

		./rss2text.pl URL
		./rss2text.pl URL "__title__: __link__"

# DESCRIPTION

rss2text takes a feed and an optional format string, grabs the feed and loops
over the returned entries, printing what was requested in the format string.
Its like printf for RSS feeds and is particularly useful for one-liners and
other places you need a textual interface.

rss2text assumes a format string of "__link__", which will loop over entries
and print the URL for each entry.

By default, rss2text caches hits to the URL under /var/cache/rss2text. If a
cached file is available, it will read it and only loop over entries newer
than the last time it ran.

The format string can takes any child elements that belong in an entry. Typical
entries include:

 * title
 * description
 * published
 * link
 * author

You can request anything you'd like if you know that a feed will have the item
you're requesting.

# DEPENDENCIES<commit_msg>fix spelling errors<commit_after># rss2text

Takes a feed and optional format string, and prints for every new entry.

# USAGE

		./rss2text.pl URL
		./rss2text.pl URL "__title__: __link__"

# DESCRIPTION

rss2text takes a feed and an optional format string, grabs the feed and loops
over the returned entries, printing what was requested in the format string.
It's like printf for RSS feeds and is particularly useful for one-liners and
other places you need a textual interface.

rss2text assumes a format string of "__link__", which will loop over entries
and print the URL for each entry.

By default, rss2text caches hits to the URL under /tmp/rss2text. If a
cached file is available, it will read it and only loop over entries newer
than the last time it ran. This makes rss2text especially useful for cronjobs.

The format string can takes any child elements that belong in an entry. Typical
entries include:

 * title
 * description
 * published
 * link
 * author

You can request anything you'd like if you know that a feed will have the item
you're requesting.

# DEPENDENCIES
{'fraction_non_alphanumeric': 0.04148986327204149, 'fraction_numerical': 0.007072135785007072, 'mean_word_length': 4.076555023923445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1231379', 'n_tokens_mistral': 593, 'n_tokens_neox': 565, 'n_words': 327}