package erssical
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Operations on channels and queries.
val get_source_channels : Log.t -> Types.query -> Types.channel list Lwt.t
Return the list of channels from the queries, fetching channels from URLs if needed.
val get_target_channel : Log.t -> Types.query -> Types.channel option Lwt.t
Same as get_source_channels
but return the optional target of the query.
val merge_channels :
?target:('a, 'b) Rss.channel_t ->
('a, 'b) Rss.channel_t list ->
('a, 'b) Rss.channel_t
merge_channels ?target sources
merges the given source channels, including the optional target
channel.
If two items have the same item_link
, then only the first one is kept. The item_source
field of each item is set to the original channel URL, if the source channel was given with an URL in the query. Return a new channel, using information from the "base" channel. This "base" channel is the given target, or else the first channel of the list.
val execute :
Log.t ->
?rtype:Types.query_return_type ->
Types.query ->
Types.query_result Lwt.t
Execute a query.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>