5d1b7da728
Modified site info feed template to secure the description field against injected code. Also adjusted search service by extracting samples within the correct scope and including them in the returned site info. This improves the quality and security of the displayed information. |
||
---|---|---|
.. | ||
src/main/java/nu/marginalia/feedlot | ||
build.gradle | ||
readme.md |
Client for FeedlotTheFeedBot, the RSS/Atom feed fetcher and cache for Marginalia Search.
This service is external to the Marginalia Search codebase, as it is not a core part of the search engine and has other utilities.
Example
import java.time.Duration;
var client = new FeedlotClient("localhost", 8080,
gson,
Duration.ofMillis(100), // connect timeout
Duration.ofMillis(100)); // request timeout
CompleteableFuture<FeedItems> items = client.getFeedItems("www.marginalia.nu");