mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
Update documentation to include correct file paths
This commit is contained in:
parent
dd361929db
commit
952b67a5cb
@ -22,7 +22,7 @@ Install with composer by running `composer require silverstripe/versionfeed` in
|
||||
|
||||
For usage instructions see [user manual](docs/en/userguide/index.md).
|
||||
|
||||
### Translations
|
||||
## Translations
|
||||
|
||||
Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.
|
||||
|
||||
|
@ -23,8 +23,10 @@ for the current page. You can override this behaviour by defining the `getDefaul
|
||||
and returning the URL of your desired RSS feed:
|
||||
|
||||
```php
|
||||
class MyPage extends Page {
|
||||
function getDefaultRSSLink() {
|
||||
class MyPage extends Page
|
||||
{
|
||||
public function getDefaultRSSLink()
|
||||
{
|
||||
return $this->Link('myrssfeed');
|
||||
}
|
||||
}
|
||||
@ -34,7 +36,7 @@ This can be used in templates as `$DefaultRSSLink`.
|
||||
|
||||
### Rate limiting and caching
|
||||
|
||||
By default all content is filtered based on the rules specified in `versionfeed/_config/versionfeed.yml`.
|
||||
By default all content is filtered based on the rules specified in `vendor/silverstripe/versionfeed/_config/versionfeed.yml`.
|
||||
Two filters are applied on top of one another:
|
||||
|
||||
* `SilverStripe\VersionFeed\Filters\CachedContentFilter` provides caching of versions based on an identifier built up of the record ID and the
|
||||
|
Loading…
Reference in New Issue
Block a user