Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan committed Jan 26, 2025
1 parent cd20201 commit 2b68f27
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bridge-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Please describe what you expect from the bridge. Whenever possible provide sampl
- _Default limit_: 5
- [ ] Load full articles
- _Cache articles_ (articles are stored in a local cache on first request): yes
- _Cache timeout_ (max = 24 hours): 24 hours
- _Cache timeout_ : 24 hours
- [X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage)
- _Timeout_ (default = 5 minutes, max = 24 hours): 5 minutes
- _Timeout_ (default = 5 minutes): 5 minutes

<!--Be aware that some options might not be available for your specific request due to technical limitations!-->

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ See [CONTRIBUTORS.md](CONTRIBUTORS.md)

RSS-Bridge uses caching to prevent services from banning your server for repeatedly updating feeds.
The specific cache duration can be different between bridges.
Cached files are deleted automatically after 24 hours.

RSS-Bridge allows you to take full control over which bridges are displayed to the user.
That way you can host your own RSS-Bridge service with your favorite collection of bridges!
Expand Down
2 changes: 1 addition & 1 deletion config.default.ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
; "" = Disabled (default)
email = ""

; Advertise a contact Telegram url e.g. "https://t.me/elegantobjects"
; Advertise a contact URL (can be any URL!) e.g. "https://t.me/elegantobjects"
telegram = ""

; Show Donation information for bridges if available.
Expand Down
4 changes: 1 addition & 3 deletions lib/contents.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,9 @@ function getSimpleHTMLDOM(
}

/**
* Gets contents from the Internet as simplhtmldom object. Contents are cached
* Fetch contents from the Internet as simplhtmldom object. Contents are cached
* and re-used for subsequent calls until the cache duration elapsed.
*
* _Notice_: Cached contents are forcefully removed after 24 hours (86400 seconds).
*
* @param string $url The URL.
* @param int $ttl Cache duration in seconds.
* @param array $header (optional) A list of cURL header.
Expand Down
2 changes: 1 addition & 1 deletion templates/frontpage.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<?php if ($admin_telegram): ?>
<div>
Telegram: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a>
Url: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a>
</div>
<?php endif; ?>

Expand Down

0 comments on commit 2b68f27

Please sign in to comment.