modulepackage
0.0.0-20240310092626-eac7927a621b
Repository: https://github.com/jlhg/feedgen.git
Documentation: pkg.go.dev
# README
feedgen
A middleware to generate Atom feeds from websites. https://feedgen.org
Supported Sites and Examples
hackernews
: Hacker Newsptt
: 批踢踢實業坊gamer_forum
: 巴哈姆特-哈拉區udn_game
: 遊戲角落
Getting Started
Start the web by docker-compose:
docker-compose up -d
It's on http://localhost:8080
.
License
feedgen is released under the MIT license.
# Functions
No description provided by the author
SortFeedItemsLatestFirst sorts feed items by Created in descending order.
# Structs
ItemFetchError shows that the item can't be fetched from the source URL.
PageContentFetchError shows that the page content can't be fetched from the source URL.
PageContentNotFoundError shows that the page content is not available from the source URL.
ParameterNotFoundError shows that the parameter Parameter is required.
ParameterValueInvalidError shows that the query parameter Parameter's value is not available yet.
# Interfaces
Parser is a interface that defines a method to generates feed from query parameters.
# Type aliases
QueryValues is an alias of url.Values.