Lower-level parsing functions for when you don't want to use
the provided Twtxt
and Tweet
objects.
mention_to_nickname | Takes a mention in the form of @<nick https://example.com/twtxt.txt>
and reduces it to just the nickname.
|
mentions | Parse the mentions out of a twtxt.txt file. Returns a
std::collections::BTreeMap<String, String> with the
timestamp of the tweet as the key and the mention as
the associated value.
|
metadata | This parses out the specified information in the == Metadata == section of
a given twtxt.txt file.
|
statuses | Pull the individual tweets from a remote twtxt.txt file into
a std::collections::BTreeMap<String, String> , The timestamp
is the key while the status is the value.
|
tags | Parses out #tags from each tweet, returning a std::collections::BTreeMap<String, String>
with the timestamp as the key, and the tag as the value.
|