MarginaliaSearch/code/features-search/feedlot-client
Viktor Lofgren 32fe864a33 (build) Java 22 and its consequences has been a disaster for Marginalia Search
Roll back to JDK 21 for now, and make Java version configurable in the root build.gradle

The project has run into no less than three distinct show-stopping bugs in JDK22, across multiple vendors, and gradle still doesn't fully support it, meaning you need multiple JDK versions installed.
2024-04-24 14:44:39 +02:00
..
java/nu/marginalia/feedlot (service/grpc) Reduce thread count 2024-02-27 21:22:21 +01:00
build.gradle (build) Java 22 and its consequences has been a disaster for Marginalia Search 2024-04-24 14:44:39 +02:00
readme.md (search) Add RSS Feeds to site info 2023-12-26 16:21:40 +01:00

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");